Multicast and Routing Guide K/KA/KB.15.15
Dynamically changing the priority of the VR
NOTE: You can configure tracked interfaces or VLANs on the backup router only.
Configuring track interface
Syntax
[no] track interface [port-list|trunk-list]
Allows you to specify a port or port list, or trunk or trunk list, that will be tracked
by this virtual router. If the port or trunk is down, the virtual router switches to the
router specified by the priority value. The command is executed in VRID instance
context.
Example:
HP Switch(config)# vlan 25
HP Switch(vlan-25)# vrid 1
HP Switch(vlan-25-vrid-1)# track interface 10-12, Trk1
Configuring track VLAN
NOTE: The VR's operating VLAN cannot be configured as a tracking VLAN for that VR.
Syntax:
[no] track vlan <vlan-id>range
Allows you to specify a VLAN or range of VLANs that will be tracked by this virtual
router. If the VLAN is down, or if the VLAN or IP address has been deleted, the
virtual router switches to the router specified by the priority value. The command is
executed in VRID instance context.
Example:
HP Switch(config)# vlan 25
HP Switch(vlan-25)# vrid 1
HP Switch(vlan-25-vrid-1)# track vlan 10 24-26
NOTE: When the first tracked port or tracked VLAN comes up after being down, the VR waits
for the pre-empt delay time before it tries to take control back. The VR resumes being a backup
with its configured priority as soon as the first tracked entity is up.
The behavior of the VR is not affected by any tracked entities until after the expiration of the preempt
delay time. However, if while waiting for the preempt delay time to expire, a master goes down,
the VR tries to take control of the virtual IP.
Removing all tracked entities
Syntax:
no track
Allows you to remove tracking for all configured track entities (ports, trunks, and
VLANs.) The command is executed in VRID instance context.
256 Virtual Router Redundancy Protocol (VRRP)










