Port-Security - Cisco AP775A - Nexus Converged Network Switch 5010 Command Reference Manual

Cisco nexus 5000 series command reference, release 4.1(3)n1(1) (ol-16599-01, august 2009)
Hide thumbs Also See for AP775A - Nexus Converged Network Switch 5010:
Table of Contents

Advertisement

port-security

S e n d c o m m e n t s t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m
port-security
To configure port security features and reject intrusion attempts, use the port-security command. Use
the no form of the command to negate the command or revert to factory defaults.
Syntax Description
activate
auto-learn
database
vsan vsan-id
force
no-auto-learn
Command Default
Disabled.
Command Modes
Configuration mode
Command History
Release
4.0(0)N1(1a)
Usage Guidelines
When you activate the port security feature, the auto-learn option is also automatically enabled. You
can choose to activate the port-security feature and disable auto-learning using the port-security
activate vsan number no-auto-learn command. In this case, you need to manually populate the port
security database by individually securing each port.
If the auto-learn option is enabled on a VSAN, you cannot activate the database for that VSAN without
the force option.
Examples
The following example activates the port security database for the specified VSAN, and automatically
enables auto-learning:
switch(config)# port-security activate vsan 1
Cisco Nexus 5000 Series Command Reference
8-108
port-security {activate vsan vsan-id [force | no-auto-learn] | auto-learn vsan vsan-id | database
vsan vsan-id}
no port-security {activate vsan vsan-id [force | no-auto-learn] | auto-learn vsan vsan-id |
database vsan vsan-id}
Activates a port security database for the specified VSAN and automatically
enables auto-learning.
Enables auto-learning for the specified VSAN.
Enters the port security database configuration mode for the specified
VSAN.
Specifies the VSAN ID. The range is 1 to 4093.
(Optional) Forces the database activation.
(Optional) Disables the auto-learning feature for the port security database.
Modification
This command was introduced.
Chapter 8
Fibre Channel Commands
OL-16599-01

Advertisement

Table of Contents
loading

Table of Contents