11-04-2006 11:32 AM - edited 03-05-2019 12:37 PM
Hi, sorry if this is a stupid question:
In my cat 2900XL, I configure both fa0/1 and fa0/2 as 'switchport mode trunk', dot1 encapsulation.
I created VLAN1 and VLAN2. I want to have VLAN1 associated with fa0/1 (what it is by default). I want to VLAN2 associated with fa0/2.
I do 'show vlan' and the fa0/2 doesn't appear. What am I missing ?
Please find attached output.
My goal is to configure the scenario outlined on http://www.cisco.com/en/US/tech/tk389/tk621/technologies_tech_note09186a00800ae96a.shtml
Solved! Go to Solution.
11-05-2006 07:14 AM
I think you are getting hungup on a idea that the vlan is not showing up on a particular port , or correct me if I am wrong . The show vlan command only shows "access ports" and the interfaces they are associated with , if the port f0/1 or f0/2 is a "active" trunk it will "not" show up with this command , this is normal . If you look at your original post port f0/1 does not show up in vlan 1 either , this is also normal because the port is a trunk . As long as the trunk is up and active and you have the vlans allowed that you want to use that is all that matters , on newer IOS switches this can be verified with the "show int trunk" command , though I am not sure if this command works on the old 2924's ,have never tried trunking one of those old switches . Also you seem to be trying to run client /server for vtp , make sure you don't have another switch as a server as you could be getting conflicting vlan information if you are making changes the 2924 switch and you insert that back into the network and the vtp revision numbers are not the same . The server using the highest vtp revision numbers propagates the vtp info into the network . You do not have to have port f0/2 assigned to vlan 2 if the port is a trunk , by default the native vlan will then be vlan 1 which only means if the trunk goes down it will be in vlan 1 , as long as vlan 2 is allowed across that trunk everything should be fine . Also the switchport trunk allowed command has nothing to do with the "show vlan " command as stated above , use the show interface trunk command to verify the trunk and allowed vlans on the trunk .
11-05-2006 07:41 AM
That makes sense. 'show int trunk' doesn't work on my 2900XL, but I do this on the 3550 when interfaces are up and now I am getting this right. Thanks a lot !
That explains.
Switch#show int trunk
Port Mode Encapsulation Status Native vlan
Fa0/1 on 802.1q trunking 1
Fa0/2 on 802.1q trunking 1
Port Vlans allowed on trunk
Fa0/1 1-4094
Fa0/2 1-4094
Port Vlans allowed and active in management domain
Fa0/1 1-2
Fa0/2 1-2
Port Vlans in spanning tree forwarding state and not pruned
Fa0/1 none
Fa0/2 none
Switch#show vlan
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active Fa0/3, Fa0/4, Fa0/5, Fa0/6
Fa0/7, Fa0/8, Fa0/9, Fa0/10
Fa0/11, Fa0/12, Fa0/13, Fa0/14
Fa0/15, Fa0/16, Fa0/17, Fa0/18
Fa0/19, Fa0/20, Fa0/21, Fa0/22
Fa0/23, Fa0/24, Gi0/1, Gi0/2
2 VLAN0002 active
1002 fddi-default act/unsup
1003 token-ring-default act/unsup
1004 fddinet-default act/unsup
1005 trnet-default act/unsup
VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1 enet 100001 1500 - - - - - 0 0
2 enet 100002 1500 - - - - - 0 0
1002 fddi 101002 1500 - - - - - 0 0
1003 tr 101003 1500 - - - - - 0 0
1004 fdnet 101004 1500 - - - ieee - 0 0
1005 trnet 101005 1500 - - - ibm -
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide