cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
436
Views
0
Helpful
1
Replies

MAC address restriction on 2950-24T

anand
Level 1
Level 1

i have got 2950-24T, i wanted to restrict only MAC address to use the fas 0/1 port, if some other MAC address NIC is connected it should not allow is it possible? i tried the following options but couldn't suceed.

interface fas 0/1

switchport mode access

switchport port-security

switchport port-security maximum 6

switchport port-security aging static

switchport port-security mac-address sticky

switchport port-security mac-address sticky 0000.0000.000b

1 Reply 1

amit-singh
Level 8
Level 8

Hi Anand,

First of all please check the number of sticky addresses in the port security table of the switch. The max number of addresses allowed on the interface is 6 so it should learn the 6 mac-addresses and then it will deny the next one.

Use command " show port security "

Please define the voilation mode to shutdown also.

Also check the output of the command " show port-security interface fastethernet0/1 ".

it should show it as enabled and active.

http://www.cisco.com/univercd/cc/td/doc/product/lan/cat2950/12122ea5/2950scg/swtrafc.htm

HTH,

-amit singh

Review Cisco Networking for a $25 gift card