cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
582
Views
0
Helpful
7
Replies

Port Security on Cat 4506 with phone attached

hunnetvl01
Level 1
Level 1

Hi all,

I have been reading on cisco that if if you want to have port-security enabled on a switchport in a c4500 with both PC and phobe attached , the maximum no of allowed MACs should be three.

Why is that?

Vlad

7 Replies 7

mahmoodmkl
Level 7
Level 7

Hi

Because the IP Phone as a built-in switch which assigns a mac-address,so the total should be 3 PC+IP PHONE and the internal switch.

Thanks

Mahmood

Thanks Mahmood,

You mean 2 PCs and 1 Phone no?

The phone has a switch with 2 ports, but anyway it registers in teh CAM as 1 MAC no?

So Phone MAC+ PC MAC = 2 MACs on a port at a time..

Maybe I am being paranoic but sounds logical to me!

Regards,

Vlad

HI

No the mac-address of the phones internal switch which will same as the phone.

If u see the mac-address table of a interface which is connected to PC and Phone u will find three mac's.

Thanks

Mahmood

This is why I got confused:

There are only 2 MACs on each switchport:

sh mac-address-table int fa 5/42

Unicast Entries

vlan mac address type protocols port

-------+---------------+--------+---------------------+--------------------

xx 001e.c936.438e dynamic ip FastEthernet5/42

x 0009.6e04.0868 dynamic ip FastEthernet5/42

Vlad

Hi

Can u post the config of the port.

Thanks

Mahmood

a.cruea1980
Level 3
Level 3

Just a shot in the dark, but I believe this is due to the phone hitting the switch first as an access device, then as a phone device.

If you watch a phone right after it is hooked up to a Cisco switch, it first connects to the switch as a data device, sends CDP packets, gets the voice vlan, then switches over to the voice vlan to do all its operation.

I could well be wrong, though.

This depends on what IOS version configuration guide you read, on 12.2(25)EWA it states the following:

When you enable port security on an interface that is also configured with a voice VLAN, you must set the maximum allowed secure addresses on the port to two plus the maximum number of secure addresses allowed on the access VLAN. When the port is connected to a Cisco IP phone, the IP phone requires up to two MAC addresses. The IP phone address is learned on the voice VLAN and might also be learned on the access VLAN. Connecting a PC to the IP phone requires additional MAC addresses.

So, that is total of three if you are only going to connect an IP Phone and a PC to the IP Phones data port to the PC.

On Later code, they allow you to configure maximum secure addresses per VLAN. You can set a maximum for either the data VLAN or the voice VLAN. You can also set a maximum per-port, just as with access ports.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card