Configuring Link-State Tracking
Monitoring Link-State Tracking Status
Configuring Link-State Tracking: Example, on page 144
Restrictions for Configuring Link-State Tracking, on page 139
How to Configure Link-State Tracking
To enable link-state tracking, create a link-state group and specify the interfaces that are assigned to the group.
This task is optional.
SUMMARY STEPS
1. configure terminal
2. link state track number
3. interface interface-id
4. link state group [ number ]{upstream | downstream}
5. end
DETAILED STEPS
Command or Action
Step 1
configure terminal
Example:
Switch# configure terminal
Step 2
link state track number
Example:
Switch(config)# link state track 2
Step 3
interface interface-id
Example:
Switch(config)# interface
gigabitethernet2/0/1
Step 4
link state group [ number ]{upstream |
downstream}
Example:
Switch(config-if)# link state group 2
OL-29424-01
Purpose
Enters global configuration mode.
Creates a link-state group and enables link-state tracking. The group
number can be 1 or 2; the default is 1.
Specifies a physical interface or range of interfaces to configure, and
enters interface configuration mode.
Valid interfaces include switch ports in access or trunk mode, routed
ports, and multiple ports bundled into an EtherChannel interface
(static, PAgP, or LACP) in trunk mode.
Do not enable link-state tracking on individual interfaces
Note
that will be part of a downstream EtherChannel interface.
Specifies a link-state group and configures the interface as either an
upstream or downstream interface in the group.
Catalyst 2960-XR Switch Layer 2 Configuration Guide, Cisco IOS Release 15.0(2)EX1
How to Configure Link-State Tracking
143