Show which vlans are tagged / untagged on a single port

  • 0
  • 1
  • Question
  • Updated 8 months ago
  • Answered
When using the "show port <uplink-port> info detail" command, it will provide a list of all vlans assigned to a specific port.  On an uplink port, the native vlan should be set as untagged, which with Extreme is the "default" vlan.

How does the output from this command distinguish between an untagged and tagged port?

Are untagged vlans labeled "Internal Tag = x" and tagged vlans as "802.1Q Tag = x"?

Is there a better command to use to find out which vlans are tagged or untagged on a single port?
Photo of Greg Hartze

Greg Hartze

  • 110 Points 100 badge 2x thumb

Posted 8 months ago

  • 0
  • 1
Photo of Brad Parker

Brad Parker, Technical Support Engineer

  • 3,846 Points 3k badge 2x thumb
Hi Greg,

"Internal Tag = x" means untagged.
"802.1Q Tag = x" means tagged.

Thank you,
Photo of Brandon Clay

Brandon Clay, Escalation Support Engineer

  • 13,628 Points 10k badge 2x thumb
show ports vlan
show port <port#> vlan
should give you what you're looking for.

For example:
r2.5 # show ports 2 vlan
Port     /Tagged   VLAN Name(s)
-------- --------  ------------------------------------------------------------
2        Untagged  None
         Tagged    r1_r2
Hi Greg Hartze,

You can also do:
sh port <port> vid

This command will show you the vlan ID on a given port

Gonçalo Reis
Photo of Robert Cummins

Robert Cummins

  • 612 Points 500 badge 2x thumb
Ummm.... I never leave ports in the default VLAN, even if they are untagged.   IMHO, using the default VLAN is poor practice *unless* the switch is being used as a private switch and not switching/routing any traffic off of the device.  

WRT to your question: tagged ports will be reported as 802.1Q Tag = <VLAN ID>.    Untagged ports are reported as "Internal Tag = <VLAN ID>"

WRT to your last question about a better method of showing which vlans are tagged/untagged on a single port:   Try "show port <port> vid"

Slot-1 b50ee2-1a-13.8 # show ports 1:53 vid
Port     /Tagged   VID(s)
-------- --------  ------------------------------------------------------------
1:53     Untagged  None
         Tagged    2240, 2241, 2242
Slot-1 b50ee2-1a-13.9 # 
Photo of Greg Hartze

Greg Hartze

  • 110 Points 100 badge 2x thumb
Thanks for the replies.
I've tested the "show port <port> vid", "show ports vlan" and "show port <port> vlan" commands but these command were not available for the summit switches I tried running EOS, and kept getting incomplete command errors.

But if the following is true, that will work. Thanks for the help!
"Internal Tag = x" means untagged.
"802.1Q Tag = x" means tagged.
Photo of Greg Hartze

Greg Hartze

  • 110 Points 100 badge 2x thumb
I tried the above commands on an x440g2 switch running XOS v22.3.1.4 and these commands are available on this version so I assume they do not work on 15.x, 16.x but work on 21.x and 22.x XOS versions.