3Com Switch 8800 Advanced Software V5 Configuration Guide
778 CHAPTER 54: VRRP CONFIGURATION
Configuration procedure
1 Configure Switch A
# Configure VLAN 2.
<SysnameA> system-view
[SysnameA] vlan 2
[SysnameA-vlan2] port ethernet 2/1/4
[SysnameA-vlan2] quit
[SysnameA] interface vlan-interface 2
[SysnameA-Vlan-interface2] ip address 202.38.160.1 255.255.255.0
# Create standby group 1 and configure its virtual IP address as 202.38.160.111.
[SysnameA-Vlan-interface2] vrrp vrid 1 virtual-ip 202.38.160.111
# Set the priority of Switch A in the standby group to 110.
[SysnameA-Vlan-interface2] vrrp vrid 1 priority 110
# Configure the authentication mode of the standby group as MD5 and
authentication key as abc123.
[SysnameA-Vlan-interface2] vrrp vrid 1 authentication-mode md5 abc123
# Configure the master to send VRRP packets every five seconds.
[SysnameA-Vlan-interface2] vrrp vrid 1 timer advertise 5
# Set the interface to be tracked.
[SysnameA-Vlan-interface2] vrrp vrid 1 track vlan-interface 3 reduced 30
[SysnameA-Vlan-interface2] return
2 Configure Switch B
# Configure VLAN 2.
<SysnameB> system-view
[SysnameB] vlan 2
[SysnameB-vlan2] port ethernet 2/1/4
[SysnameB-vlan2] quit
[SysnameB] interface vlan-interface 2
[SysnameB-Vlan-interface2] ip address 202.38.160.2 255.255.255.0
# Create standby group 1 and configure its virtual IP address as 202.38.160.111.
[SysnameB-Vlan-interface2] vrrp vrid 1 virtual-ip 202.38.160.111
# Configure the authentication mode of the standby group as MD5 and
authentication key as abc123.
[SysnameB-Vlan-interface2] vrrp vrid 1 authentication-mode md5 abc123
# Configure the master to send VRRP packets every five seconds.
[SysnameB-Vlan-interface2] vrrp vrid 1 timer advertise 5
[SysnameB-Vlan-interface2] return