cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1713
Views
0
Helpful
35
Replies

Voice works, data doesn't .....why?

steve.grosz
Beginner
Beginner

Here's the backstory.  We are moving from a Cisco 4006 to a series of 5 stacked 2960 switches.  I used the web interface on the 2960's to configure the ports for voice and data.

When I plug the 2960 G0/1 into our router, and then plug a 7960 phone into the switch, the phone configures, and I am able to make voice calls just fine.

When I plug a computer into the back of the phone (like we have set up in our offices), the computer is unable to get a IP from our DHCP server.

Did I miss something???  Why would this be happening?

There is 1 vlan on the router, vlan 274, and the voice is set to use that vlan.  I'm not sure how to get the data to go through the phone to the router and beyond.

Anyone have any ideas on what I might have missed??

35 Replies 35

OK, you need to know which VLAN the dhcp server is assigned to. What port on the switch is it plugged to? From your config, I assume it will be in VLAN 1.

Have you configured routing between the Vlan 1 and the VLAN 274. You need to set up a trunk port on the router as follows...

interface GigabitEthernet0/1

no ip address,

interface GigabitEthernet0/1.1

ip address 164.165.71.1 255.255.255.0

encapsulation dot1Q 1

Ensure that you have console acccess to the switch, because if you are using telnet or ssh on this LAN port, you will loose connectivity when you make this change

Please rate all useful posts

"'Nature is too thin a screen, the glory of the omnipresent God bursts through it everywhere"-Ralph Waldo Emerson

Please rate all useful posts

Here is the config of the 4006 switch I'm trying to replace, if that helps:

Port 1/2 is the trunk port to the servers in the other server room, and is configured by:

#module 1 : 2-port 1000BaseX Supervisor

set trunk 1/2  on dot1q 1-1005,1025-4094

Console> (enable) sh running-config

begin

!

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

!

!

#time: Sat Sep 29 2012, 12:48:04

!

#version 8.4(11)GLX

!

!

#system web interface version(s)

set password $2$f6KA$ql5hkFv6gBSmGGGW5K.r3.

--More--                        set enablepass $2$NeSp$mEwifV8alNlbq7Opt11jG1

set config mode text nvram

!

#dot1x

set feature dot1x-radius-keepalive disable

!

#frame distribution method

set port channel all distribution mac both

!

#vtp

set vtp mode transparent vlan

set vlan 274 name VOICE type ethernet mtu 1500 said 100274 state active

set vlan 1002 name fddi-default type fddi mtu 1500 said 101002 state active

set vlan 1004 name fddinet-default type fddinet mtu 1500 said 101004 state active stp ieee

set vlan 1005 name trnet-default type trbrf mtu 1500 said 101005 state active stp ibm

set vlan 1

set vlan 1003 name token-ring-default type trcrf mtu 1500 said 101003 state active mode srb aremaxhop 7 stemaxhop 7 backupcrf off

!

#ip

set interface sc0 1 10.150.1.2/255.255.255.0 10.150.1.255

set interface sl0 down

set interface me1 down

--More--                        set ip alias default         0.0.0.0

!

#dns

set ip dns server 10.150.1.6 primary

set ip dns server 10.150.1.7

set ip dns domain commerce.idaho.gov

!

#set boot command

set boot config-register 0x10f

set boot system flash bootflash:cat4000-k9.8-4-11-GLX.bin

set boot system flash bootflash:

!

#qos

set qos enable

set qos map 2q1t 2 1 cos 2-3

set qos map 2q1t 2 1 cos 4-5

set qos map 2q1t 2 1 cos 6-7

!

#multicast filter

set igmp filter disable

!

#module 1 : 2-port 1000BaseX Supervisor

set trunk 1/2  on dot1q 1-1005,1025-4094

--More--                        !

#module 2 : 48-port Inline Power Module

set port auxiliaryvlan 2/2 274

set port auxiliaryvlan 2/3 274

