Skip to main content

How to make port security in Cisco 2950

More
17 years 8 months ago #20107 by bangjdi
Hi,
Could you help me,

please guide me to create port security for interface in Cisco 2950,

i want to make 1 static mac address in 1 interface, and only static mac

address can make connection to switch.

i tried :
Switch(config)# mac-address-table static 0010.b5e1.ecf5 vlan 1 interface FastEthernet0/5

to make static mac address in interface 5

so, waht should i do to make port security enable ?
More
17 years 8 months ago #20110 by TheBishop
Switch)# config t
Switch(config)# int fa0/12
Switch(config-if)# switchport port-security ?
aging Port-security aging commands
mac-address Secure mac address
maximum Max secure addresses
violation Security violation mode

The default form of the command locks you to one MAC address anyway:

Switch(config-if)# switchport port-security
Switch(config-if)#^Z

For more info have a look at www.zdnetasia.com/insight/network/0,39044847,61959170,00.htm
Time to create page: 0.132 seconds