cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4180
Views
0
Helpful
5
Replies

Connecting unmanaged switch to managed switch

paranengmoose
Level 1
Level 1

Hi, I am trying to understand how my customer's setup is working properly.

I told them it would not work, but they proceeded to buy the unmanaged switch and it is now working.

So embarrassing.

Here is a brief diagram of the setup.

Phone ---- Unmanaged switch ---- managed switch

On the interface of managed switch, I have access vlan 100 and voice vlan 5 configured.

In my understanding, the managed switch should drop if the frame is not tagged with vlan 100 or vlan 5.

But when I connected the phone to the unmanaged switch, it got all information from CUCM and can make outbound and inbound calls.

The models of unmanaged switch and managed switch are POE-SW800-P4 and Cisco Catalyst 2960X.

Please advise.

Thanks

5 Replies 5

Carlos Villagran
Cisco Employee
Cisco Employee

Hi!

Between the unmanaged SW and the Managed SW do you have a trunk configured?

When you say 'The interface of managed switch' you mean SVIs?

When Phone boots it sends a broadcast to DHCP listening servers which are in its same broadcast domain unless helper address is configured in a node, if this is the case, probably there is something listening in the same broadcast domain as the Phone and of course replying or redirecting to the DHCP server, however more info is needed since there are many scenarios.

Best regards!

JC

Hi Carlos,

it is the physical interface, which is gigabitethernet 0/x.

Trunking was disabled on the interface with the command switchport mode access.

Thanks

Hi!

Phones are getting into the access vlan 100 and getting IP from that VLAN, since the phone have no way to know which vlan is the voice VLAN (due to CDP/LLDP negotiation stuff, Phones are connected in the Unmanaged SW) so yeah, if your Call Manager is able to provide DHCP service to VLAN 100 that is probably what is happening. 

Hope it helps, best regards!

JC

Joseph W. Doherty
Hall of Fame
Hall of Fame

Disclaimer

The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.

Liability Disclaimer

In no event shall Author be liable for any damages wha2tsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.

Posting

In my understanding, the managed switch should drop if the frame is not tagged with vlan 100 or vlan 5.

Well, your managed switch might allow for native, i.e. untagged, frames too.  If fact, if an access port is only set to access vlan 100, vlan 100 frames, by default, would be sent out untagged.  Only the voice vlan 5 packets would be expected to be tagged.

Although your port might be configured for voice vlan 5, it's possible your phone is not tagging its frames and is running over vlan 100.  If so, that would easily explain why the unmanaged switch doesn't cause a problem.

It's also possible, your unmanaged switch passes vlan 5 tagged frames, as is, especially if the frames are not maximum size.

devils_advocate
Level 7
Level 7

An unmanaged switch has no concept of Vlans, it simply sends frames untagged out all its interfaces, including those to other switches.

The switchport you have is expecting two types of frames, one Untagged and one tagged. The Access Vlan is 100 so any frames it receives which are untagged, it will assume they are part of this Vlan. The voice vlan is 5 so its expecting tagged frames in this vlan but as the traffic is transiting an unmanaged switch, I don't believe it is going to receive any tagged frames.

Has the phone picked up an IP address in the voice vlan or in vlan 100?

Review Cisco Networking for a $25 gift card