set port auxiliaryvlan 2/4 274

set port auxiliaryvlan 2/5 274

set port auxiliaryvlan 2/6 274

set port auxiliaryvlan 2/7 274

set port auxiliaryvlan 2/8 274

set port auxiliaryvlan 2/9 274

set port auxiliaryvlan 2/10 274

set port auxiliaryvlan 2/11 274

set port auxiliaryvlan 2/12 274

set port auxiliaryvlan 2/13 274

set port auxiliaryvlan 2/14 274

set port auxiliaryvlan 2/15 274

set port auxiliaryvlan 2/16 274

set port auxiliaryvlan 2/17 274

set port auxiliaryvlan 2/18 274

set port auxiliaryvlan 2/19 274

set port auxiliaryvlan 2/20 274

set port auxiliaryvlan 2/21 274

set port auxiliaryvlan 2/22 274

--More--                        set port auxiliaryvlan 2/23 274

set port auxiliaryvlan 2/24 274

set port auxiliaryvlan 2/25 274

set port auxiliaryvlan 2/26 274

set port auxiliaryvlan 2/27 274

set port auxiliaryvlan 2/28 274

set port auxiliaryvlan 2/29 274

set port auxiliaryvlan 2/30 274

set port auxiliaryvlan 2/31 274

set port auxiliaryvlan 2/32 274

set port auxiliaryvlan 2/33 274

set port auxiliaryvlan 2/34 274

set port auxiliaryvlan 2/35 274

set port auxiliaryvlan 2/36 274

set port auxiliaryvlan 2/37 274

set port auxiliaryvlan 2/38 274

set port auxiliaryvlan 2/39 274

set port auxiliaryvlan 2/40 274

set port auxiliaryvlan 2/41 274

set port auxiliaryvlan 2/42 274

set port auxiliaryvlan 2/43 274

set port auxiliaryvlan 2/44 274

set port auxiliaryvlan 2/45 274

--More--                        set port auxiliaryvlan 2/46 274

set port auxiliaryvlan 2/47 274

set port auxiliaryvlan 2/48 274

set port disable    2/1

set port speed      2/1,2/12  100

set port duplex     2/1,2/12  full

set port trap       2/11  enable

set port name       2/1  ADMIN 3560

set trunk 2/1  off dot1q 1-1005,1025-4094

set trunk 2/4  auto dot1q 1-1005,1025-4094

set trunk 2/8  auto dot1q 1-1005,1025-4094

set trunk 2/9  auto dot1q 1-1005,1025-4094

set trunk 2/10 auto dot1q 1-1005,1025-4094

set trunk 2/11 auto dot1q 1-1005,1025-4094

set trunk 2/14 auto dot1q 1-1005,1025-4094

set trunk 2/19 auto dot1q 1-1005,1025-4094

set trunk 2/25 auto dot1q 1-1005,1025-4094

set trunk 2/27 auto dot1q 1-1005,1025-4094

set trunk 2/28 auto dot1q 1-1005,1025-4094

set trunk 2/29 auto dot1q 1-1005,1025-4094

set trunk 2/30 auto dot1q 1-1005,1025-4094

set trunk 2/31 auto dot1q 1-1005,1025-4094

--More--                        set trunk 2/37 auto dot1q 1-1005,1025-4094

set trunk 2/38 auto dot1q 1-1005,1025-4094

set trunk 2/39 auto dot1q 1-1005,1025-4094

set trunk 2/40 auto dot1q 1-1005,1025-4094

set trunk 2/41 auto dot1q 1-1005,1025-4094

set trunk 2/42 auto dot1q 1-1005,1025-4094

set trunk 2/43 auto dot1q 1-1005,1025-4094

set trunk 2/46 auto dot1q 1-1005,1025-4094

set trunk 2/48 auto dot1q 1-1005,1025-4094

!

#module 3 : 48-port Inline Power Module

set port auxiliaryvlan 3/1 274

