show vlan command

Answered Question
Nov 10th, 2008
User Badges:
  • Bronze, 100 points or more

hi every body!

let say we have a switch with two vlans vlan1,vlan2

port 1,port 2 are in vlan 1 and vlan 2 respectively, while port3 is being used as trunk.

now my question if we use the command " show vlan", how the port 3 will appear?

will port 3 appear being in vlan1, and vlan 2 because port 3 is trunk port?

thanks a lot!

Correct Answer by Edison Ortiz about 8 years 6 months ago

now my question if we use the command " show vlan", how the port 3 will appear?



If it's active, it will not appear on any Vlan as it's part of all Vlans.


If it's not active, it will appear on the trunk native Vlan, which defaults to Vlan 1.


HTH,


__


Edison.


  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
John Blakley Mon, 11/10/2008 - 11:37
User Badges:
  • Purple, 4500 points or more

It won't show up under the show vlan command.


Do a show int f0/3 trunk to see it.


--John

Correct Answer
Edison Ortiz Mon, 11/10/2008 - 17:19
User Badges:
  • Super Bronze, 10000 points or more
  • Hall of Fame,

    Founding Member

now my question if we use the command " show vlan", how the port 3 will appear?



If it's active, it will not appear on any Vlan as it's part of all Vlans.


If it's not active, it will appear on the trunk native Vlan, which defaults to Vlan 1.


HTH,


__


Edison.


johnlloyd_13 Mon, 11/10/2008 - 19:19
User Badges:
  • Blue, 1500 points or more

show vlan command will output configured access ports, your ports 1 and 2. no trunk ports will be shown, your port 3. unconfigured ports by default will be placed in vlan 1

nitsg.gupta Mon, 11/10/2008 - 20:59
User Badges:

you can't see port 3 in any VLAN bcoz it is configured as a trunk port. If you use "show vlan" command it will show only access ports.

atif.naeem Thu, 11/13/2008 - 03:48
User Badges:

show vlan commad only show access port it will never show truk port.if you to identify your trunk port simple trick is that the missing port from your port list will be trunk port

Regards

Atif Naeem

Actions

This Discussion