Displays information about one or all VLANs.
vr-name | Specifies a VR name for which
to display summary information for all VLANs. If no VR name is
specified, the software displays summary information for all VLANs
in the current VR context. Note: User-created
VRs are supported only on the platforms listed for this feature
in the ExtremeXOS 22.6 Feature License Requirements document. On switches that do not support
user-created VRs, all VLANs are created in VR-Default and cannot be moved.
|
vlan_name | Specifies a VLAN (Virtual LAN) name for which to display detailed VLAN information. |
vlan_list | Specifies a VLAN list of IDs to display detailed VLAN information. |
tag | Specifies the 802.1Q tag of a VLAN for which to display detailed VLAN information. |
detail | Specifies that detailed information should be displayed for all VLANs. |
ipv4 | Specifies IPv4. |
ipv6 | Specifies IPv6. |
ports | Displays VLAN ports information. |
Summary information for all VLANs on the device.
Note
To display IPv6 information, you must issue either the show vlan detail command or show vlan command with the name of the specified VLAN.Unlike many other VLAN-related commands, the keyword vlan is required in all forms of this command except when requesting information for a specific VLAN.
Use the command show vlan to display summary information for all VLANs. It shows various configuration options as a series of flags (see the example below). VLAN names, descriptions, and protocol names may be abbreviated in this display.
Use the command show vlan detail to display detailed information for all VLANs. This displays the same information as for an individual VLAN, but shows every VLAN, one-by-one. After each VLAN display you can elect to continue or quit.
Protocol none indicates that this VLAN was configured with a user-defined protocol that has subsequently been deleted.
Note
The switches display the Mgmt VLAN in VR-Mgmt.When an IPv6 address is configured for the VLAN, the system may display one of the following two address types in parentheses after the IPv6 address:
Note
For information about IPv6 address types, see the ExtremeXOS 22.6 User Guide.You can display additional useful information on VLANs configured with IPv6 addresses by issuing the show ipconfig ipv6 vlan vlan_name command.
When a displayed VLAN is part of a PVLAN, the display includes the PVLAN name and type (which is network, non-isolated subscriber, or isolated subscriber).
When the displayed VLAN is configured for VLAN translation, the display provides translation VLAN information. If the displayed VLAN is a translation VLAN, a list of translation VLAN members appears. If the displayed VLAN is a member VLAN, the display indicates the translation VLAN to which the member VLAN belongs.
Ports that are dynamically added by MVRP are indicated by the symbol "H".
The following sample output shows OpenFlow status:
# show vlan Untagged ports auto-move: Off --------------------------------------------------------------------------------------------- Name VID Protocol Addr Flags Proto Ports Virtual Active router /Total --------------------------------------------------------------------------------------------- Default 1 ----------------------------------------------- ANY 0/0 VR-Default ext 4094 ----------------------------------------------- ANY 0 /12 VR-Default Mgmt 4095 ----------------------------------------------- ANY 1/1 VR-Mgmt --------------------------------------------------------------------------------------------- Flags : ((B) BFD Enabled, (c) 802.1ad customer VLAN, (C) EAPS Control VLAN, (d) Dynamically created VLAN, (D) VLAN Admin Disabled, (e) CES Configured, (E) ESRP Enabled, (f) IP Forwarding Enabled, (F) Learning Disabled, (i) ISIS Enabled, (I) Inter-Switch Connection VLAN for MLAG, (k) PTP Configured, (l) MPLS Enabled, (L) Loopback Enabled, (m) IPmc Forwarding Enabled, (M) Translation Member VLAN or Subscriber VLAN, (n) IP Multinetting Enabled, (N) Network Login VLAN, (o) OSPF Enabled, (O) Virtual Network Overlay, (p) PIM Enabled, (P) EAPS protected VLAN, (r) RIP Enabled, (R) Sub-VLAN IP Range Configured, (s) Sub-VLAN, (S) Super-VLAN, (t) Translation VLAN or Network VLAN, (T) Member of STP Domain, (v) VRRP Enabled, (V) VPLS Enabled, (W) VPWS Enabled, (Y) Policy Enabled, (Z) OpenFlow Enabled Total number of VLAN(s) : 3
The following sample output shows detailed OpenFlow status:
# show vlan detail VLAN Interface with name Default created by user Admin State: Enabled Tagging: 802.1Q Tag 1 Description: None Virtual router: VR-Default IPv4 Forwarding: Disabled IPv4 MC Forwarding: Disabled IPv6 Forwarding: Disabled IPv6 MC Forwarding: Disabled IPv6: None STPD: s0(Disabled,Auto-bind) Protocol: Match all unfiltered protocols Loopback: Disabled NetLogin: Disabled QosProfile: None configured Egress Rate Limit Designated Port: None configured Flood Rate Limit QosProfile: None configured Ports: 0. (Number of active ports=0) Suppress ARP: Disabled Proxy ARP: Reachable Ports: 1. (Number of active ports=1) # # VLAN Interface with name ext created by user Admin State: Enabled Tagging:Untagged (Internal tag 4094) Description: None Virtual router: VR-Default IPv6 Forwarding: Disabled IPv6: None STPD: None Protocol: Match all unfiltered protocols Loopback: Disabled NetLogin: Disabled QosProfile: None configured OpenFlow: Enabled Egress Rate Limit Designated Port: None configured Flood Rate Limit QosProfile: None configured Ports: 12. (Number of active ports=0) Untag: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12 Flags: (*) Active, (!) Disabled, (g) Load Sharing port (b) Port blocked on the vlan, (m) Mac-Based port (i) Port inactivated on the vlan due to VXLAN configuration (a) Egress traffic allowed for NetLogin (u) Egress traffic unallowed for NetLogin (t) Translate VLAN tag for Private-VLAN (s) Private-VLAN System Port, (L) Loopback port (x) VMAN Tag Translated port (F) Dynamically added by Fabric Attach (G) Multi-switch LAG Group port (H) Dynamically added by MVRP (I) Dynamically added by IDM (N) Dynamically added by Netlogin (U) Dynamically added uplink port (V) Dynamically added by VM Tracking # # VLAN Interface with name Mgmt created by user Admin State: Enabled Tagging: 802.1Q Tag 4095 Description: Management VLAN Virtual router: VR-Mgmt IPv4 Forwarding: Disabled IPv6 Forwarding: Disabled IPv6: None STPD: None Protocol: Match all unfiltered protocols Loopback: Disabled NetLogin: Disabled QosProfile: None configured Flood Rate Limit QosProfile: None configured Suppress ARP: Disabled Proxy ARP: Entry required Ports: 1. (Number of active ports=1) Untag: Mgmt-port on Mgmt is active Flags: (*) Active, (!) Disabled, (g) Load Sharing port (b) Port blocked on the vlan, (m) Mac-Based port (i) Port inactivated on the vlan due to VXLAN configuration (a) Egress traffic allowed for NetLogin (u) Egress traffic unallowed for NetLogin (t) Translate VLAN tag for Private-VLAN (s) Private-VLAN System Port, (L) Loopback port (x) VMAN Tag Translated port (F) Dynamically added by Fabric Attach (G) Multi-switch LAG Group port (H) Dynamically added by MVRP (I) Dynamically added by IDM (N) Dynamically added by Netlogin (U) Dynamically added uplink port (V) Dynamically added by VM Tracking
The following example displays VLAN ports information:
show vlan ports 1,2,3,4,5,6,7,8,9,10,11,12 --------------------------------------------------------------------------------------------- Name VID Protocol Addr Flags Proto Ports Virtual Active router /Total --------------------------------------------------------------------------------------------- ext 4094 ----------------------------------------------- ANY 0 /12 VR-Default --------------------------------------------------------------------------------------------- Flags : ((B) BFD Enabled, (c) 802.1ad customer VLAN, (C) EAPS Control VLAN, (d) Dynamically created VLAN, (D) VLAN Admin Disabled, (e) CES Configured, (E) ESRP Enabled, (f) IP Forwarding Enabled, (F) Learning Disabled, (i) ISIS Enabled, (I) Inter-Switch Connection VLAN for MLAG, (k) PTP Configured, (l) MPLS Enabled, (L) Loopback Enabled, (m) IPmc Forwarding Enabled, (M) Translation Member VLAN or Subscriber VLAN, (n) IP Multinetting Enabled, (N) Network Login VLAN, (o) OSPF Enabled, (O) Virtual Network Overlay, (p) PIM Enabled, (P) EAPS protected VLAN, (r) RIP Enabled, (R) Sub-VLAN IP Range Configured, (s) Sub-VLAN, (S) Super-VLAN, (t) Translation VLAN or Network VLAN, (T) Member of STP Domain, (v) VRRP Enabled, (V) VPLS Enabled, (W) VPWS Enabled, (Y) Policy Enabled, (Z) OpenFlow Enabled Total number of VLAN(s) : 3 (1 displayed) show vlan ports 1 detail VLAN Interface with name ext created by user Admin State: Enabled Tagging:Untagged (Internal tag 4094) Description: None Virtual router: VR-Default IPv4 Forwarding: Disabled IPv4 MC Forwarding: Disabled IPv6 Forwarding: Disabled IPv6 MC Forwarding: Disabled IPv6: None STPD: None Protocol: Match all unfiltered protocols Loopback: Disabled NetLogin: Disabled QosProfile: None configured OpenFlow: Enabled Egress Rate Limit Designated Port: None configured Flood Rate Limit QosProfile: None configured Suppress ARP: Disabled Proxy ARP: Entry required Ports: 12. (Number of active ports=0) Untag: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12 Flags: (*) Active, (!) Disabled, (g) Load Sharing port (b) Port blocked on the vlan, (m) Mac-Based port (i) Port inactivated on the vlan due to VXLAN configuration (a) Egress traffic allowed for NetLogin (u) Egress traffic unallowed for NetLogin (t) Translate VLAN tag for Private-VLAN (s) Private-VLAN System Port, (L) Loopback port (x) VMAN Tag Translated port (F) Dynamically added by Fabric Attach (G) Multi-switch LAG Group port (H) Dynamically added by MVRP (I) Dynamically added by IDM (N) Dynamically added by Netlogin (U) Dynamically added uplink port (V) Dynamically added by VM Tracking
The following example is the show output of a VLAN that was created dynamically by MVRP.
show vlan sys_vlan_0100 VLAN Interface with name sys_vlan_0100 created dynamically by MVRP Admin State: Enabled Tagging: 802.1Q Tag 100 Description: None Virtual router: VR-Default IPv4 Forwarding: Disabled IPv6 Forwarding: Disabled IPv6: None STPD: None Protocol: Match all unfiltered protocols Loopback: Disabled NetLogin: Disabled QosProfile: None configured Egress Rate Limit Designated Port: None configured Flood Rate Limit QosProfile: None configured Suppress ARP: Disabled Proxy ARP: Entry required Ports: 1. (Number of active ports=1) Tag: *2gH Flags : ((B) BFD Enabled, (c) 802.1ad customer VLAN, (C) EAPS Control VLAN, (d) Dynamically created VLAN, (D) VLAN Admin Disabled, (e) CES Configured, (E) ESRP Enabled, (f) IP Forwarding Enabled, (F) Learning Disabled, (i) ISIS Enabled, (I) Inter-Switch Connection VLAN for MLAG, (k) PTP Configured, (l) MPLS Enabled, (L) Loopback Enabled, (m) IPmc Forwarding Enabled, (M) Translation Member VLAN or Subscriber VLAN, (n) IP Multinetting Enabled, (N) Network Login VLAN, (o) OSPF Enabled, (O) Virtual Network Overlay, (p) PIM Enabled, (P) EAPS protected VLAN, (r) RIP Enabled, (R) Sub-VLAN IP Range Configured, (s) Sub-VLAN, (S) Super-VLAN, (t) Translation VLAN or Network VLAN, (T) Member of STP Domain, (v) VRRP Enabled, (V) VPLS Enabled, (W) VPWS Enabled, (Y) Policy Enabled, (Z) OpenFlow Enabled
This command was first available in ExtremeXOS 10.1.
The IPv6 information was added in ExtremeXOS 11.2.
The netlogin information was added in ExtremeXOS 11.3.
The VR and administratively enabled/disabled information was added in ExtremeXOS 11.4.
The tag option was added in ExtremeXOS 12.4.4.
The OpenFlow status feature was added in ExtremeXOS 15.3.
The vlan_list variable was added in ExtremeXOS 16.1.
Showing the "untagged ports auto-move" status was added in ExtremeXOS 22.1.
Proxy ARP for reachable routes information added in ExtremeXOS 22.4.
Flag added for dynamically added by Fabric Attach information in ExtremeXOS 22.5.
Flag added for dynamically added by NetLogin information in ExtremeXOS 22.5.
Flag added for policy enabled in ExtremeXOS 22.5.