Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cisco Vlan Question

Status
Not open for further replies.

jgshier

IS-IT--Management
Joined
Dec 18, 2003
Messages
1
Location
US
I am an HP guy, and I get the pleasure of configuring a cisco switch. On cisco I need to setup a dual mode port. Meaning having 2 vlans on each port. One for data (pc's) and one for tagged traffic(voice). With HP I tell each port what it's default vlan would be (untagged traffic), and then add as many tagged vlans on top of that one port. So if a pc plugs in, it would always be on the default vlan or untagged vlan. If I plug in my ip phone that sends out tagging info, it would be on the tagged vlan. Does that make since? I saw this and was wondering if this is what I need.
interface GigabitEthernet5/6
switchport
switchport access vlan 100 (default vlan)
switchport trunk encapsulation dot1q
switchport trunk native vlan 100 (does native mean default?)
switchport trunk allowed vlan 119,247 (this would be tagged vlans allowed on this port?)

Jon
!
 
Actually I think you have it . The defaul,t vlan is just the vlan that it will go to if for some reason trunking fails . We haven't had the pleasure of trying to run phones on these things yet but the trunking statements look right to me .
 
With IOS based switches that negotiate trunking (looking at the config then I assume its IOS 12.1+ and either a 2950, 3550, 3750 or an IOS-based Cat 4000 or Cat 6000?) the Native VLAN will NOT be encapsulated with an 802.1q header as long as the port comes up as a trunk. If the port doesn't come up as a trunk then the 'access vlan 100' will take effect. If you are using Cisco IP Phones then you need to specify the 'voice vlan' as this will be advertised via CDP to the phone - 'switchport voice vlan 247'. Restricting the number of vlans is also a good practise, apart from that it looks like you have it.

Andy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top