User Manual - Configuration Guide (Volume 3)
Versatile Routing Platform Chapter 2
Configuration of HSRP
2-9
! Set hello-time of No. 1 HSRP standby group to be 5 seconds, and hold-time be 15
seconds.
Quidway(config-if-Ethernet0)# standby 1 timers 5 15
2.4.3 An example for multiple hot standby groups configuration
I. Networking requirements
One Quidway router may make backups for multiple standby groups.
Load sharing can be achieved by configuring multiple standby groups. For example,
Router A can work both as an active router for hot standb y group 1 and a backup router
for hot standby group 2 at the same time. On the contrary, Router B can work as an
active router for hot standby group 2 and a backup router for hot standby group 1 at the
same time. Some hosts (like host A) use hot standby group 1 as their gateways, some
other hosts (like host B) use hot standby group 2 as their gateways. In this way, both
load sharing of network data stream and cross backup among routers can b e achieved.
II. Networking diagram
It’s the same as the networking diagram in “HSRP single hot standby group
configuration”.
III. Configuration procedure
z Configure Router A:
! Start HSRP function and set it to be in No. 1 HSRP hot standby group, its virtu al IP
address being 202.38.160.111.
Quidway(config-if-Ethernet0)# standby 1 ip 202.38.160.111
! Set this router to work in preemption mode in No. 1 HSRP hot standby group.
Quidway(config-if-Ethernet0)# standby 1 preempt
! Set this router to have a priority of 120 in No. 1 HSRP hot standby group.
Quidway(config-if-Ethernet0)# standby 1 priority 120
! Set this router to belong to number 2 HSRP standby group at the same time, its virtual
IP address being 202.38.160.112.
Quidway(config-if-Ethernet0)# standby 2 ip 202.38.160.112
! Set this router to work in preemption mode in number 2 HSRP hot standb y group.
Quidway(config-if-Ethernet0)# standby 2 preempt
z Configure Router B:
! Start HSRP function and set it to be in No. 1 HSRP standb y group, its virtual IP
address being 202.38.160.111.
Quidway(config-if-Ethernet0)# standby 1 ip 202.38.160.111
! Set this router to work in preemption mode in No. 1 HSRP hot standby group.
Quidway(config-if-Ethernet0)# standby 1 preempt