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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to trunk multiple vlans off of one port (revisited) help!!

Status
Not open for further replies.

pctechnician

Technical User
Feb 10, 2003
134
0
0
US
rcasta's last post was when you set trunking on the 2950 switch to type:

inter fastethernet 0/8
switchport trunk encapsulation dot1q
switchport mode trunk

well i tried it but there was nothing on encapsulation. Here's what i did: (--means sub categories)

int fa 0/8
switchport trunk
--allowed
--vlan
--add,all,except,remove
--native
--vlan
--add,all,except,remove

no sub category on encapsulation. Is it something im doing wrong. Or do i just config it like this :

switchport mode trunk
switchport trunk allowed vlan <vlan number>

or

switchport mode trunk
switchport trunk allowed vlan <vlan number>

if anybody is wondering what im trying to do see my first post.

thanks

A+,Network+,MCP
 
also i set vlan's 10 and 11 on the 2950 switch. are those vlans getting ip addresses or not?

A+,Network+,MCP
 
this is the way I have my interfaces configure for vlan trunking

interface GigabitEthernet1/1
switchport
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,103
switchport mode trunk

this configuration has to be in both ends of the connection
for example if I connect this to a switch via the Gi0/48 this interface also has to be like

interface GigabitEthernet0/48
switchport
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 1,103
switchport mode trunk

IMPORTANT: you have to allow trunk in both sides not just one.
 
On the 2950 switch that i have there is no option for encapsulation dot1q on it. The only options you have when you go into switchport trunk is allowed and native. that is how i set it.

i.e

interface fastethernet 0/8
switchport mode trunk
switchport trunk allowed vlan add 1,40-42

like i said theres no encapsulation options in switchport trunk mode on my switch. Im running 2950 (could be the ver needs updating)

If theres a way that i have yet to try to get encapsulation let me know please.

A+,Network+,MCP
 
I would guess that either the switch only supports dot1q, therefore there's no option, or your software version is old or has a bug in it.

You could try checking the command reference on CCO for your version of s/w.
 
pctechnician,

Like Piass said, this 2900 surely supports intrinsically dot1q. Since other catalysts for backward compatibility with switches supporting ISL and switches supporting dot1q, the command I gave you awhile ago will do for some models and won't do for others.

Be sure your router does support dot1q (only works on 10/1000 ethernet ports)

cheers,
CCNA
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top