Ipv4-Based Vrrp Configuration Examples - H3C LS-3100-52P-OVS-H3 Operation Manual

S5500-ei series ethernet switches
Table of Contents

Advertisement

Displaying and Maintaining VRRP for IPv6
To do...
Display VRRP group status
Display VRRP group
statistics
Clear VRRP group statistics

IPv4-Based VRRP Configuration Examples

This section provides these configuration examples:
Single VRRP Group Configuration Example
VRRP Interface Tracking Configuration Example
Multiple VRRP Group Configuration Example
Single VRRP Group Configuration Example
Network requirements
Host A needs to access Host B on the Internet, using 202.38.160.111/24 as its default gateway.
Switch A and Switch B belong to VRRP group 1 with the virtual IP address of 202.38.160.111/24.
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.
Figure 1-7 Network diagram for single VRRP group configuration
202.38.160.3/24
Host A
Configuration procedure
1)
Configure Switch A
# Configure VLAN 2.
<SwitchA> system-view
Use the command...
display vrrp ipv6 [ verbose ] [ interface
interface-type interface-number [ vrid
virtual-router-id ] ]
display vrrp ipv6 statistics [ interface
interface-type interface-number [ vrid
virtual-router-id ] ]
reset vrrp ipv6 statistics [ interface
interface-type interface-number [ vrid
virtual-router-id ] ]
Virtual IP address:
202.38.160.111/24
Vlan-int2
202.38.160.1/24
Switch A
Vlan-int2
202.38.160.2/24
Switch B
1-17
203.2.3.1/24
Internet
Host B
Remarks
Available in any view
Available in any view
Available in user view

Advertisement

Chapters

Table of Contents
loading

Table of Contents