disable (LAG)

Disables the individual ports within a LAG.
Syntax
disable port-name name
disable ethernet unit/slot/port [ to unit/slot/port | [ ethernet unit/slot/port to unit/slot/port | ethernet unit/slot/port ] [ lag lag-id to lag-id | lag lag-id ]... ]
Command Default

LAG ports are not enabled.

Parameters
port-name name
Disables a named port within a LAG.
ethernet unit/slot/port
Disables the Ethernet port within a LAG.
to unit/slot/port
Disables a range of ports within a LAG.
lag lag-id
Disables the LAG virtual interface.
Modes

LAG configuration mode

Usage Guidelines

To disable a port belonging to a keep-alive LAG, you must configure the enable command from the interface configuration mode.

Examples

The following example shows how to disable a port within a LAG.

device(config)# lag blue static id 1
device(config-lag-blue)# ports ethernet 1/1/1 ethernet 1/1/5
device(config-lag-blue)# disable ethernet 1/3/1

The following example shows how to disable a port within a keep-alive LAG.

device(config)# lag test keep-alive
device(config-lag-test)# interface ethernet 1/1/1
device(config-if-e1000-1/1/1)# disable
History
Release version Command history
08.0.61 This command was modified to add lag lag-id options.