Displaying and maintaining vrrp, Vrrp configuration examples, Single-vrrp group configuration – H3C Technologies H3C S3600 Series Switches User Manual
Page 584: Network requirements
1-10
z
The port to be tracked can be in the VLAN which the VLAN interface of the VRRP group belongs to.
z
Up to eight ports can be tracked simultaneously through the port tracking function.
z
You can enable Auto Detect on the master switch in a VRRP group, use the Auto Detect function to
detect the routes from the master switch to other networks, and use the detection results
(reachable/unreachable) to control the priority of the master switch, so as to realize the automatic
master-backup switchover. For details, please refer to Auto Detect Operation in this manual.
Displaying and Maintaining VRRP
To do…
Use the command…
Remarks
Display VRRP statistics
information
display vrrp statistics [ interface
vlan-interface vlan-id [ vrid
virtual-router-id ] ]
Display VRRP state information
display vrrp [ verbose ] [ interface
vlan-interface vlan-id [ vrid
virtual-router-id ] ]
Available in any
view
Clear VRRP statistics
information
reset vrrp statistics [ interface
vlan-interface vlan-id [ vrid
virtual-router-id ] ]
Available in user
view
VRRP Configuration Examples
Single-VRRP Group Configuration
Network requirements
Host A uses the VRRP virtual router comprising switch A and switch B as its default gateway to visit host
B on the Internet.
The information about the VRRP group is as follows:
z
VRRP group ID: 1
z
Virtual router IP address: 202.38.160.111/24
z
Master: Switch A
z
Backup: Switch B
z
Preemptive mode: enabled
Table 1-1 Network description
Switch
Ethernet port
connecting to Host
A
IP address of the
VLAN interface
Switch priority in
the VRRP group
Preemptive
mode
LSW-A Ethernet
1/0/6
202.38.160.1/24 110
Enabled
LSW-B Ethernet
1/0/5
202.38.160.2/24
100 (default)
Enabled