clear macsec counters

clear macsec counters {ports [port_list]}

Description

Clears counters for MAC Security (MACsec) encryption and authentication.

Syntax Description

ports Specifies port to configure.
port_list Lists ports to clear MACsec counters on.

Default

Counters for all MACsec ports are cleared unless you choose specific MACsec ports.

Usage Guidelines

This command clears the 4 packet/octet values of the show macsec ports port-list usage command, as well as all the statistics shown under the heading “SecY Interface Statistics” of the show macsec ports port-list detail command.

Additionally, all MACsec port statistics are cleared by the clear counters ports {port_list | all} command.

Example

The following example clears all MACsec counters on port 44:

# clear macsec counters ports 44

History

This command was first available in ExtremeXOS 30.1.

Platform Availability

This command is available on the following platforms.

Note

Note

The MACsec feature requires the installation of the MAC Security feature pack license.
Platform Ports LRM/MACsec Adapter Required?
ExtremeSwitching X460-G2-24p-24hp, X460-G2-24t-24ht switches Half-duplex, 1G ports (25–48) No
All other SFP/SFP+ ports * Yes
ExtremeSwitching X450-G2, X460-G2, X440-G2, X590, X620, and X695 series switches SFP/SFP+ ports * Yes
ExtremeSwitching X465

X465-24W, X465-24XE: ports 1–24

X465-48T, X465-48P, X465-48W, X465i-48W: ports 1–48

X465-24MU-24W: ports 25–48

VIM5-4XE: all 4 ports

VIM5-4YE in X465-24MU, X465-24MU-24W switches: all 4 ports

VIM5-4YE in X465-24W, X465-48T, X465-48P, X465-48W, X464.24S, X465-24S, X465i-48W: first 2 ports only

No
Note: * For ExtremeSwitching X460-G2 series switches, the VIM-2X option does not support the LRM/MACsec Adapter.