22-22
Software Configuration Guide—Release 15.0(2)SG
OL-23818-01
Chapter 22 Configuring EtherChannel and Link State Tracking
Configuring Link-State Tracking
This example shows how to create a link-state group and configure the interfaces:
Switch# configure terminal
Switch(config)# link state track 1
Switch(config)# interface gigabitethernet3/1
Switch(config-if)# link state group 1 upstream
Switch(config-if)# interface gigabitethernet3/3
Switch(config-if)# link state group 1 upstream
Switch(config-if)# interface gigabitethernet3/5
Switch(config-if)# link state group 1 downstream
Switch(config-if)# interface gigabitethernet3/7
Switch(config-if)# link state group 1 downstream
Switch(config-if)# end
To disable a link-state group, use the no link state track number global configuration command.
Displaying Link-State Tracking Status
To display the link-state group information, enter the show link state group command. Enter this
command without keywords to display information about all link-state groups.
Enter the group number to display information specific to the group. Enter the detail keyword to display
detailed information about the group.
it is an example of output from the show link state group 1 command:
Switch> show link state group 1
Link State Group: 1 Status: Enabled, Down
it is an example of output from the show link state group detail command:
Switch> show link state group detail
(Up):Interface up (Dwn):Interface Down (Dis):Interface disabled
Link State Group: 1 Status: Enabled, Down
Upstream Interfaces : Gi3/5(Dwn) Gi3/6(Dwn)
Downstream Interfaces : Gi3/1(Dis) Gi3/2(Dis) Gi3/3(Dis) Gi3/4(Dis)
Link State Group: 2 Status: Enabled, Down
Upstream Interfaces : Gi3/15(Dwn) Gi3/16(Dwn) Gi3/17(Dwn)
Downstream Interfaces : Gi3/11(Dis) Gi3/12(Dis) Gi3/13(Dis) Gi3/14(Dis)
(Up):Interface up (Dwn):Interface Down (Dis):Interface disabled
Step 4 Switch(config-if)# link state group
[number] {upstream | downstream}Specifies a link-state group, and configure the interface as either
an upstream or downstream interface in the group.The group
number can be 1 to 10; the default is 1.
Step 5 Switch(config-if)# end Returns to privileged EXEC mode.
Step 6 Switch# show running-config Verifies your entries.
Step 7 Switch# copy running-config startup-config (Optional) Saves your entries in the configuration file.
Command Purpose