• No results found

show vlan {virtual-router vr-name}

show {vlan} vlan_name {ipv4 | ipv6}

show vlan [tag tag | detail] {ipv4 | ipv6}

show vlan ports

Description

Displays information about one or all VLANs.

Syntax Description

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 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 name for which 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.

Default

Summary information for all VLANs on the device.

Usage Guidelines

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 BlackDiamond 8800 series switches, SummitStack, and the Summit family of 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:

Tentative

Duplicate

Note

See the appropriate ExtremeXOS User Guide volume for information on IPv6 address types.

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.

Example

The following is example output of the show vlan command on a switch where PTP and CES are configured (for example, an E4G-200 or E4G-400):

E4G-400.15 # sh vlan

---Default 1 ---T--- ANY 1 /34

---Flags : (B) BFD Enabled, (c) 802.1ad customer VLAN, (C) EAPS Control VLAN, (d) NetLogin 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) Flooding Disabled, (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 Total number of VLAN(s) : 4

The following sample output shows OpenFlow status:

E4G-200.5 # show vlan

Flags : (B) BFD Enabled, (c) 802.1ad customer VLAN, (C) EAPS Control VLAN, (d) Dynamically created VLAN, (D) VLAN Admin Disabled,

(T) Member of STP Domain, (v) VRRP Enabled, (V) VPLS Enabled, (W) VPWS Enabled

(Z) Openflow Enabled

Total number of VLAN(s) : 3

The following sample output shows detailed OpenFlow status:

E4G-200.7 # 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

Egress Rate Limit Designated Port: None configured Flood Rate Limit QosProfile: None configured Ports: 0. (Number of active ports=0)

#

#

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

Egress Rate Limit Designated Port: None configured Flood Rate Limit QosProfile: None configured

VLAN Interface with name Mgmt created by user

The following example displays VLAN ports information:

show vlan ports 1,2,3,4,5,6,7,8,9,10,11,12

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) Flooding Disabled, (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

(Z) Openflow Enabled

Total number of VLAN(s) : 3 (1 displayed)

show vlan ports 1 detail

VLAN Interface with name ext created by user

IPv4 MC Forwarding: Disabled IPv6 Forwarding: Disabled IPv6 MC Forwarding: Disabled IPv6: None

Openflow: Enabled Egress Rate Limit Designated Port: None configured

The following example is the show output of a vlan that has port-specific tag. The tag is displayed in parentheses.

VLAN Interface with name vl1 created by user

Admin State: Enabled Tagging: 802.1Q Tag 100

(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 (G) Multi-switch LAG Group port (H) Dynamically added by MVRP (U) Dynamically added uplink port (V) Dynamically added by VM Tracking

History

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.

Platform Availability

This command is available on all platforms.

Information on MAC-based ports is available only on the Summit family of switches, SummitStack, and the BlackDiamond 8800 series switch.