User Manual - Configuration Guide (Volume 3)

Chapter 2

Versatile Routing Platform

Configuration of HSRP

!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.3An 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 standby 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 be achieved.

II. Networking diagram

It’s the same as the networking diagram in “HSRP single hot standby group configuration”.

III. Configuration procedure

zConfigure Router A:

!Start HSRP function and set it to be in No. 1 HSRP hot standby 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

!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 standby group.

Quidway(config-if-Ethernet0)# standby 2 preempt

zConfigure Router B:

!Start HSRP function and set it to be in No. 1 HSRP standby 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

2-9

Page 66
Image 66
Huawei v200r001 user manual An example for multiple hot standby groups configuration