EasyManua.ls Logo

Cisco Nexus 7000 Series - Page 710

Cisco Nexus 7000 Series
1018 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
This command does not require a license.
Maximums for Access Ports and Trunk Ports
For an interface used as an access port, we recommend that you use the default interface maximum of one
secure MAC address.
For an interface used as a trunk port, set the interface maximum to a number that reflects the actual number
of hosts that could use the interface.
Interface Maximums, VLAN Maximums, and the Device Maximum
The sum of all VLAN maximums that you configure on an interface cannot exceed the interface maximum.
For example, if you configure a trunk-port interface with an interface maximum of 10 secure MAC addresses
and a VLAN maximum of 5 secure MAC addresses for VLAN 1, the largest maximum number of secure
MAC addresses that you can configure for VLAN 2 is also 5. If you tried to configure a maximum of 6 secure
MAC addresses for VLAN 2, the device would not accept the command.
Examples
This example shows how to configure an interface maximum of 10 secure MAC addresses on the Ethernet
2/1 interface:
switch# configure terminal
switch(config)# interface ethernet 2/1
switch(config-if)# switchport port-security maximum 10
switch(config-if)#
Related Commands
DescriptionCommand
Enables port security globally.feature port-security
Shows information about port security.show port-security
Enables port security on a Layer 2 interface.switchport port-security
Configures the aging time for dynamically learned,
secure MAC addresses.
switchport port-security aging time
Configures the aging type for dynamically learned,
secure MAC addresses.
switchport port-security aging type
Configures a static MAC address.switchport port-security mac-address
Enables the sticky method for learning secure MAC
addresses.
switchport port-security mac-address sticky
Configures the security violation action for an
interface.
switchport port-security violation
Cisco Nexus 7000 Series Security Command Reference
684
S Commands
switchport port-security maximum

Table of Contents

Other manuals for Cisco Nexus 7000 Series

Related product manuals