Connectivity Guide

Parameters
number — Enter the port-channel group number (1 to 128). The maximum number of port-channels is 128.
The maximum physical port/maximum NPU is supported.
mode — Enter the interface port-channel mode.
active — Enter to enable the LACP interface. The interface is in the Active Negotiating state when the port
starts negotiations with other ports by sending LACP packets.
on — Enter so that the interface is not part of a dynamic LAG but acts as a static LAG member.
passive — Enter to only enable LACP if it detects a device. The interface is in the Passive Negotiation state
when the port responds to the LACP packets that it receives but does not initiate negotiation until it detects a
device.
Default Not congured
Command Mode INTERFACE
Usage Information When you delete the last physical interface from a port-channel, the port-channel remains. Congure these
attributes on an individual member port. If you congure a member port with an incompatible attribute, OS10
suspends that port in the port-channel. The member ports in a port-channel must have the same setting for link
speed capability and duplex capability. The no version of this command removes the interface from the port-
channel.
Example
OS10(config)# interface ethernet 1/1/10
OS10(conf-if-eth1/1/10)# channel-group 10 mode active
OS10(conf-if-eth1/1/10)# exit
OS10(config)# interface ethernet 1/1/11
OS10(conf-if-eth1/1/11)# channel-group 10 mode active
Supported Releases 10.2.0E or later
clear lacp counters
Clears the statistics for all interfaces for LACP groups.
Syntax
clear lacp counters [interface port-channel channel-number]
Parameters
interface port-channel — (Optional) Enter the interface port-channel number.
channel-number — (Optional) Enter the LACP port-channel number (1 to 128).
Default Not congured
Command Mode EXEC
Usage Information If you use this command for a static port-channel group without enabling the aggregation protocol, the device
ignores the command. If you do not enter a port-channel number, the LACP counters for all LACP port groups
clear.
Example
OS10# clear lacp counters
Example (Port-
Channel)
OS10# clear lacp counters interface port-channel 20
Supported Releases 10.2.0E or later
Layer 2 281