Chapter 2
Catalyst 3750 Switch Cisco IOS Commands
clear lacp
Use the clear lacp privileged EXEC command on the switch stack or on a standalone switch to clear
Link Aggregation Control Protocol (LACP) channel-group counters.
Syntax Description
channel-group-number
counters
Defaults
No default is defined.
Command Modes
Privileged EXEC
Command History
Release
12.1(14)EA1
12.2(25)SE
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 4
counters privileged EXEC command.
Related Commands
Command
show lacp
78-16181-03
clear lacp {channel-group-number counters | counters}
(Optional) Channel group number. The range is 1 to 48.
Clear traffic counters.
Modification
This command was introduced.
The channel-group-number range was changed from 1 to 12 to 1 to 48.
Description
Displays LACP channel-group information.
Catalyst 3750 Switch Command Reference
clear lacp
2-49