HP Cisco MDS 9134 Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2( - Page 642
port-security
View all HP Cisco MDS 9134 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 642 highlights
port-security Chapter 8 Fibre Channel Commands Send comments to [email protected] 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. 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} Syntax Description activate auto-learn database vsan vsan-id force no-auto-learn 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. Command Default Disabled. Command Modes Configuration mode Command History Release 4.0(0)N1(1a) Modification This command was introduced. 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 8-108 Cisco Nexus 5000 Series Command Reference OL-16599-01