Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do you lock down a Cisco port to a MAC

Status
Not open for further replies.

dibbt

IS-IT--Management
Oct 13, 2009
7
0
0
US
I've got a Cisco 2950 switch, and I'm wondering if there is a way to lock down a port so that only a particular MAC address can be connected to that port?


logo.png


Certified Medisoft support center
 
switch(config-if)#switchport mode access
switch(config-if)#switchport port-security mac-adress xxxx.xxxx.xxxx
switch(config-if)#switchport port-security max 1
switch(config-if)#end
switch#wr

/

tim@tim-laptop ~ $ sudo apt-get install windows
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package windows...Thank Goodness!
 
adding to burtsbee's, i would put the mac address in an ACL .. that way you just have to change the ACL instead of the config commands for the ports...
that is however just my two cents. I dont like having messy configuration, make an ACL , add a description and then apply it using the port-security feature.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top