LPS port-security violation shutdown doesn't work
Posted: 17 Feb 2011 09:31
Hi,
I'm trying to use the LPS feature "port-security slot/port violation shutdown" and experience a strange behavior.
I want to configure LPS on a port so it accepts one, and only one, MAC and if he sees an another MAC its shutdowns (not filters, shutdowns) the port
My conf is :
port-security 1/20 enable
port-security 1/20 maximum 1
port-security shutdown 10 convert-to-static enable
port-security 1/20 max-filtering 1
port-security 1/20 violation shutdown
Omniswitch 6400 AOS 6.4.3.640
But with this conf, i have the following behavior :
- I Start learning window with port-security shutdown 10
- I plug my test computer N°1 on 1/20 port
- MAC is learned (i see it with "show arp", "show mac-address-table" and "show port-security")
- I let the learning window expire (Dynamic MAC is converted to static successfully)
- I unplug computer N°1
- I plug computer Computer N°2 (with a different MAC) on 1/20 port
- I would think that second MAC will provoke the shutdown of the 1/20 port but the interface is still up ("show vlan port 1/20" shows that 1/20 is in forwarding state). However Computer N°2 is not able to access the network (I ping the ip interface of the switch in the same vlan and the same IP network and have no response).
- When I unplug computer N°2 and plug back Computer N°1, Computer N°1 can perfectly access to the network. The switch seems to act like I used "port-security 1/20 violation restrict" instead of "port-security 1/20 violation shutdown".
Have someone a hint ? Did I misconfigure something ? Is it a bug ?
thanks for your answers and advices
Matt
I'm trying to use the LPS feature "port-security slot/port violation shutdown" and experience a strange behavior.
I want to configure LPS on a port so it accepts one, and only one, MAC and if he sees an another MAC its shutdowns (not filters, shutdowns) the port
My conf is :
port-security 1/20 enable
port-security 1/20 maximum 1
port-security shutdown 10 convert-to-static enable
port-security 1/20 max-filtering 1
port-security 1/20 violation shutdown
Omniswitch 6400 AOS 6.4.3.640
But with this conf, i have the following behavior :
- I Start learning window with port-security shutdown 10
- I plug my test computer N°1 on 1/20 port
- MAC is learned (i see it with "show arp", "show mac-address-table" and "show port-security")
- I let the learning window expire (Dynamic MAC is converted to static successfully)
- I unplug computer N°1
- I plug computer Computer N°2 (with a different MAC) on 1/20 port
- I would think that second MAC will provoke the shutdown of the 1/20 port but the interface is still up ("show vlan port 1/20" shows that 1/20 is in forwarding state). However Computer N°2 is not able to access the network (I ping the ip interface of the switch in the same vlan and the same IP network and have no response).
- When I unplug computer N°2 and plug back Computer N°1, Computer N°1 can perfectly access to the network. The switch seems to act like I used "port-security 1/20 violation restrict" instead of "port-security 1/20 violation shutdown".
Have someone a hint ? Did I misconfigure something ? Is it a bug ?
thanks for your answers and advices
Matt