VRRP Port Tracking 191
port access vlan 2
#
Configurations on Switch B
#
vrrp ping-enable
#
interface Vlan-interface2
ip address 202.38.160.2 255.255.255.0
vrrp vrid 1 virtual-ip 202.38.160.111
#
interface Ethernet1/0/5
port access vlan 2
#
Precautions The Switch 5500 supports VRRP, while the Switch 4500 does not.
For the IP address owner, its priority in the VRRP group is always 255.
When configuring VRRP interface tracking, you are recommended to configure
the uplink Trunk port to deny the VLAN that corresponds to the tracked
interface.
When you set the priority decrease value of the master in a VRRP group, make
sure that the master has a lower priority than the backups after the decrease.
VRRP Port Tracking VRRP group port tracking function can track the link state of a physical port, and
decrease the priority of the switch when the physical port fails.
With this function enabled for a VRRP group, if the tracked physical port of the
master fails, the priority of the master decreases by the specified value
automatically, making a new election of the master in the group.
Network Diagram Figure 52 Network diagram for VRRP port tracking
Vlan-int2
10.100.10.2/24
Master
Network
Layer 2 Switch
Backup
Actual IP address Actual IP address
Virtual IP address
10.100.10.1/24
Vlan-int3
10.100.10.4/24
Virtual IP address
10.100.10.1/24