Configuring LST
Note
DEMO FEATURE - Link-state tracking (LST) is a demonstration feature on some products. Demonstration features are provided for testing purposes. Demonstration features are for lab use only and are not for use in a production environment. For more information on feature support, see VOSS Feature Support Matrix.
Use this procedure to configure LST groups.
Procedure
Example
The following example shows a LST group created with ports 1–4 and mlt 1 as upstream members and ports 11–14 and mlt 2 as downstream members. The LST group is enabled. Because port 1 is up, the LST group receives an up operational state and the downstream interfaces are enabled. Upstream ports 2, 4 and mlt 1 have VLACP admin enabled and are listed in the VLACP Upstream State section.
Switch:1> enable Switch:1# configure terminal Switch:1(config)# link-state group 1 upstream interface gigabitEthernet 1/1-1/4 Switch:1(config)# link-state group 1 upstream mlt 1 Switch:1(config)# link-state group 1 downstream interface gigabitEthernet 1/11-1/14 Switch:1(config)# link-state group 1 downstream mlt 2 Switch:1(config)# link-state group 1 enable Switch:1(config)# show link-state group 1 ====================================================================== Link State Tracking General Info ====================================================================== Group 1 Status Enabled Operational Status UP ---------------------------------------------------------------------- Switch:1(config)# show link-state detail ====================================================================== Link State Tracking Detailed Info ====================================================================== Group: 1 Status: Enabled Operational Status: UP VLACP Upstream State: Active on ports: 1/2, 1/4 Active on Trunks: 1 Upstream Ports: 1/1 (UP) 1/2 (DW) 1/3 (DW) 1/4 (DW) Upstream Trunks: 1 (UP) Downstream Ports: 1/11 (UP) 1/12 (DW) 1/13 (DW) 1/14 (UP) Downstream Trunks: 2 (DW) ---------------------------------------------------------------------- Group : 2 Status : Disabled Operational Status : N/A VLACP Upstream State: : N/A Upstream Ports: : Not Configured Upstream Trunks: : Not Configured Downstream Ports: : Not Configured Downstream Trunks: : Not Configured ----------------------------------------------------------------------
Variable definitions
Use the data in the following table to use the link-state command.
Variable |
Value |
---|---|
enable |
Activates the action specified for the LST group or specified interfaces. |
group <1–48> |
Specifies a LST group ID. |
interface gigabitEthernet {slot/port[/sub-port] [-slot/port[/sub-port]] [,...]} |
Adds ports to the specified upstream or downstream LST group. Identifies the slot and port in one of the following formats: a single slot and port (slot/port), a range of slots and ports (slot/port-slot/port), or a series of slots and ports (slot/port,slot/port,slot/port). If the platform supports channelization and the port is channelized, you must also specify the sub-port in the format slot/port/sub-port. |
mlt <1–512> |
Adds a MLT to the specified upstream or downstream LSTgroup. |
<upstream | downstream> |
Specifies the upstream or downstream interfaces in the LST group. |
Use the data in the following table to use the show link-state command.
Variable |
Value |
---|---|
detail |
Displays the specified LST group status as enabled or disabled and if the operational status is up or down. Detail displays LST group additional information. |