Re: port-security and IP Phones
- From: firewallstarter@xxxxxxxxxxx
- Date: Fri, 20 Jul 2007 06:57:43 -0700
Peter,
thanks for the response. I checked out the MAC address table
timeouts and this is set to 300 seconds the default but when I remove
the PC from the port on the IP phone it does not clear from the table
after 5 mins. In fact the MAC address was still known on that port
the following day.
The solution is to enable aging timeouts within the port-security
config on each interface with the commands below.
switchport port-security aging time 1
switchport port-security aging type inactivity
So the port-security config on the switch reads like this now
switchport port-security
switchport port-security maximum 3
switchport port-security aging time 1
switchport port-security aging type inactivity
This results in the mac address aging out of both the mac-address-
table and the port-security table after 5 mins of activity.
This solves the problem of the moving a PC from one port to another on
the same switch.
I've spotted reference to this problem on the cisco web site here
http://www.cisco.com/en/US/products/hw/switches/ps4324/products_configuration_guide_chapter09186a008082a26d.html#wp1127231
"If a secure MAC address is secured on a port, that MAC address is not
allowed to enter on any other port off that VLAN. If it does, the
packet is dropped unnoticed in the hardware. Other than through the
interface or port counters, you do not receive a log message
reflecting this fact. Be aware that this condition does not trigger a
violation. Dropping these packets in the hardware is more efficient
and can be done without putting additional load on the CPU."
FWS in Dublin
Peter wrote:
Greetings,
On Fri, 13 Jul 2007 16:02:44 UTC, firewallstarter@xxxxxxxxxxx wrote:
I've seen a problem with the port-security feature on switches when
you connect through an IP phone.
The problem arises when a data device, connected through an IP phone,
is moved from one port to another on the same switch. When the data
device is attached to the new port it has no connectivity.
You need to modify the MAC Address table Timeout value for any port
enabled for IP Telephony to a shorter value to allow PC mobility
between these ports. On our switches (3560's) we use 2 minutes and
find that works well enough (except for the really inmpatient people
that only wait 5 seconds before screaming......;-)).
Cheers.................pk.
--
Peter from Auckland.
.
- References:
- port-security and IP Phones
- From: firewallstarter
- Re: port-security and IP Phones
- From: Peter
- port-security and IP Phones
- Prev by Date: Re: To VLAN or NOT!
- Next by Date: Differentiate traffic on VPN Router
- Previous by thread: Re: port-security and IP Phones
- Next by thread: VPDN L2TP pb for routing on virtual acces interface
- Index(es):
Relevant Pages
|