User Manual - Configuration Guide (Volume 3)

Chapter 2

Versatile Routing Platform

Configuration of HSRP

corresponding to this IP address; and as Router A is active now, it will respond to this ARP request by informing the host that this MAC address is 00-E0-FC-00-5F-01.

In this way all the messages sent by the host to the gateway will use this MAC address as a destination MAC address. Router A will receive these messages, forward them, or process them in some other ways.

At the same time, Router A will send out Hello messages periodically to keep its state informed to Router B. If Router B doesn’t receive the messages sent by Router A in the set time, it will conclude that Router A isn’t usable anymore. Thus Router B changes to the active state and receives all the messages sent by the local host to virtual router gateways (i.e., to IP address 202.38.160.10 or MAC address 00-E0-FC-00-5F-01), forwards them, processes them in some other ways. And the local host can still use gateway as usual (i.e., use 202.38.160.10 as its own gateway IP address).

2.2 Configuring HSRP

2.2.1 Configuration Task List

HSRP protocol is designed to support multicast or broadcast LAN such as Ethernet. Therefore HSRP configuration is performed in the configuration mode of the Ethernet interface.

The HSRP configuration tasks of VRP include:

zStart HSRP function

zSet router’s priority in HSRP Hot Standby group

zSet Router’s preemption working mode in HSRP Hot Standby group

zSet HSRP authorization word

zSet HSRP timer

zSet to monitor the specified interface.

zSet to use the actual interface MAC address.

zModify virtual MAC address

2.2.2Starting HSRP Function

Start Ethernet interface’s HSRP function in the router to add a Hot Standby group to a specified LAN segment. It is necessary to specify a Hot Standby group number and virtual IP address.

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

Table LC-2-1Start HSRP function

Operation

Command

 

 

Start HSRP function

Standby [group-number]ip [virtual-ip-address]

Prohibit HSRP function

No standby [group-number]ip [virtual-ip-address]

Group-number is the number of the Standby group, with a value range of 0~255 and a default value of 0.virtual-ip-address is the virtual IP address. If the virtual IP address is not specified, the router will not participate in the backup process until it receives the virtual IP address from among the messages sent by an active router in the Hot Standby group. Note that the virtual-ip-address should be at the same network segment as the interface’s IP address.

2-2

Page 59
Image 59
Huawei v200r001 user manual Configuring Hsrp, Starting Hsrp Function