Need help configuring Multi Vlan's on a single port in Cisco to connect a static printer

  • 0
  • 1
  • Problem
  • Updated 2 years ago
  • Solved

I have to connect a static printer (ie 10.10.1.25) using vlan 10 to a hub that has multiple devices connected that are using vlan 20 (ie 10.20.1.25). The hub is connected to switchport int gig0/12. 

int gig 0/12                                                                                                                          switchport access vlan 20

I've tried this config.....

int gig 0/12 / switchp mode trunk / switchp trunk native vlan 20 / switchp trunk allowed vlan 10

It does not work. Am I missing something? Please help!

Photo of Sammy

Sammy

  • 110 Points 100 badge 2x thumb
  • frustrated

Posted 2 years ago

  • 0
  • 1
Photo of Patrick Voss

Patrick Voss, Alum

  • 11,594 Points 10k badge 2x thumb
Hello Sammy,

If the device you are connecting is truly a hub then it will not pass tagged traffic to the switch. It will simply broadcast all the traffic into the untagged vlan on the cisco switch (Native vlan). In this scenario you will never be able to get multiple VLANs to communicate through a hub.
Photo of Sammy

Sammy

  • 110 Points 100 badge 2x thumb
Thanks Patrick!
Photo of Drew C.

Drew C., Community Manager

  • 40,206 Points 20k badge 2x thumb
Hi Sammy,
The Hub is primarily a forum for discussion of topics related to Extreme Networks' products, services, and concepts. We're glad to have you! However, it seems your question pertains to an issue you're experiencing with Cisco equipment. That said, I'd bet someone here in our community will have some tips to offer up.  We're a helpful group with a very wide set of network knowledge.

EDIT:  See ^, Patrick beat me to it!
(Edited)
Photo of Sammy

Sammy

  • 110 Points 100 badge 2x thumb
My apologies Drew! But I do appreciate your help.
Photo of Ryan Mathews

Ryan Mathews, Alum

  • 8,988 Points 5k badge 2x thumb
The Hub Community is fabulous and open....this is just yet another example.

As Drew said, we're glad you joined us and hope you're rocking some high-quality purple networking gear too!  
Photo of Pala, Zdenek

Pala, Zdenek, Employee

  • 9,834 Points 5k badge 2x thumb
Have you asked cisco?

I do not believe it is possible without some classification.

The switch does not know to what vlan assign incomming frames.

I know how to do it on our switches.

Good luck.