Ruijie Community

Title: When PBR Is Configured for a Device Using the RGOS 11.X Software Platform? [Print this page]

Author: admin    Time: 2017-5-3 16:06
Title: When PBR Is Configured for a Device Using the RGOS 11.X Software Platform?
When PBR Is Configured for a Device Using the RGOS 11.X Software Platform, Can the Device Be Correlated to Monitor the Next-Hop Reachability Based on the PBR and Perform Operations Based on the Up/Down State of Interfaces?


Author: admin    Time: 2017-5-3 16:09
Correlation with DLDP
PBR part:
Ruijie(config)#ip access-list standard network_1
Ruijie(config-std-nacl)# 10 permit 200.24.16.0 0.0.0.255
Ruijie(config)#ip access-list standard network_2
Ruijie(config-std-nacl)# 10 permit 200.24.17.0 0.0.0.255
Ruijie(config)#route-map PBR permit 10
Ruijie(config-route-map)# match ip address network_1
Ruijie(config-route-map)# set ip next-hop 200.24.18.1
Ruijie(config-route-map)# set ip next-hop 200.24.19.1
Ruijie(config-route-map)#!
Ruijie(config-route-map)#route-map PBR permit 20
Ruijie(config-route-map)# match ip address network_2
Ruijie(config-route-map)# set ip next-hop 200.24.19.1
Ruijie(config-route-map)# set ip next-hop 200.24.18.1
Ruijie(config)#ip policy redundance //Change the mode to redundancy backup mode.
Ruijie(config)#int g0/3
Ruijie(config-if-GigabitEthernet 0/3)#ip policy route-map PBR //Interface calling

DLDP part:
Ruijie(config)#int g0/1
Ruijie(config-if-GigabitEthernet 0/1)#dldp 200.24.18.1
Ruijie(config)#int g0/2
Ruijie(config-if-GigabitEthernet 0/1)#dldp 200.24.19.1





Welcome to Ruijie Community (https://community.ruijienetworks.com/) Powered by Discuz! X3.2