set port auxiliaryvlan 3/2 274

set port auxiliaryvlan 3/3 274

set port auxiliaryvlan 3/4 274

set port auxiliaryvlan 3/5 274

set port auxiliaryvlan 3/6 274

set port auxiliaryvlan 3/7 274

set port auxiliaryvlan 3/8 274

set port auxiliaryvlan 3/9 274

set port auxiliaryvlan 3/10 274

set port auxiliaryvlan 3/11 274

set port auxiliaryvlan 3/12 274

--More--                        set port auxiliaryvlan 3/13 274

set port auxiliaryvlan 3/14 274

set port auxiliaryvlan 3/15 274

set port auxiliaryvlan 3/16 274

set port auxiliaryvlan 3/17 274

set port auxiliaryvlan 3/18 274

set port auxiliaryvlan 3/19 274

set port auxiliaryvlan 3/20 274

set port auxiliaryvlan 3/21 274

set port auxiliaryvlan 3/22 274

set port auxiliaryvlan 3/23 274

set port auxiliaryvlan 3/24 274

set port auxiliaryvlan 3/25 274

set port auxiliaryvlan 3/26 274

set port auxiliaryvlan 3/27 274

set port auxiliaryvlan 3/28 274

set port auxiliaryvlan 3/29 274

set port auxiliaryvlan 3/30 274

set port auxiliaryvlan 3/31 274

set port auxiliaryvlan 3/32 274

set port auxiliaryvlan 3/33 274

set port auxiliaryvlan 3/34 274

set port auxiliaryvlan 3/35 274

--More--                        set port auxiliaryvlan 3/36 274

set port auxiliaryvlan 3/37 274

set port auxiliaryvlan 3/38 274

set port auxiliaryvlan 3/39 274

set port auxiliaryvlan 3/40 274

set port auxiliaryvlan 3/41 274

set port auxiliaryvlan 3/42 274

set port auxiliaryvlan 3/43 274

set port auxiliaryvlan 3/44 274

set port auxiliaryvlan 3/45 274

set port auxiliaryvlan 3/46 274

set port auxiliaryvlan 3/47 274

set port auxiliaryvlan 3/48 274

set port trap       3/11  enable

set trunk 3/10 auto dot1q 1-1005,1025-4094

set trunk 3/16 auto dot1q 1-1005,1025-4094

set trunk 3/24 auto dot1q 1-1005,1025-4094

set trunk 3/26 auto dot1q 1-1005,1025-4094

set trunk 3/27 auto dot1q 1-1005,1025-4094

set trunk 3/30 auto dot1q 1-1005,1025-4094

set trunk 3/31 auto dot1q 1-1005,1025-4094

set trunk 3/33 auto dot1q 1-1005,1025-4094

set trunk 3/36 auto dot1q 1-1005,1025-4094

--More--                        set trunk 3/37 auto dot1q 1-1005,1025-4094

set trunk 3/39 auto dot1q 1-1005,1025-4094

!

#module 4 : 48-port Inline Power Module

set port auxiliaryvlan 4/1 274

set port auxiliaryvlan 4/2 274

set port auxiliaryvlan 4/3 274

set port auxiliaryvlan 4/4 274

set port auxiliaryvlan 4/5 274

set port auxiliaryvlan 4/6 274

set port auxiliaryvlan 4/7 274

set port auxiliaryvlan 4/8 274

set port auxiliaryvlan 4/9 274

set port auxiliaryvlan 4/10 274

set port auxiliaryvlan 4/11 274

set port auxiliaryvlan 4/12 274

set port auxiliaryvlan 4/13 274

set port auxiliaryvlan 4/14 274

set port auxiliaryvlan 4/15 274

set port auxiliaryvlan 4/16 274

set port auxiliaryvlan 4/17 274

set port auxiliaryvlan 4/18 274

set port auxiliaryvlan 4/19 274

--More--                        set port auxiliaryvlan 4/20 274

