cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
594
Views
0
Helpful
6
Replies

Problem with IP phone on a Cisco 4006

bomcm
Level 1
Level 1

I am currently trying to test using an IP phone with our new Mitel IP phone system. The phone itself is a Mitel 5220 and I am having trouble pulling a DHCP lease when plugged into a Cisco 4006 switch. When trying to pull a lease I get this error on the switch:

2005 Apr 27 18:11:58 %SYS-4-P2_WARN: 1/Tag 0 on packet from 08:00:0f:16:7e:e8 port 5/5, but port's native vlan is 98

VLAN 98 is the voice VLAN and the switch port the phone is in is on VLAN 98. But I only get that error on the switch, and on the phone it says “discovering DHCP” Now here’s the kicker, I took a Dell switch and plugged it into VLAN 98 and then plugged the phone into that Dell switch and voila, it pulls an address and works fine. The Dell switch was out of the box, with no config changes.

After seeing this, just as a test I turned trunking on, on the phone port. The above error went away, but of course I couldn’t pull an IP. The phone has a PC port on it as well so it sounds like to me that the LAN port on the phone is acting as an uplink or trunk port. ??

I am thinking there are some changes I need to make on the Cisco switch port that the phone is in, but I am unsure exactly what to do. Any guidance or help would be great.

Thanks

steve

6 Replies 6

Prashanth Krishnappa
Cisco Employee
Cisco Employee

Can you paste the output of following commands?

sh ver

sh run int fas x/y

sh vlan

Port 5/5 is where the IP phone is plugged in. The second command you wanted wasnt valid in my cli.

Console> (enable) sho ver

WS-C4006 Software, Version NmpSW: 6.4(14)

Copyright (c) 1995-2004 by Cisco Systems, Inc.

NMP S/W compiled on Nov 29 2004, 19:19:46

GSP S/W compiled on Nov 29 2004, 16:38:05

System Bootstrap Version: 5.4(1)

Hardware Version: 5.1 Model: WS-C4006 Serial #:

Mod Port Model Serial # Versions

--- ---- ---------- -------------------- ---------------------------------

1 2 WS-X4013 JAE0 Hw : 5.1

Gsp: 6.4(14.0)

Nmp: 6.4(14)

2 18 WS-X4418 JAE043701UR Hw : 1.0

3 18 WS-X4418 JAE043701GR Hw : 1.0

4 34 WS-X4232-GB-RJ JAE043802ET Hw : 2.3

5 34 WS-X4232-GB-RJ JAE04420070 Hw : 2.3

6 24 WS-X4424-GB-RJ45 JAB071905S5 Hw : 1.5

DRAM FLASH NVRAM

Module Total Used Free Total Used Free Total Used Free

------ ------- ------- ------- ------- ------- ------- ----- ----- -----

1 65536K 34046K 31490K 16384K 5538K 10846K 480K 231K 249K

Uptime is 74 days, 13 hours, 50 minutes

-----------------------------------------------------

Console> (enable) sho run 5

This command shows non-default configurations only.

Use 'show config all' to show both default and non-default configurations.

..................

begin

!

# ***** NON-DEFAULT CONFIGURATION *****

!

!

#time: Thu Apr 28 2005, 09:19:57

!

#module 5 : 34-port 10/100/1000 Ethernet

set vlan 2 5/8-13,5/15,5/17,5/20,5/22,5/25-26

set vlan 8 5/28

set vlan 11 5/4,5/6-7,5/14,5/16,5/18-19,5/29-32,5/34

set vlan 98 5/5

set vlan 100 5/3

set vlan 102 5/24

set vlan 104 5/21,5/23,5/33

set port speed 5/3 10

set udld enable 5/1

set trunk 5/2 on dot1q 1-1005

set trunk 5/5 off dot1q 1-1005

set trunk 5/27 off dot1q 1-1005

set spantree portfast 5/1-2,5/6-26,5/28-34 enable

end

Console> (enable)

-----------------------------------------------------

Console> (enable) sho vlan

VLAN Name Status IfIndex Mod/Ports, Vlans

---- -------------------------------- --------- ------- ------------------------

1 default active 6 1/1-2

5/1,5/27

2 VLAN0002 active 139 2/2,2/4-5,2/8-9,2/12,2/14-18

3/1-18

4/1,4/3,4/5,4/7-8,4/15,4/25-26,4/30-33

5/8-13,5/15,5/17,5/20,5/22,5/25-26

6/1-3,6/5,6/7-24

3 VLAN0003 active 140

8 VLAN0008 active 141 5/28

9 VLAN0009 active 142

10 VLAN0010 active 143

11 VLAN0011 active 144 4/4,4/6,4/9,4/12-13,4/16

5/4,5/6-7,5/14,5/16,5/18-19,5/29-32,5/34

12 VLAN0012 active 145

14 VLAN0014 active 146

20 VLAN0020 active 147

71 VLAN0071 active 148

98 VLAN0098 active 166 4/11

5/5

99 VLAN0099 suspend 165

100 VLAN0100 active 149 4/14

5/3

101 VLAN0101 active 150

102 VLAN0102 active 151 4/27

5/24

103 VLAN0103 active 152

104 VLAN0104 active 153 4/17,4/20

5/21,5/23,5/33

105 VLAN0105 active 154

106 VLAN0106 active 155

120 VLAN0120 active 156

192 VLAN0192 active 157

200 VLAN0200 active 158 4/29,4/34

201 VLAN0201 active 159 4/28

202 VLAN0202 active 160

203 VLAN0203 active 161 4/23-24

204 VLAN0204 active 162 4/21-22

205 VLAN0205 active 163 2/1,2/3,2/6-7,2/10-11,2/13

4/10,4/18-19

6/4,6/6

610 VLAN0610 active 164

1002 fddi-default active 7

1003 trcrf-default active 10

1004 fddinet-default active 8

1005 trbrf-default active 9 1003

dgahm
Level 8
Level 8

According to the 802.1Q/P standard a VLAN ID of 0 indicates no VLAN. So your Mitel phone does not do trunking, but does support QOS by setting 802.1P priority bits. Not sure if there is a way to configure the 4006 to handle this properly.

I have had this working on many occasions with Mitel phones. The issue usually is how you are informing the Phone of the Voice VLAN? Only Cisco IP Phones support Voice VLAN detection via CDP - even though the Mitel Phones run CDP they can't detect the Voice VLAN from it. I think in the VERY latest firmware they may be able to but I haven't worked on them for a few months.

What normally happens is the Phone will initially boot and use no 802.1q tagging. It will send a DHCP request and receive an offer of an IP address on the Access VLAN. The DHCP Server must be configured with the Mitel specific options to tell it what the VLAN tag is (I can't remember what this option is but this must be configured on the Access VLAN Scope and not the Voice VLAN scope). As long as this information is received the Phone with NAK the DHCP offer and start 'talking' using the now-discovered VLAN tag.

The Tag of 0 in the error message would normally indicate that the port has been configured as 'voice vlan dot1p' where the phone will write packets with an 802.1q tag of '0' but will set the 802.1p priority values.

Andy

Just an update, I got this working by doing the following.

*set primary vlan as the data vlan

set vlan

*set port to trunk and no negotiate

set trunk nonegotiate dot1q

*set auxiliary vlan to voice vlan

set port aux

Thanks for all your suggestions.

Review Cisco Networking for a $25 gift card