New topicshow ports vid vlan description

show ports {<port_list> | all} [vid {description} | vlan {description}] {port-number}

Description

This command displays a summary of VIDs/VLAN names on ports in either VID or VLAN name order.

Syntax Description

port_list Restricts the output to the specified ports.
all Shows output for all ports.
vid Displays VLANs in VID order.
description Displays VLAN or VID description as applicable.
vlan Displays VLANs in name order.
port-number Display port number instead of display string.

Default

None.

Example

The following example shows VLANs for all ports in VID order:

# show port vid
         Untagged
Port     /Tagged   VID(s)
-------- --------  ------------------------------------------------------------
LongDisplayStringFor
         Untagged  1
         Tagged    30, 31, 32, 33, 34, 40, 41, 42, 43, 44, 45, 1000
2        None      None
12345678901234567890
         Untagged  1
         Tagged    30, 31, 32, 33, 34, 40, 41, 42, 43, 44, 45, 1000
4        Untagged  1
         Tagged    30, 31, 32, 33, 34
5        Untagged  None
         Tagged    30, 31, 32, 33, 34
6        Untagged  1
         Tagged    30, 31, 32, 33, 34, 40, 41, 42, 43, 44, 45
7        Untagged  1
         Tagged    30, 31, 32, 33, 34
8        Untagged  1
         Tagged    30, 31, 32, 33, 34
9        Untagged  1
         Tagged    30, 31, 32, 33, 34, 40, 41, 42, 43, 44, 45
10       Untagged  None
         Tagged    30, 31, 32, 33, 34

The following example shows VLANs for all ports in VID order with the port number displayed:

# show port vid port-number
         Untagged
Port     /Tagged   VID(s)
-------- --------  ------------------------------------------------------------
1        Untagged  1
         Tagged    30, 31, 32, 33, 34, 40, 41, 42, 43, 44, 45, 1000
2        None      None
3        Untagged  1
         Tagged    30, 31, 32, 33, 34, 40, 41, 42, 43, 44, 45, 1000
4        Untagged  1
         Tagged    30, 31, 32, 33, 34
5        Untagged  None
         Tagged    30, 31, 32, 33, 34
6        Untagged  1
         Tagged    30, 31, 32, 33, 34, 40, 41, 42, 43, 44, 45
7        Untagged  1
         Tagged    30, 31, 32, 33, 34
8        Untagged  1
         Tagged    30, 31, 32, 33, 34
9        Untagged  1
         Tagged    30, 31, 32, 33, 34, 40, 41, 42, 43, 44, 45
10       Untagged  None
         Tagged    30, 31, 32, 33, 34
11       Untagged  1
         Tagged    30, 31, 32, 33, 34

The following example shows VLANs for all ports in VLAN name order, showing the VLAN name, and with the port number displayed:

# show port vlan description port-number
         Untagged
Port     /Tagged  VLAN Name             VID VLAN Description
-------- -------- -------------------- ---- ------------------------------------
1        Untagged Default                 1
         Tagged   BigData              1000
                  VLAN_0030              30 Finance
                  VLAN_0031              31
                  VLAN_0032              32 Engineering II
                  VLAN_0033              33 Here is an example of a very long
                                            VLAN description. The usr can
                  VLAN_0034              34 Operations-12
                  VLAN_0040              40 Operations-12
                  VLAN_0041              41 Operations-12
                  VLAN_0042              42 Operations-12
                  VLAN_0043              43 123456789012345678901234567890123456
                                            7890123456789012345678901234
                  VLAN_0044              44
                  VLAN_0045              45 This vlan carries most of the
                                            traffic from the main building
2        None
3        Untagged Default                 1
         Tagged   BigData              1000
                  VLAN_0030              30 Finance
                  VLAN_0031              31

History

This command was first available in ExtremeXOS 16.2.

Platform Availability

This command is available on all platforms.