cancel
Showing results for 
Search instead for 
Did you mean: 

Show Port with VLAN name instead of # of VLANs

Show Port with VLAN name instead of # of VLANs

Terren_Crider
Contributor
I have EXOS 21.1. I would like to know if there is any way to get the output of show port to show all of the VLAN names instead of the number of VLANs on a port? If there is a single VLAN, it shows the name, but just knowing the number of VLANs assigned to a port doesn't really do me any good.

Port Display VLAN Name Port Link Speed Duplex
# String (or # VLANs) State State Actual Actual
=======================================================================
1:1 (0002) E A 1000 FULL
1:2 (0002) E R
1:3 (0002) E R
1:4 (0002) E R

19 REPLIES 19

modris_bernands
New Contributor II
I have old version (12.6.2.10), but i can run following:
show vlan detail | include TagOutput include vlan TAG and Tagged ports

Admin State: Enabled Tagging: 802.1Q Tag 14
Tag: *37(UzAmbSwitch4),*46(UzSwitch3), *2g
(x) VMAN Tag Translated port
Admin State: Enabled Tagging: 802.1Q Tag 15
Tag: *37(UzAmbSwitch4),*46(UzSwitch3), *2g
(x) VMAN Tag Translated port

Erik_Auerswald
Contributor II
Another way to get the information is to use
show ports [] information detail | include "(^Port|(Internal|802.1Q) Tag)"You have to either remove [] or replace [] with the list of ports you want to get info for, e.g.:
show ports information detail | include "(^Port|(Internal|802.1Q) Tag)" show ports 3-7,9 information detail | include "(^Port|(Internal|802.1Q) Tag)"

Patrick_Voss
Extreme Employee
The "show port vlan" command appears to be available in 21.1.2.14 patch 1-2. This was added as part of a feature request. I would recommend upgrading to 21.1.3.7 patch 1-7 and utilizing the "show port vlan" and "show port vid" command to see the output below:

* X460G2-48p-10G4.5 # show port 1-4 vid
Untagged
Port /Tagged VID(s)
-------- -------- ------------------------------------------------------------
1 Untagged 1
Tagged 2
2 Untagged 1
Tagged 2
3 Untagged 1
Tagged 2
4 Untagged 1
Tagged 2
* X460G2-48p-10G4.6 # show port 1-4 vlan
Untagged
Port /Tagged VLAN Name(s)
-------- -------- ------------------------------------------------------------
1 Untagged Default
Tagged VLAN_0002
2 Untagged Default
Tagged VLAN_0002
3 Untagged Default
Tagged VLAN_0002
4 Untagged Default
Tagged VLAN_0002
* X460G2-48p-10G4.7 #

Drew_C
Valued Contributor III
Hello Terren,
Take a look at this thread: https://community.extremenetworks.com/extreme/topics/xos_show_vlan_portinfo
You can find the script here: https://github.com/extremenetworks/ExtremeScripting/tree/master/EXOS/Python/show_port_vid

I believe the script is included in the version of EXOS you're running. If not, it's easy to get it copied to the switch. We can help you with that if needed.

Nick_Yakimenko
New Contributor II
you may see what vlans are applied to a specific port
use "show vlan ports
GTM-P2G8KFN