03-29-2011 01:35 PM - edited 03-06-2019 04:20 PM
Hi all, having looked around this forum and not finding the answer i thought I'd post a question.
I have a WS-C2960-48TT-L, 12.2(25)SEE3 and I need to configure port security, specifically I need to configure the same set of computer MAC address' on every port on the switch so that they can plug into any port.
Ant help greatly appreciated.
03-29-2011 01:43 PM
Please check if you are looking for this.
And do rate helpful posts.
Thanks.
03-29-2011 01:49 PM
Thanks for the reply. I have followed that document but when i try to apply the command
"switchport port-security mac-address 0014.22f8.d44d"
I receive the following error
"Found duplicate mac-address 0014.22f8.d44d."
This is the config I am trying to use.
switchport mode access
switchport port-security maximum 2
switchport port-security
switchport port-security mac-address 0014.22f8.d44d
03-29-2011 04:05 PM
Hi,
Looks like the port security doesnot allow you to configure the same MAC in multiple ports..
Instead try using MAC ACL
Switch(config)#mac access-list extended ?
WORD access-list name
Switch(config)#mac access-list extended MAC_ACL
Switch(config-ext-macl)#permit ?
H.H.H 48-bit source MAC address
any any source MAC address
host A single source host
Switch(config-ext-macl)#permit host 222.222.222 any ---------------> Use the MAC address for the permitted host
Switch(config)#int gigabitEthernet 1/0/1
Switch(config-if)#mac access-group MAC_ACL In
You can create an ACL to allow certain hosts and apply them in the L2 ports..
Regards.
03-29-2011 11:43 PM
Hi,
I will give this a go today.
Thanks
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide