clear lacp
To clear Link Aggregation Control Protocol (LACP) channel-group counters, use the clear lacp command
in privileged EXEC mode.
clear lacp [channel-group-number] counters
Syntax Description
(Optional) Channel group number. The range is 1 to 24.
channel-group-number
Clears traffic counters.counters
Command Default
None
Command Modes
Privileged EXEC
Command History
ModificationRelease
This command was introduced.Cisco IOS 15.0(2)EX
Usage Guidelines
You can clear all counters by using the clear lacp counters command, or you can clear only the counters for
the specified channel group by using the clear lacp channel-group-number counters command.
Examples
This example shows how to clear all channel-group information:
Switch# clear lacp counters
This example shows how to clear LACP traffic counters for group 4:
Switch# clear lacp 4 counters
You can verify that the information was deleted by entering the show lacp counters or the show lacp
channel-group-number counters privileged EXEC command.
Related Commands
DescriptionCommand
Displays LACP channel-group information.
show lacp
Enables debugging of LACP.
debug lacp
Catalyst 2960-X Switch Layer 2 Command Reference, Cisco IOS Release 15.0(2)EX
OL-29043 -01 25
Layer 2 Commands
clear lacp