User Manual - Configuration Guide (Volume 3)

Chapter 2

Versatile Routing Platform

Configuration of HSRP

Note:

1)Please note that if some Ethernet interface configured with HSRP has its IP address changed, its HSRP will become disabled.

2)If a route is configured with several HSRP Hot Standby Group, then there can be at most one Hot Standby Group without specified virtual IP address.

2.2.3Setting Router’s Priority in HSRP Hot Standby Group

HSRP determines the state of every router in Hot Standby group according to their priority parameters, i.e., a router with both the highest priority and a virtual IP address will be an active router, leaving others in the standby or listen state.

Please use the following command in the Ethernet interface configuration mode.

Table LC-2-2Set router’s priority in HSRP Hot Standby group

Operation

Command

 

 

Set router’s priority in HSRP Hot Standby group.

standby [group-number]priority [priority-value]

Priority-value is its priority, the larger the value, the higher the priority, and it has a value range of 0~255 and a default value of 100.

2.2.4 Setting Router’s Preemption Mode in HSRP Standby Group

Once a Router in the Standby group becomes an active Router, as long as the active Router does not break down, other Routers will not become active even if they have a higher priority level later on, except that they are set in a preemption working mode. If a router is set in a preemption mode in an HSRP hot standby group, once it finds out that it has a higher priority than the present active router, it will ‘preempt ’ to become an active router. The previous active router will therefore exit its active state to become a ‘standby’ or ‘listen’ router.

Please use the following commands in Ethernet interface configuration mode.

Table LC-2-3Set router’s priority in HSRP hot standby group

Operation

Command

 

 

Set router’s preemption working mode in HSRP hot standby group.

standby [group-number]preempt

Forbid router’s preemption working mode in HSRP hot standby group.

no standby [group-number]preempt

By default it means no router is set in a preemption mode in any HSRP hot standby group.

2.2.5 Setting HSRP Authorization Word

HSRP authorization word is used to check other routers’ validity in the same hot standby group.

Please use the following commands in the Ethernet interface configuration mode.

2-3

Page 60
Image 60
Huawei v200r001 user manual Setting Router’s Priority in Hsrp Hot Standby Group, Setting Hsrp Authorization Word