cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1164
Views
0
Helpful
3
Replies

MAC of IP phone in two vlans

Wassim Aouadi
Level 4
Level 4

Hi,

do you have any idea about why I see the MAC address of an IP phone in both access vlan and voice vlan? vlan 11 is my access vlan, and vlan 2222 is my voice vlan.

TNSWACCS01A1#sh mac address-table interface fa1/0/12
          Mac Address Table
-------------------------------------------

Vlan    Mac Address       Type        Ports
----    -----------       --------    -----
  11    0024.8154.2aca    DYNAMIC     Fa1/0/12
  11    9caf.caff.5a8c    DYNAMIC     Fa1/0/12
2222    9caf.caff.5a8c    DYNAMIC     Fa1/0/12
Total Mac Addresses for this criterion: 3

3 Replies 3

ADAM CRISP
Level 4
Level 4

The switch port is a trunking port, and if it's a Cisco phone, it learns which vlan to tag voice frames with from CDP.

Presuumably the CDP frames are present on the native vlan, which in your case is vlan 11, so the phone is present on this vlan.

Other brand phones - such as Avaya use a different mechanism for discovering the voice vlan, eg via dhcp in the native vlan and using a dhcp option to learn the voice vlan....

Adam

Adam,

Here, vlan 11 is my access vlan not the native one. Let me show you the configuration:

interface FastEthernet1/0/12
switchport access vlan 11
switchport mode access
switchport voice vlan 2222
priority-queue out
mls qos trust cos
spanning-tree portfast
spanning-tree bpduguard enable
end

yes, so CDP frames will leave your switch untagged in vlan 11

and untagged frames from your phone will be in vlan 11.

Adam

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: