Thursday, 15 January 2015

port security configuration(CCNA)

Switch(config)# interface interface_id
Switch(config-if)# switchport mode access
Switch(config-if)# switchport port-security
Switch(config-if)# switchport port-security
maximum value
Switch(config-if)# switchport port-security
violation {restrict | shutdown}
Switch(config-if)# switchport port-security limit
rate invalid-source-mac
Switch(config-if)# switchport port-security
mac-address mac_address
Switch(config-if)# switchport port-security
mac-address sticky
Switch(config-if)# end
Switch# show port-security address
interface interface_id
 Switch# show port-security address