Cisco 3560x-24p 参考指南

下载
页码 1188
 
2-107
Catalyst 3750-X and 3560-X Switch Command Reference
OL-21522-02
Chapter 2      Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
clear mka
clear mka
To clear MACsec Key Agreement (MKA) protocol sessions or information, use the clear mka privileged 
EXEC command. 
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]}
Syntax Description
Command Modes
Privileged EXEC
Command History
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 
all
Clears all MKA sessions and global statistics.
sessions
Clears all MKA sessions.
interface interface-id
(Optional) Clears all active MKA sessions on the interface.
port-id port-id
(Optional) Clears the MKA session on the specified interface with the 
specified port ID. The port-ID range is 1 to 65535.
local-sci sci
(Optional) Clears all active MKA sessions with the specified Local TX-SCI, 
a 64-bit hexadecimal string.
statistics
Clears all MKA statistics and error counters. Enter additional keywords to 
clear counters only for an interface or Local TX-SCI.
  •
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.
Release
Modification
12.2(53)SE2
This command was introduced.