Skip to content

Instantly share code, notes, and snippets.

@poing
Created February 4, 2020 01:56
Show Gist options
  • Save poing/69112a17fa1dda70713b70030a46c5cb to your computer and use it in GitHub Desktop.
Save poing/69112a17fa1dda70713b70030a46c5cb to your computer and use it in GitHub Desktop.

Profile “ACCESS” for RSN equipment (e.g. UPS, PDU, CIMC, FXOS)

switchport port-security
switchport port-security maximum 1
switchport port-security violation shutdown
switchport port-security mac-address sticky

Profile “WAP” for Cisco Access Points

switchport port-security
switchport port-security maximum 1
switchport port-security violation shutdown
switchport port-security mac-address sticky
cdp enable

Profile “TYPE12” for Type-1/2 equipment (e.g. VLAN 100-299)

switchport port-security
switchport port-security maximum 1
switchport port-security violation restrict

Profile “AVPL”

switchport port-security
switchport port-security maximum 2
switchport port-security violation restrict
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment