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

VLAN configuration question

Status
Not open for further replies.

30362

MIS
Feb 18, 2003
205
US
I am currently setting up a 3750-EMI switch to connect to 3 different stacks on 3550-SMI switches. I would like to configure each stack (specific to a floor) for a different vlan when connecting to the 3750.

I have created the 3750 as the VTP Server and have created my 3 VLANs in the VLAN database as 101, 102 and 103 (floors 1 through 3). I have also set the 3550s in each stack in VTP client mode and the VTP domain is consistent across the switches.

On my 3750 I setup one port as a trunk to a gigabit port on the 3550:

interface GigabitEthernet1/0/4
description Trunk to Floor 3 Switch Stack port Gi0/2
switchport access vlan 103
switchport trunk encapsulation dot1q
switchport mode trunk

On my 3550 I have setup the Gigabit port as a trunk as well:

interface GigabitEthernet0/2
description Trunk to Core 3750 port Gi1/0/4
switchport access vlan 103
switchport trunk encapsulation dot1q
switchport mode trunk

Although I both appear to be setup, I am having trouble understanding why when I setup the port as part of vlan 103 I still show all ports in vlan1 when I do the SHOW VLAN command and no ports in vlan 103.

I want to leave VLAN1 as an administrative VLAN, but all other ports should be on VLAN 103 (on this switch stack).

Am I missing something obvious?

Thanks in advance.
 
After you use the switchport access vlan 103 command, they still show up as vlan103?
 
You can't have one port both set up as access and trunk. You can use either "switchport mode access" or "switchport mode trunk". And when you set up a port as "switchport mode trunk", it should disappear from output of "show vlan" command. Trunk ports can be verified using "show interfaces trunk" command.

Peter Mesjar
CCNP, A+ certified
pmesjar@centrum.sk

"The only true wisdom is in knowing you know nothing.
 
A trunk needs to be in the native VLAN (normally VLAN1). What you are seeing is deisgned that way.

Remember that a trunk is normally used to connect other switches together and pass more than one VLAN. Hence so, you shouldn't be able to nail it to a specific VLAN because then it wouldn't be a trunk. :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top