Huawei v200r001 Network Router User Manual


 
User Manual - Configuration Guide (Volume 3)
Versatile Routing Platform
Chapter 2
Configuration of HSRP
2-7
II. Networking diagram
Ethernet
Etherne t
Internet
RouterA
Router B
202.38.160.1
202.38.160.2
Virtual IP address
202.38.160.111
202.38.160.3
WorkstationA WorkstationB
202.38.160.4
Serial
Serial
Serial
Router C
129.20.3.1
Workstation C
Figure LC-2-2 HSRP single hot standby group configuration—an application of HSRP
III. Configuration procedure
z
Configure Router A:
! Start HSRP function and set its working virtual IP address as 202.38.160.111.
Quidway(config-if-Ethernet0)# standby ip 202.38.160.111
! Set this router to be in the preemption mode.
Quidway(config-if-Ethernet0)# standby preempt
! Set this router’s priority to 120.
Quidway(config-if-Ethernet0)# standby priority 120
z Configure Router B:
! Start HSRP function and set its working virtual IP address as 202.38.160.111.
Quidway(config-if-Ethernet0)# standby ip 202.38.160.111
! Set this router to work in preemption mode.
Quidway(config-if-Ethernet0)# standby preempt