Clear Mka - Cisco Catalyst 3560X-24P Command Reference Manual

Cisco ios release 12.2(55)se
Hide thumbs Also See for Catalyst 3560X-24P:
Table of Contents

Advertisement

Chapter 2
Catalyst 3750-X and 3560-X Switch Cisco IOS Commands

clear mka

To clear MACsec Key Agreement (MKA) protocol sessions or information, use the clear mka privileged
EXEC command.
Syntax Description
all
sessions
interface interface-id
port-id port-id
local-sci sci
statistics
Command Modes
Privileged EXEC
Command History
Release
12.2(53)SE2
Usage Guidelines
When you enter the clear mka all command, the switch prompts for a confirmation and then deletes all
active MKA sessions.
Examples
This example clears all active MKA sessions:
Switch# clear mka all
Are you sure you want to do this? [yes/no]: yes
This example clears the statistics counter of a specific MKA session running with Local TX-SCI
0023330853030002:
Switch# clear mka statistics local-sci 0023330853030002
OL-21522-02
clear mka {all | sessions [interface interface-id [port-id port-id]] | [local-sci sci] | statistics
[interface interface-id port-id port-id] | [local-sci sci]}
Clears all MKA sessions and global statistics.
Clears all MKA sessions.
(Optional) Clears all active MKA sessions on the interface.
(Optional) Clears the MKA session on the specified interface with the
specified port ID. The port-ID range is 1 to 65535.
(Optional) Clears all active MKA sessions with the specified Local TX-SCI,
a 64-bit hexadecimal string.
Clears all MKA statistics and error counters. Enter additional keywords to
clear counters only for an interface or Local TX-SCI.
Modification
This command was introduced.
interface interface-id port-id port-id—Clears MKA session statistics
for the specified interface and port ID.
local-sci sci—Clears MKA session statistics for the specified Local
TX-SCI.
Catalyst 3750-X and 3560-X Switch Command Reference
clear mka
2-107

Advertisement

Table of Contents
loading

Table of Contents