cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
364
Views
0
Helpful
5
Replies

Port Security

Hi, we have switch port security configured in our network.we have problem which seems to be related to IP phones. the IP phones seems to change the middle part of the MAC and the switch port shutdown as it takes that as a violation.we had two incidents of this nature. only the Middle part of the MAC seem to change and then goes back to normal again.

Can someone assist as to what causes this?

5 Replies 5

Peter Paluch
Cisco Employee
Cisco Employee

Hello,

A phone should not change its MAC address, that would be a strange thing to do. Can you post an example of the two MAC addresses with their different "middle parts"? Is it certain that the phones are responsible for this problems? Isn't it a routine MAC-spoofing attack?

Best regards,

Peter

Hi,

Thanks for the reply. I also agree it is a strange thing but this happens for the second time and everytime wee trace the mac addresses, are mac addresses are Cisco MAC addresses and with a slight change/difference. see mac-addresses below

1. 001e.4a34.db0F - The correct MAC Address(IP Phone)

2. 001e.be91.db0F - The cause of the problem / spoofed MAC address

Hi,

when using port-security in combination with an IP phone and a PC behind the phone, you should allow 3 MAC addresses in your port-security config.

One for the PC, one for the Phone and one for the internal switch of the phone.

HTH,

Dario

This extra configuration should be sufficient:

switchport port-security maximum 2 vlan access

switchport port-security maximum 1 vlan voice

It's because the phone sends at startup an untagged packet to the switch in order to discover the voice vlan.

thanks for the reply. From what I understand I need to configure three MAC addresses in total. Then how do I then get this phone's internal mac-address? there is only one mac-address of the phone.

the other thing we implemented switchport security for almost 2years now and we had only two issues of this kind. all the other ports are configured with maximum of two and configured the mac-address of the phones and the PC.

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