3Com Switch 8800 Advanced Software V5 Configuration Guide
776 CHAPTER 54: VRRP CONFIGURATION
[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 Switch A to work in preemption mode and configure the preemption
delay to five seconds.
[SysnameB-Vlan-interface2] vrrp vrid 1 preempt-mode timer delay 5
[SysnameB-Vlan-interface2] return
3 Verify the configuration
After the configuration, host B can be pinged through on host A. You can use the
display vrrp command to verify the configuration.
# Display detailed information of standby group 1 on Switch A.
<SysnameA> display vrrp verbose
IPv4 Standby Information:
Run Method : VIRTUAL-MAC
Virtual IP Ping : Enable
Interface : Vlan-interface2
VRID : 1 Adver. Timer : 1
Admin Status : UP State : Master
Config Pri : 110 Run Pri : 110
Preempt Mode : YES Delay Time : 5
Auth Type : NONE
Virtual IP : 202.38.160.111
Virtual MAC : 0000-5e00-0101
Master IP : 202.38.160.1
# Display detailed information of standby group 1 on Switch B.
<SysnameB> display vrrp verbose
IPv4 Standby Information:
Run Method : VIRTUAL-MAC
Virtual IP Ping : Enable
Interface : Vlan-interface2
VRID : 1 Adver. Timer : 1
Admin Status : UP State : Backup
Config Pri : 100 Run Pri : 100
Preempt Mode : YES Delay Time : 0
Auth Type : NONE
Virtual IP : 202.38.160.111
Master IP : 202.38.160.1
The above information indicates that in standby group 1 Switch A is the master,
Switch B is the backup and packets sent from host A to host B are forwarded by
Switch A.
If Switch A fails, you can still ping through host B on host A. You can use the
display vrrp command to view the detailed information of the standby group on
Switch B.