![Cisco MDS 9000 Series Скачать руководство пользователя страница 210](http://html.mh-extra.com/html/cisco/mds-9000-series/mds-9000-series_command-reference-manual_21253210.webp)
S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m
4-70
Cisco MDS 9000 Family Command Reference
OL-18089-01, Cisco MDS NX-OS Release 4.x
Chapter 4 C Commands
clear port-security
clear port-security
To clear the port security information on the switch, use the
clear port-security
command in EXEC
mode.
clear port-security
{
database auto-learn
{
interface fc
slot
/
port
|
port-channel
port
}
|
session
|
statistics
}
vsan
vsan-id
Syntax Description
Defaults
None.
Command Modes
EXEC mode.
Command History
Usage Guidelines
The active database is read-only and
clear port-security database
command can be used when
resolving conflicts.
Examples
The following example clears all existing statistics from the port security database for a specified VSAN:
switch#
clear port-security statistics vsan 1
The following example clears learnt entries in the active database for a specified interface within a
VSAN:
switch#
clear port-security database auto-learn interface fc1/1 vsan 1
The following example clears learnt entries in the active database up to for the entire VSAN:
switch#
clear port-security database auto-learn vsan 1
database
Clears the port security active configuration database.
auto-learn
Clears the auto-learn entries for a specified interface or VSAN.
interface fc
slot/port
Clears entries for a specified interface.
port-channel
port
Clears entries for a specified PortChannel. The range is 1 to 128.
session
Clears the port security CFS configuration session and locks.
statistics
Clears the port security counters.
vsan
vsan-id
Clears entries for a specified VSAN ID. The range is 1 to 4093.
Release
Modification
1.2(1)
This command was introduced.
2.0(x)
Added the
session
option.