User Manual - Configuration Guide (Volume 3)
Versatile Routing Platform Chapter 2
Configuration of HSRP
2-2
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, f orward them, or
process them in some other ways.
At the same time, Router A will send out Hello messages peri odica lly to keep its state
informed to Router B. If Router B doesn’t receive the messages sent b y 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 vir tual 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 m ode of the Ethernet
interface.
The HSRP configuration tasks of VRP include:
z Start HSRP function
z Set router’s priority in HSRP Hot Standby group
z Set Router’s preemption working mode in HSRP Hot Standby group
z Set HSRP authorization word
z Set HSRP timer
z Set to monitor the specified interface.
z Set to use the actual interface MAC address.
z Modify virtual MAC address

2.2.2 Starting 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 Ether net interface.
Table LC-2-1 Start 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 virt ual IP address is
not specified, the router will not participate in the backup pr ocess until it receiv es 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 sam e network
segment as the interface’s IP address.