L Commands
This chapter describes the Cisco NX-OS Ethernet and virtual Ethernet commands that begin with L.
lacp graceful-convergence
To configure port channel Link Aggregation Control Protocol (LACP) graceful convergence, use the lacp graceful-convergence command. To disable graceful convergence on a port channel interface, use the no form of this command.
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
You can use this command only on a port channel interface that is in an administratively down state. You cannot configure (or disable) LACP graceful convergence on a port chanel that is in an administratively up state. If you do so, you will see the following error message:
Note To avoid port suspension, we recommend that you disable graceful convergence on LACP ports on a peer switch that is not running Cisco NX-OS.
Examples
This example shows how to enable LACP graceful convergence on a port channel:
This example shows how to disable LACP graceful convergence on a port channel:
Related Commands
|
|
---|---|
lacp port-priority
.i.lacp port-priority command;
To set the priority for the physical interfaces for the Link Aggregation Control Protocol (LACP), use the lacp port-priority command. To return the port priority to the default value, use the no form of this command.
Syntax Description
Priority for the physical interfaces. The range of valid numbers is from 1 to 65535. |
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Each port configured to use LACP has an LACP port priority. You can configure a value between 1 and 65535. LACP uses the port priority in combination with the port number to form the port identifier. The port priority is used with the port number to form the port identifier. The port priority is used to decide which ports should be put into standby mode when there is a hardware limitation that prevents all compatible ports from aggregating.
Note When setting the priority, note that a higher number means a lower priority.
Examples
This example shows how to set the LACP port priority for the interface to 2000:
Related Commands
|
|
---|---|
lacp rate fast
To configure the rate at which control packets are sent by the Link Aggregation Control Protocol (LACP), use the lacp rate fast command. To restore the rate to 30 seconds, use the no form of this command or the lacp rate normal command.
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
You must enable LACP before using this command.
You can configure the LACP rate fast feature on the LACP ports of a Cisco Nexus 5000 Series switch or a Cisco Nexus 2000 Series Fabric Extender that is connected to a Cisco Nexus 5000 Series switch.
The LACP rate fast feature is used to set the rate (once every second) at which the LACP control packets are sent to an LACP-supported interface. The normal rate at which LACP packets are sent is 30 seconds.
Examples
This example shows how to configure the LACP fast rate feature on a specified Ethernet interface:
This example shows how to remove the LACP fast rate configuration from a specified Ethernet interface:
Related Commands
|
|
---|---|
lacp short-timeout
To configure short time out for Link Aggregation Control Protocol (LACP) fast rate, use the lacp short-timeout command. To restore the default rate to 15 seconds, use the no form of this command.
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
You must enable LACP rate fast before using this command.
You can configure the LACP rate fast feature on the LACP ports of a Cisco Nexus 5000 Series switch or a Cisco Nexus 2000 Series Fabric Extender that is connected to a Cisco Nexus 5000 Series switch.
The LACP short-time out command is used to set the fast rate timeout at which the LACP control packets are sent to an LACP-supported interface. The normal rate at which LACP packets are sent is 15 seconds. To adhere to the IEEE802.3ad standards, the lacp short-timeout command enables users to set a faster convergence rate of 3 seconds for LACP timeout.
Note LACP short timeout of 3 seconds for rate fast is not supported on FEX interfaces.
Examples
This example shows how to configure the LACP short-timeout for fast rate feature:
This example shows how to restore the default lacp short-timeout value for the LACP fast rate feature:
Note The default short-timeout value (15) is not displayed in the running configuration.
Related Commands
|
|
---|---|
lacp suspend-individual
To enable Link Aggregation Control Protocol (LACP) port suspension on a port channel, use the lacp suspend-individual command. To disable port suspension on a port channel interface, use the no form of this command.
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
LACP sets a port to the suspended state if it does not receive an LACP bridge protocol data unit (BPDU) from the peer ports in a port channel. This can cause some servers to fail to boot up as they require LACP to logically bring up the port.
Examples
This example shows how to enable LACP port suspension on a port channel:
This example shows how to disable LACP port suspension on a port channel:
Related Commands
|
|
---|---|
lacp system-priority
.i.lacp system-priority command;
To set the system priority of the switch for the Link Aggregation Control Protocol (LACP), use the lacp system-priority command. To return the system priority to the default value, use the no form of this command.
Syntax Description
Priority for the physical interfaces. The range of valid numbers is from 1 to 65535. |
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Each device that runs LACP has an LACP system priority value. You can configure a value between 1 and 65535. LACP uses the system priority with the MAC address to form the system ID and also during negotiation with other systems.
When setting the priority, note that a higher number means a lower priority.
Examples
This example shows how to set the LACP system priority for the device to 2500:
Related Commands
|
|
---|---|
link debounce
To enable the debounce timer on an interface, use the link debounce command. To disable the timer, use the no form of this command.
link debounce [ time milliseconds ]
Syntax Description
(Optional) Specifies the extended debounce timer. The range is from 0 to 5000 milliseconds. A value of 0 milliseconds disables the debounce time. |
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
The port debounce time is the amount of time that an interface waits to notify the supervisor of a link going down. During this time, the interface waits to see if the link comes back up. The wait period is a time when traffic is stopped.
Examples
This example shows how to enable the debounce timer and set the debounce time to 1000 milliseconds for an Ethernet interface:
This example shows how to disable the debounce timer for an Ethernet interface:
Related Commands
|
|
---|---|
load-interval
.i.load-interval command;
To change the sampling interval for statistics collections on interfaces, use the load-interval command. To return to the default sampling interval, use the no form of this command.
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Use the load-interval command to obtain bit-rate and packet-rate statistics for three different durations.
You can set the statistics collection intervals on the following types of interfaces:
You cannot use this command on the management interface or subinterfaces.
This command sets the sampling interval for such statistics as packet rate and bit rate on the specified interface.
Examples
This example shows how to set the three sample intervals for the Ethernet port 3/1:
Related Commands
|
|
---|---|