track command ties the weighting of the GLBP
gateway to the availability of its interfaces. This command is useful for
tracking interfaces that are not configured for GLBP; for instance, you can
track the interface that connects the gateway to the IP network.
When a tracked interface goes down, the GLBP gateway weighting
decreases by the configured decrement value. For each GLBP group, you can track
a separate list of interfaces.
When the tracked interface comes back up, GLBP increments the
weighting by the same amount.
When multiple tracked interfaces are down, the configured weighting
decrements are cumulative.
track command to configure each interface
that you want to track.
This command does not require a license.
This example shows that Ethernet interface 1/1 tracks two interfaces
represented by the numbers 1 and 2. If interface 1 goes down, the GLBP gateway
weighting decreases by the default value of 10. If interface 2 goes down, the
GLBP gateway weighting decreases by 5.
nterface fastethernet 0/0
switch(config-if)# glbp 10
switch(config-glbp)# weighting track 1
switch(config-glbp)# weighting track 2 decrement 5