06-07-2013 05:19 AM - edited 03-07-2019 01:46 PM
Hi one of my cisco phone not getting proper voice vlan it is showing Data Vlan anfd also phone not getting IP address. Please help me here
Switch#sh run int G2/0/3
Building configuration...
Current configuration : 549 bytes
!
interface GigabitEthernet2/0/3
description ### User port Data and Voice ###
switchport access vlan 1113
switchport mode access
switchport voice vlan 2113
switchport port-security maximum 4
switchport port-security
switchport port-security violation restrict
speed 100
duplex full
srr-queue bandwidth share 1 25 45 30
priority-queue out
no snmp trap link-status
mls qos trust device cisco-phone
mls qos trust dscp
spanning-tree portfast
spanning-tree bpduguard enable
spanning-tree guard loop
ip dhcp snooping limit rate 15
end
Switch#sh mac address-table int G2/0/3
Mac Address Table
-------------------------------------------
Vlan Mac Address Type Ports
---- ----------- -------- -----
1113 2401.c73d.f282 STATIC Gi2/0/3
Switch#sh cdp nei G2/0/3 de
-------------------------
Device ID: SEP2401C73DF282
Entry address(es):
Platform: Cisco IP Phone 6941, Capabilities: Host Phone Two-port Mac Relay
Interface: GigabitEthernet2/0/3, Port ID (outgoing port): Port 1
Holdtime : 175 sec
Second Port Status: Down
Version :
SCCP 9.3.3.2
advertisement version: 2
Duplex: full
Power drawn: 6.000 Watts
Power request id: 31760, Power management id: 0
Power request levels are:6000 0 0 0 0
Management address(es):
06-07-2013 05:28 AM
Hi,
What do you mean when you say "not getting proper voice vlan"?
Do you have a DHCP server configured in VLAN 2113 to give your phones an IP address?
06-07-2013 05:32 AM
Yes as per configuration of phone switchport voice vlan 2113 cisco voice phone should be get voice vlan 2113 but it is getting Data Vlan 1113 switchport access vlan 1113
06-07-2013 02:18 PM
I notice in the output of show mac address table that the type is indicated as static and not dynamic. I also notice that the interface is configured with port security. One thing about port security is that once it has seen a mac on that interface it makes a static entry (so that it can detect when a different device is connected). I wonder if the interface had port security when the phone connected. I wonder what would be the result if you remove (at least temporarily) port security from the interface and dis-connect and reconnect the phone.
HTH
Rick
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide