show vlan

To display all types of VLAN information, use the command show vlan in Privileged EXEC Mode.

show vlan

show vlan { [brief } { | id <vlan-range> } { | summary } { | ascending] } { [switch } { <context_name>] }
{ [device } { {capabilities } { | info } { [switch } { <context_name>] }
{ [learning } { params } { [vlan } { <vlan-range>] } { [switch } { <string(32)>] }
{ [port } { config } { [{port } { {Extreme-Ethernet } { <interface-id> } { | gigabitethernet } { <interface-id>} } { | switch } { <context_name>] }
{ protocols-group } { [switch } { <context_name>] }
{ statistics } { [vlan } { <vlan-range>] } { [switch } { <context_name>] }
{ traffic-classes } { [{port } { {Extreme-Ethernet } { <interface-id> } { | gigabitethernet } { <interface-id>} } { | switch } { <context_name>}] } { }

Parameters

Parameter Type Description
brief   Enter to display the VLAN entry related information of all active VLANs and VLANs (that are not active) for which the port details are configured.
id   Enter to display the VLAN entry related information for specified VLANs alone.
<vlan-range>   Enter a value that denotes the VLAN ID range for which the information needs to be displayed. This value ranges from 1 to 4094. For example, the value is provided as 4000-4010 to display the information for VLANs IDs from 4000 to 4010. The information is displayed only for the active VLANs and VLANs (that are not active) for which the port details are configured.
summary   Enter to display only the total number of VLANs existing in the switch. This includes only the active VLANs and VLANs (that are not active) for which the port details are configured. The VLAN entry related information is not displayed.
ascending   Enter to display the VLAN entry related information in ascending order.
switch   Enter to specify switch name.
<context_name>   Enter to specify context name.
device   Enter to display VLAN global information / capabilities that are applicable to all VLANs created in the switch / all contexts.
capabilities   Enter to display only the list of VLAN features such as traffic class feature, supported in the switch / all contexts..
info   Enter to display the VLAN global information that is applicable to all VLANs created in the switch / all contexts.
switch   Enter to specify switch name.
<context_name>   Enter to specify context name.
learning   Enter to display the VLAN learning parameter details for all active VLANs and VLANs (that are not active) for which the port details are configured, available in all contexts / in the switch.
params   Enter to display VLAN learning status and learning limit configured for the specified VLAN range (ex.1-4) in the given context.
vlan   Enter to display the protocol specific configuration for VLAN.
<vlan-range>   Enter a value that denotes the VLAN ID range for which the information needs to be displayed. This value ranges from 1 to 4094. For example, the value is provided as 4000-4010 to display the information for VLANs IDs from 4000 to 4010. The information is displayed only for the active VLANs and VLANs (that are not active) for which the port details are configured.
switch   Enter to specify switch name.
<context_name>   Enter to specify context name.
port   Enter to display the VLAN related port specific information for all interfaces available in the switch / all contexts.
config   Enter to display the VLAN related port specific information for all interfaces available in the switch / all contexts. The information contains PVID, acceptable frame type, port mode, filtering utility criteria, default priority value and status of ingress filtering feature, GVRP module, GMRP module, restricted VLAN registration feature, restricted group registration feature, MAC-based VLAN membership, subnet based VLAN membership, protocol-VLAN based membership and port protected feature.
Extreme-Ethernet   Enter to configure the Extreme-Ethernet type of interface to be displayed. Extreme Ethernet is a version of Ethernet that supports data transfer up to 10 Gigabits per second and only full duplex links
<interface-id>   Enter to configure a specific slot number / port number to be displayed. The format is <0>/<1-28> without spaces between Slot Number/Port Number. For example, 0/1.
Gigabitethernet   Enter to configure gigabitetethernet type of interface to be displayed. Gigabitethernet is a version of LAN standard architecture that supports data transfer up to 1 Gigabit per second.
<interface-id>   Enter to configure a specific slot number / port number to be displayed. The format is <0>/<1-28> without spaces between Slot Number/Port Number. For example, 0/1.
switch   Enter to specify switch name.
<context_name>   Enter to specify context name.
protocols-group   Enter to display all entries in the protocol group table. These entries contain protocol group information of the switch / all contexts. The information contains ID of a group, protocol assigned to the group, and frame type assigned to the group.
switch   Enter to specify switch name.
<context_name>   Enter to specify context name.
statistics   Enter to display information about Protocol specific statistics for VLAN.
vlan   Enter to display the protocol specific configuration for VLAN.
<vlan-range>   Enter a value that denotes the VLAN ID range for which the information needs to be displayed. This value ranges from 1 to 4094. For example, the value is provided as 4000-4010 to display the information for VLANs IDs from 4000 to 4010. The information is displayed only for the active VLANs and VLANs (that are not active) for which the port details are configured.
switch   Enter to specify switch name.
<context_name>   Enter to specify context name.
traffic-classes   Enter to display the evaluated user priority and traffic class mapping information of all interfaces available in the switch / all context
port   Enter to display the evaluated user priority and traffic class mapping information of the specified interface.
Extreme-Ethernet   Enter to configure the Extreme-Ethernet type of interface to be displayed. Extreme Ethernet is a version of Ethernet that supports data transfer up to 10 Gigabits per second and only full duplex links
<interface-id>   Enter to configure a specific slot number / port number to be displayed. The format is <0>/<1-28> without spaces between Slot Number/Port Number. For example, 0/1.
Gigabitethernet   Enter to configure gigabitetethernet type of interface to be displayed. Gigabitethernet is a version of LAN standard architecture that supports data transfer up to 1 Gigabit per second.
<interface-id>   Enter to configure a specific slot number / port number to be displayed. The format is <0>/<1-28> without spaces between Slot Number/Port Number. For example, 0/1.
switch   Enter to specify switch name.
<context_name>   Enter to specify context name.

Mode

Privileged EXEC Mode

Prerequisites

This command can be executed in the switch, only if the VLAN switching feature is started and enabled in the switch.

Examples

iS5Comm# show vlan

Vlan database
-------------
Vlan ID             : 1
Member Ports        : Gi0/1, Gi0/2, Gi0/3, Gi0/4, Gi0/5, Gi0/6 
                     Gi0/7, Gi0/8, Gi0/9, Gi0/10, Gi0/11, Gi0/12 
Gi0/13, Gi0/14, Gi0/15, Gi0/16, Gi0/17, Gi0/18                      Gi0/19, Gi0/20, Gi0/21, Gi0/22, Gi0/23, Gi0/24                      Ex0/1, Ex0/2, Ex0/3, Ex0/4
Untagged Ports      : Gi0/1, Gi0/2, Gi0/3, Gi0/4, Gi0/5, Gi0/6
                      Gi0/7, Gi0/8, Gi0/9, Gi0/10, Gi0/11, Gi0/12                      Gi0/13, Gi0/14, Gi0/15, Gi0/16, Gi0/17, Gi0/18
                      Gi0/19, Gi0/20, Gi0/21, Gi0/22, Gi0/23, Gi0/24                      Ex0/1, Ex0/2, Ex0/3, Ex0/4
Forbidden Ports     : None
Name                :Status              : Permanent
Egress Ethertype    : 0x8100
Service Loopback Status   : Disabled
----------------------------------------------------

iS5Comm# show vlan device info

Vlan device configurations
--------------------------
Vlan Status                       : Enabled
Vlan Oper status                  : Enabled
Gvrp status                       : Disabled
Gmrp status                       : Disabled
Gvrp Oper status                  : Disabled
Gmrp Oper status                  : Disabled
Mac-Vlan Status                   : Disabled
Subnet-Vlan Status                : Disabled
Protocol-Vlan Status              : Enabled
Base-Bridge Mode                  : Vlan Aware Bridge
Traffic Classes                   : Enabled
Vlan Operational Learning Mode    : IVL
Hybrid Default Learning Mode      : IVL
Version number                    : 1
Max Vlan id                       : 4094
Max supported vlans               : 4094
Global mac learning status        : Enabled
Filtering Utility Criteria        : Enabled

iS5Comm# show vlan device capabilities

Vlan device capabilities
--------------------------

Extended filtering services
Traffic classes
Static Entry Individual port
IVL capable
SVL capable
Hybrid capable
Configurable Pvid Tagging

iS5Comm# show vlan learning params

Unicast MAC Learning Parameters
-------------------------------------
Vlan Id                  : 1
Mac Learning Admin-Status : Default
Mac Learning Oper-Status  : Enable
Mac Learning Limit        : 1500
-------------------------------------

iS5Comm# show vlan protocols-group

Protocol Group Table --------------------
------------------------------------------
Frame Type      Protocol             Group

iS5Comm# show vlan traffic-classes port gi 0/1

Max Vlan Traffic Class table
--------------------------
Port     Max Traffic Class
-----    ------------------
Gi0/1    7
Traffic Class table
---------------------
Port     Priority    Traffic Class
-----    ---------   -------------
Gi0/1    0           1
Gi0/1    1           0
Gi0/1    2           2
Gi0/1    3           2
Gi0/1    4           3
Gi0/1    5           4
Gi0/1    6           5
Gi0/1    7           6

iS5Comm# show vlan traffic-classes

Max Vlan Traffic Class table
--------------------------
Port     Max Traffic Class
-----    ------------------
Gi0/1    7
Gi0/2    8
Gi0/3    8
Gi0/4    8
Gi0/5    8
Gi0/6    8
Gi0/7    8
Gi0/8    8
Gi0/9    8
Gi0/10    8
Gi0/11    8
Gi0/12    8
Gi0/13    8
Gi0/14    8
Gi0/15    8
Gi0/16    8
Gi0/17    8
Gi0/18    8
Gi0/19    8
Gi0/20    8
Gi0/21    8
Gi0/22    8
Gi0/23    8
Gi0/24    8
Ex0/1    8
Ex0/2    8
Ex0/3    8
Ex0/4    8

Traffic Class table
---------------------
Port     Priority    Traffic Class
-----    ---------   -------------
Gi0/1    0           1
Gi0/1    1           0
Gi0/1    2           2
Gi0/1    3           2
Gi0/1    4           3
Gi0/1    5           4
Gi0/1    6           5
Gi0/1    7           6
Gi0/2    0           2
Gi0/2    1           0
Gi0/2    2           1
Gi0/2    3           3
Gi0/2    4           4
Gi0/2    5           5
Gi0/2    6           6
Gi0/2    7           7
Gi0/3    0           2
Gi0/3    1           0
Gi0/3    2           1
Gi0/3    3           3
Gi0/3    4           4
Gi0/3    5           5
Gi0/3    6           6
Gi0/3    7           7
Gi0/4    0           2
Gi0/4    1           0
Gi0/4    2           1
Gi0/4    3           3
Gi0/4    4           4
Gi0/4    5           5
Gi0/4    6           6
Gi0/4    7           7
Gi0/5    0           2
Gi0/5    1           0
Gi0/5    2           1
Gi0/5    3           3
Gi0/5    4           4
Gi0/5    5           5
Gi0/5    6           6
Gi0/5    7           7
Gi0/6    0           2
Gi0/6    1           0
Gi0/6    2           1
Gi0/6    3           3
Gi0/6    4           4
Gi0/6    5           5
Gi0/6    6           6
Gi0/6    7           7
Gi0/7    0           2
Gi0/7    1           0
Gi0/7    2           1
Gi0/7    3           3
Gi0/7    4           4
Gi0/7    5           5
Gi0/7    6           6
Gi0/7    7           7
Gi0/8    0           2
Gi0/8    1           0
Gi0/8    2           1
Gi0/8    3           3
Gi0/8    4           4
Gi0/8    5           5
Gi0/8    6           6
Gi0/8    7           7
Gi0/9    0           2
Gi0/9    1           0
Gi0/9    2           1
Gi0/9    3           3
Gi0/9    4           4
Gi0/9    5           5
Gi0/9    6           6
Gi0/9    7           7
Gi0/10    0           2
Gi0/10    1           0
Gi0/10    2           1
Gi0/10    3           3
Gi0/10    4           4
Gi0/10    5           5
Gi0/10    6           6
Gi0/10    7           7
Gi0/11    0           2
Gi0/11    1           0
Gi0/11    2           1
Gi0/11    3           3
Gi0/11    4           4
Gi0/11    5           5
Gi0/11    6           6
Gi0/11    7           7
Gi0/12    0           2
Gi0/12    1           0
Gi0/12    2           1
Gi0/12    3           3
Gi0/12    4           4
Gi0/12    5           5
Gi0/12    6           6
Gi0/12    7           7
Gi0/13    0           2
Gi0/13    1           0
Gi0/13    2           1
Gi0/13    3           3
Gi0/13    4           4
Gi0/13    5           5
Gi0/13    6           6
Gi0/13    7           7
Gi0/14    0           2
Gi0/14    1           0
Gi0/14    2           1
Gi0/14    3           3
Gi0/14    4           4
Gi0/14    5           5
Gi0/14    6           6
Gi0/14    7           7
Gi0/15    0           2
Gi0/15    1           0
Gi0/15    2           1
Gi0/15    3           3
Gi0/15    4           4
Gi0/15    5           5
Gi0/15    6           6
Gi0/15    7           7
Gi0/16    0           2
Gi0/16    1           0
Gi0/16    2           1
Gi0/16    3           3
Gi0/16    4           4
Gi0/16    5           5
Gi0/16    6           6
Gi0/16    7           7
Gi0/17    0           2
Gi0/17    1           0
Gi0/17    2           1
Gi0/17    3           3
Gi0/17    4           4
Gi0/17    5           5
Gi0/17    6           6
Gi0/17    7           7
Gi0/18    0           2
Gi0/18    1           0
Gi0/18    2           1
Gi0/18    3           3
Gi0/18    4           4
Gi0/18    5           5
Gi0/18    6           6
Gi0/18    7           7
Gi0/19    0           2
Gi0/19    1           0
Gi0/19    2           1
Gi0/19    3           3
Gi0/19    4           4
Gi0/19    5           5
Gi0/19    6           6
Gi0/19    7           7
Gi0/20    0           2
Gi0/20    1           0
Gi0/20    2           1
Gi0/20    3           3
Gi0/20    4           4
Gi0/20    5           5
Gi0/20    6           6
Gi0/20    7           7
Gi0/21    0           2
Gi0/21    1           0
Gi0/21    2           1
Gi0/21    3           3
Gi0/21    4           4
Gi0/21    5           5
Gi0/21    6           6
Gi0/21    7           7
Gi0/22    0           2
Gi0/22    1           0
Gi0/22    2           1
Gi0/22    3           3
Gi0/22    4           4
Gi0/22    5           5
Gi0/22    6           6
Gi0/22    7           7
Gi0/23    0           2
Gi0/23    1           0
Gi0/23    2           1
Gi0/23    3           3
Gi0/23    4           4
Gi0/23    5           5
Gi0/23    6           6
Gi0/23    7           7
Gi0/24    0           2
Gi0/24    1           0
Gi0/24    2           1
Gi0/24    3           3
Gi0/24    4           4
Gi0/24    5           5
Gi0/24    6           6
Gi0/24    7           7
Ex0/1    0           2
Ex0/1    1           0
Ex0/1    2           1
Ex0/1    3           3
Ex0/1    4           4
Ex0/1    5           5
Ex0/1    6           6
Ex0/1    7           7