158
Cisco Nexus 5500 Series NX-OS Layer 2 Interfaces Command Reference
OL-27880-02
Chapter F Commands
feature port-security
feature port-security
To enable port security on Layer 2 interfaces, use the
feature port-security
command. To disable port
security, use the
no
form of this command.
feature port-security
no feature port-security
Syntax Description
This command has no arguments or keywords.
Command Default
Disabled
Command Modes
Global configuration mode
Command History
Usage Guidelines
Use the port security feature to secure a port by limiting and identifying the MAC addresses of the
switches that are allowed to access the port.
You can enable port security on a virtual port channel (vPC) port only if the following occurs:
•
Port security is enabled on both the vPC peers
•
Port security is enabled on the vPC port on both the vPC peers.
This command does not require a license.
Examples
This example shows how to enable port security on the switch:
switch#
configure terminal
switch(config)#
feature port-security
switch(config)#
This example shows how to disable port security on the switch:
switch#
configure terminal
switch(config)#
no feature port-security
switch(config)#
Related Commands
Release
Modification
5.2(1)N1(1)
This command was introduced.
Command
Description
show feature
Displays the features that are enabled or disabled on the switch.
Содержание Nexus 5500 Series
Страница 4: ...4 Cisco Nexus 5500 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 Chapter ...
Страница 6: ...18 Cisco Nexus 5500 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 Chapter ...
Страница 36: ...130 Cisco Nexus 5500 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 Chapter C Commands connect ...
Страница 50: ...144 Cisco Nexus 5500 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 Chapter D Commands dvs name ...
Страница 124: ...1118 Cisco Nexus 5500 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 Chapter M Commands mvr type ...
Страница 126: ...1120 Cisco Nexus 5500 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 Chapter M Commands mvr vlan ...
Страница 131: ...1125 Cisco Nexus 5500 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 Chapter N Commands no switchport ...
Страница 132: ...1126 Cisco Nexus 5500 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 Chapter N Commands no switchport ...
Страница 158: ...1152 Cisco Nexus 5500 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 Chapter R Commands revision ...
Страница 438: ...1432 Cisco Nexus 5500 Series NX OS Layer 2 Interfaces Command Reference OL 27880 02 Chapter U Commands udld Ethernet ...