![background image](http://html.mh-extra.com/html/cisco/mds-9000-series/mds-9000-series_command-reference-manual_21253860.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
18-28
Cisco MDS 9000 Family Command Reference
OL-18089-01, Cisco MDS NX-OS Release 4.x
Chapter 18 P Commands
port-security enable
port-security enable
To enable port security, use the
port-security enable
command
in configuration mode.
To disable port
security, use the
no
form of the command.
port-security enable
no port-security enable
Syntax Description
This command has no other arguments or keywords.
Defaults
Disabled.
Command Modes
Configuration mode.
Command History
Usage Guidelines
Issuing the
port-security enable
command enables the other commands used to configure port security.
Examples
The following example shows how to enable port security.
switch#
config terminal
switch(config)#
port-security enable
The following example shows how to disable port security.
switch#
config terminal
switch(config)#
no port-security enable
Related Commands
Release
Modification
2.0(x)
This command was introduced.
NX-OS 4.1(1b)
This command was deprecated.
Command
Description
show port-security
Displays port security information.