How do I change the priority of a RIP route

28

Because RIP packets cannot carry the preference field, the router priority is valid only for local RIP routes.

To change the priority of a RIP route, run the preference { preference | route-policy route-policy-name }* command in the RIP view of the receiver. You can also apply a routing policy to set a priority for a specific route.

Other related questions:
Configuring the RIP priority on the firewall
The method for modifying the RIP priority on the USG2000&5000&6000 is as follows: -Modifying the RIP priority: [USG]rip [USG-rip-1]preference 80

How to configure RIP on S series switches
For details on how to configure basic RIP functions on S series switches, click Example for Configuring Basic RIP Functions

Modifying the routing protocol priority on the firewall
The method for modifying the routing protocol priority on the USG2000&5000&6000 is as follows: -Modifying the static routing protocol priority: [USG]ip route-static 192.168.0.0 16 10.1.1.1 preference 20 -Modifying the RIP priority: [USG]rip [USG-rip-1]preference 80 -Modifying the OSPF priority: [USG]ospf [USG-ospf-1]preference 30 -Modifying the IS-IS priority: [USG]isis [USG-isis-1]preference 90 -Modifying the BGP priority: [USG]bgp 25212 [USG-bgp]ipv4-family unicast [USG-bgp-af-ipv4]preference 120

How can I change the stack priority on CE switches
During master switch election in a stack, the member switch with the highest stack priority becomes the master switch.
After setting a stack priority, restart the switch for the configuration to take effect.
Change the stack priority of a CE12800 switch.
- Before CSS is enabled
system-view
[~HUAWEI] stack
[~HUAWEI-stack] stack priority 150
[*HUAWEI-stack] commit
- After CSS is enabled
system-view
[~HUAWEI] stack
[~HUAWEI-stack] stack member 1 priority 150
[*HUAWEI-stack] commit

Change the stack priority of CE8800&CE7800&CE6800&CE5800 switches.
system-view
[~HUAWEI] stack
[~HUAWEI-stack] stack member 1 priority 150
[*HUAWEI-stack] commit

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top