H3C S7500E Series Ethernet Switches Operation Manual
Operation Manual – HA
H3C S7500E Series Ethernet Switches Chapter 1 VRRP Configuration
1-20
1.4 IPv4-Based VRRP Configuration Examples
This section provides these configuration examples:
z Single VRRP Standby Group Configuration Example
z VRRP Interface Tracking Configuration Example
z Multiple VRRP Standby Group Configuration Example
1.4.1 Single VRRP Standby Group Configuration Example
I. Network requirements
z Host A needs to access Host B on the Internet, using 202.38.160.111/24 as its
default gateway.
z Switch A and Switch B belong to standby group 1 with the virtual IP address of
202.38.160.111/24.
z If Switch A operates normally, packets sent from Host A to Host B are forwarded
by Switch A; if Switch A fails, packets sent from Host A to Host B are forwarded by
Switch B.
II. Network diagram
Host A
Switch A
Switch B
Virtual IP address:
202.38.160.111/24
Vlan-int2
202.38.160.1/24
Vlan-int2
202.38.160.2/24
Host B
202.38.160.3/24
203.2.3.1/24
Internet
Figure 1-7 Network diagram for single VRRP standby group configuration
III. Configuration procedure
1) Configure Switch A
# Configure VLAN 2.
<SwitchA> system-view
[SwitchA] vlan 2
[SwitchA-vlan2] port GigabitEthernet 2/0/5
[SwitchA-vlan2] quit
[SwitchA] interface vlan-interface 2