Microsoft ES4612 Switch User Manual


 
Command Line Interface
4-326
4
standby track
This command configures an interface so that the HSRP priority changes based on
the availability of other IP interfaces on this router. Use the no form to disable
tracking.
Syntax
standby [group] track vlan vlan-id [interface-priority]
no standby [group] track vlan vlan-id
group - Identifies the HSRP group. (Range: 0-255)
vlan-id - VLAN configured with an IP address. (Range: 1-4094)
interface-priority - Amount by which the HSRP router priority is
decremented (or incremented) when the interface goes down (or comes
back up). (Range: 1-255)
Default Setting
Group number: 0
Interface priority: 10
Command Mode
Interface (VLAN)
Command Usage
This command adjusts the HSRP router priority based on the availability of its
IP interfaces. When a tracked interface goes down, the HSRP router priority
decreases by the specified value, and increases by the same value when it
comes back up. You can specify up to 32 interfaces to be tracked.
If you specify a VLAN interface that has not been configured with an IP
address, this command will not affect the HSRP router priority.
If you configure multiple tracked interfaces, and also set the interface priority,
the effect on HSRP router priority is cumulative when one or more interfaces
go up or down. However, if you configure multiple tracked interfaces, but do
not set the interface priority, HSRP router priority will only be changed by the
default interface priority value of 10; i.e., the effect is not cumulative.
Example
This example tracks the VLAN 2 IP interface, and sets the amount by which to adjust
the HSRP router priority on the VLAN 1 interface to 5.
Console(config)interface vlan 1
Console(config-if)#standby 1 track vlan 2 5
Console(config-if)#