Disable Unused ports

  • (config)#int range f0/1-24
  • (config-if-range)shut

Port Security Configuration

  • (config-if)#switchport mode access
    • must be an access port to apply port-security
  • (config-if)#switchport port-security
  • (config-if)#switchport port-security maximum [number of MACs allowed]
  • (config-if)#switchport port-security mac-address [mac address]
    • To statically assign a MAC address to a port.