Show Port with VLAN name instead of # of VLANs
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎06-09-2017 02:03 PM
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
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
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎06-13-2017 08:39 AM
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
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
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎06-12-2017 12:58 PM
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)"
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)"
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎06-09-2017 03:10 PM
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 #
* 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 #
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎06-09-2017 02:34 PM
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.
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.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎06-09-2017 02:07 PM
you may see what vlans are applied to a specific port
use "show vlan ports
use "show vlan ports
