secondary_switch(config-if)#
switchport port-security mac-address 0.0.1 vlan 101
secondary_switch(config-if)#
switchport port-security mac-address 0.0.2 vlan 101
secondary_switch(config-if)#
vpc 10
secondary_switch(config-if)#
copy running-config startup-config
Additional References for Port Security
Related Documents
Document Title
Related Topic
Cisco Nexus 9000 Series NX-OS Layer 2 Switching Configuration Guide
Layer 2
switching
MIBs
Cisco NX-OS provides read-only SNMP support for port security.
MIBs Link
MIBs
To locate and download MIBs, go to the following URL:
http://www.cisco.com/public/sw-center/netmgmt/cmtk/mibs.shtml
• CISCO-PORT-SECURITY-MIB
Traps are supported for
notification of secure MAC
address violations.
Note
Cisco Nexus 9000 Series NX-OS Security Configuration Guide, Release 9.x
325
Configuring Port Security
Additional References for Port Security