[Sysname] vrrp ping-enable
vrrp vlan-interface vrid track
Syntax
vrrp vlan-interface vlan-id vrid virtual-router-id track [ reduced value-reduced ]
undo vrrp vlan-interface vlan-id vrid virtual-router-id track
View
Ethernet port view
Parameters
virtual-router-id: VRRP group ID, ranging from 1 to 255.
vlan-id: VLAN ID.
value-reduced: Value by which the priority of a switch is to decrease. This argument ranges from 1 to
255, and defaults to 10.
Description
Use the vrrp vlan-interface vrid track command to enable the port tracking function of a VRRP group
on a physical port.
Use the undo vrrp vlan-interface vrid track command to disable the port tracking function.
After the port tracking function of a VRRP group is enabled on a port, this function will track the link
status of the port. If a fault occurs on the port, the function decreases the priority of the switch where the
port resides by a specified value.
Usually, this function is used to track the status of the uplink port of the master in a VRRP group.
Thereby, when the uplink port of the master fails, the master's priority will decrease by a specified value,
so as to trigger a new master election in the VRRP group.
If an IP address owner exists in a VRRP group, the port tracking function configured on the IP
address owner cannot take effect.
The port to be tracked can be in the VLAN whose VLAN interface has the VRRP group configured.
Up to eight ports can be tracked simultaneously.
Examples
# Configure that the priority of the switch decreases by 50 if its Ethernet 1/0/1 port fails.
<Sysname> system-view
[Sysname] vlan 2
[Sysname-vlan2] port Ethernet1/0/1
[Sysname-vlan2] quit
[Sysname] interface Ethernet 1/0/1
[Sysname-Ethernet1/0/1] vrrp vlan-interface 2 vrid 1 track reduced 50
1-7
Need help?
Do you have a question about the s3600 series and is the answer not in the manual?
Questions and answers