Forgot password?
 Register now

Welcome to use this form to feedback your problems with Ruijie Community

The category of your feedback

Your Feedback

Your Email address (optional):

How to achieve failover after configuring PBR on Ruijie EG? Reply

GTAC-Sophia

Level 5

Ruijie Staff

How to achieve failover after configuring PBR on Ruijie EG?
179 0 2024-10-25 11:09:40
Original
1. Requirements:
Vlan 10 Access the Internet through wan0 (G0/7).When wan0 fails, switch to wan1
Vlan 50 Access the Internet through wan1  (G0/6). When wan1 fails, switch to wan02
2. Topology:


3. Configuration steps:

3.1 You need configure PBR on EG first. Here is the guide for you:
How to configure PBR on ruijie EG? - Wireless - Ruijie Community
3.2 Delete the existing pbr whichdeliver from web
NBR6215#conf
NBR6215(config)#route-map Gi0/0.10 permit 6
NBR6215(config-route-map)#no set ip next-hop192.168.20.1

NBR6215(config)#route-map Gi0/0.50 permit 50
NBR6215(config-route-map)#no set ip next-hop155.137.66.105

3.3 Config rns+track
NBR6215(config)#ip rns 6
NBR6215(config-ip-rns)#icmp-echo 8.8.8.8source-interface GigabitEthernet 0/6 frequency 5001
NBR6215(config)#ip rns 7
NBR6215(config-ip-rns)#icmp-echo 8.8.8.8source-interface GigabitEthernet 0/7 frequency 5001
NBR6215(config-ip-rns)#ip rns schedule 6 start-timenow life forever
NBR6215(config-ip-rns)#ip rns schedule 7 start-timenow life forever
NBR6215(config-ip-rns)#ip rnsreaction-configuration 6 react allfail action-type Track
NBR6215(config-ip-rns)#ip rnsreaction-configuration 7 react allfail action-type Track
NBR6215(config-ip-rns)#track 6 rns 6
NBR6215(config-ip-rns)#track 7 rns 7
NBR6215(config-ip-rns)#exit
NBR6215(config)#
3.4 Config acl match vlan 10 or vlan50 ip range
NBR6215(config)#access-list 11 permit 192.168.10.00.0.0.255
NBR6215(config)#access-list 50 permit 192.168.50.00.0.0.255
3.5 Config pbr policy
NBR6215(config)#route-map Gi0/0.10 permit 6
NBR6215(config-route-map)#match ip address 11
NBR6215(config-route-map)#set ip next-hop verify-availability192.168.20.1 track 7
NBR6215(config-route-map)#set ip next-hopverify-availability 155.137.66.105 track 6
NBR6215(config)#route-map Gi0/0.50 permit 50
NBR6215(config-route-map)#match ip address 50
NBR6215(config-route-map)#set ip next-hopverify-availability 155.137.66.105 track 6
NBR6215(config-route-map)#set ip next-hopverify-availability 192.168.20.1 track 7
3.6 Save the configuration:
NBR6215(config-route-map)#end
NBR6215#wr
RG-EG2100-P v2

Configuration Security and Firewall
There are no replies.
Related Posts
Product Model

Share this topic to

Cancel

This site contains user submitted content, comments and opinions and is for informational purposes only. Ruijie may provide or recommend responses as a possible solution based on the information provided; every potential issue may involve several factors not detailed in the conversations captured in an electronic forum and Ruijie can therefore provide no guarantee as to the efficacy of any proposed solutions on the community forums. Ruijie disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Ruijie Community Terms of Use.

More ways to get help: Visit Support Videos, call us via Service Hotline, Facebook or Live Chat.

©2000-2023 Ruijie Networks Co,Ltd