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 09:25 AM
@Erik - that's smart way. Nice example, how brains can help 😉
and Yes it is working on 12.6 too.
and Yes it is working on 12.6 too.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎06-13-2017 09:20 AM
Can you test the following command on EXOS 12.6?
show vlan detail | include "^VLAN|((Ports|[Tt]ag(ging)?):)"
This works on EXOS 15.3 and produces useful VLAN info. 🙂
Erik
show vlan detail | include "^VLAN|((Ports|[Tt]ag(ging)?):)"
This works on EXOS 15.3 and produces useful VLAN info. 🙂
Erik
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎06-13-2017 09:20 AM
Erik. I find your very command very helpful, but it doesn't show all port numbers of a VLAN . For instances, it says that one VLAN is on 19 (tagged) ports but reports only 7 tagged port numbers. Another VLAN is on 16 (untagged )ports, but the command shows only 5 ports with numbers. It seems that the command output line shows only the the first line of port numbers (of the "show vlan detail" command) but not the following lines.
Cheers.
Cheers.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎06-13-2017 09:08 AM
If need see both Tag and Untag ports for each vlan, then
show vlan detail | include g:Output is little bit more,
Admin State: Enabled Tagging: 802.1Q Tag 14
IPv4 Forwarding: Disabled
IPv6 Forwarding: Disabled
Tag: *37(UzAmbSwitch4),*46(UzSwitch3), *2g
Admin State: Enabled Tagging: 802.1Q Tag 15
IPv4 Forwarding: Disabled
IPv6 Forwarding: Disabled
Untag: *18(ekonomisti)
Tag: *37(UzAmbSwitch4),*46(UzSwitch3), *2g
show vlan detail | include g:Output is little bit more,
Admin State: Enabled Tagging: 802.1Q Tag 14
IPv4 Forwarding: Disabled
IPv6 Forwarding: Disabled
Tag: *37(UzAmbSwitch4),*46(UzSwitch3), *2g
Admin State: Enabled Tagging: 802.1Q Tag 15
IPv4 Forwarding: Disabled
IPv6 Forwarding: Disabled
Untag: *18(ekonomisti)
Tag: *37(UzAmbSwitch4),*46(UzSwitch3), *2g
