Saturday, April 24, 2010

HOW TO enable switch port security...

Switch#
Switch#conf
Switch#configure t
Switch(config)#
Switch(config)#
Switch(config)#int fa0/2
Switch(config-if)#
Switch(config-if)# .
Switch(config-if)#
Switch(config-if)#switchport
Switch(config-if)#switchport mode ac
Switch(config-if)#switchport mode access
Switch(config-if)#
Switch(config-if)#switchport
Switch(config-if)#switchport port-security
Switch(config-if)#
Switch(config-if)#switchport port-security max
Switch(config-if)#switchport port-security maximum 1
Switch(config-if)#switchport port-security mac
Switch(config-if)#switchport port-security mac-address 0013.d3fe.6q4l2 (MAC add. of computer)
Switch(config-if)#sw
Switch(config-if)#switchport po
Switch(config-if)#switchport port-security vi
Switch(config-if)#switchport port-security violation sh
Switch(config-if)#switchport port-security violation shutdown
Switch(config-if)#exit

PANKAJ SHARMA....

http://www.tech-o-matics.com/

No comments:

Post a Comment