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

Cisco not getting proper Vlan and not IP

raut.pawan
Level 1
Level 1

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):

3 Replies 3

mfurnival
Level 4
Level 4

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?

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

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

HTH

Rick
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