set port auxiliaryvlan 4/21 274

set port auxiliaryvlan 4/22 274

set port auxiliaryvlan 4/23 274

set port auxiliaryvlan 4/24 274

set port auxiliaryvlan 4/25 274

set port auxiliaryvlan 4/26 274

set port auxiliaryvlan 4/27 274

set port auxiliaryvlan 4/28 274

set port auxiliaryvlan 4/29 274

set port auxiliaryvlan 4/30 274

set port auxiliaryvlan 4/31 274

set port auxiliaryvlan 4/32 274

set port auxiliaryvlan 4/33 274

set port auxiliaryvlan 4/34 274

set port auxiliaryvlan 4/35 274

set port auxiliaryvlan 4/36 274

set port auxiliaryvlan 4/38 274

set port auxiliaryvlan 4/39 274

set port auxiliaryvlan 4/40 274

set port auxiliaryvlan 4/41 274

set port auxiliaryvlan 4/42 274

set port auxiliaryvlan 4/45 274

--More--                        set port auxiliaryvlan 4/47 274

set port name       4/37 3825UCE

set port name       4/43 Commerce_2960SW1

set port name       4/44 Commerce_2960SW2

set trunk 4/2  auto dot1q 1-1005,1025-4094

set trunk 4/4  auto dot1q 1-1005,1025-4094

set trunk 4/6  auto dot1q 1-1005,1025-4094

set trunk 4/17 auto dot1q 1-1005,1025-4094

set trunk 4/26 auto dot1q 1-1005,1025-4094

set trunk 4/28 auto dot1q 1-1005,1025-4094

set trunk 4/31 auto dot1q 1-1005,1025-4094

set trunk 4/34 auto dot1q 1-1005,1025-4094

set trunk 4/36 auto dot1q 1-1005,1025-4094

set trunk 4/37 nonegotiate dot1q 1-1005,1025-4094

set trunk 4/43 on dot1q 1-1005,1025-4094

set trunk 4/44 on dot1q 1-1005,1025-4094

set trunk 4/45 auto dot1q 1-1005,1025-4094

set trunk 4/47 auto dot1q 1-1005,1025-4094

!

#module 5 empty

!

#module 6 empty

end

Console> (enable) 2012 Sep 29 12:48:49 %ETHC-5-PORTFROMSTP:Port 1/2 left bridge port 1/2

2012 Sep 29 12:48:49 %DTP-5-NONTRUNKPORTON:Port 1/2 has become non-trunk

2012 Sep 29 12:49:05 %DTP-5-TRUNKPORTON:Port 1/2 has become dot1q trunk

Console> (enable) 2012 Sep 29 12:49:17 %ETHC-5-PORTTOSTP:Port 1/2 joined bridge port 1/2

Console> (enable) exit

Session Disconnected...

Cisco Systems, Inc. Console           Sat

Enter password:

Have you configured this comman on the router as I posted a while ago?

interface gig0/1

no ip address

interface GigabitEthernet0/1.1

ip address 164.165.71.1 255.255.255.0

encapsulation dot1Q 1

Please rate all useful posts

"'Nature is too thin a screen, the glory of the omnipresent God bursts through it everywhere"-Ralph Waldo Emerson

Please rate all useful posts

I haven't yet, but will do it next.  What about the other commands that are associated with G0/1??

Dont worry about the other configs, leave them on the main interface (gig0/1)

Please rate all useful posts

"'Nature is too thin a screen, the glory of the omnipresent God bursts through it everywhere"-Ralph Waldo Emerson

Please rate all useful posts

Ok, created the interface g0/1.1 and added the IP address.

Then moved the cable from the trunk port on the 4006 to the trunk port on the 2960.  The IP phone started up fine, and when I plug the data cable into the back of the phone, I have the same problem.  Doesn't get a IP

I also plugged directly into the switch with the laptop, and I don't get a IP.

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:

Recognize Your Peers