show vlan

Syntax

show vlan [<VLAN-ID>] [vsx-peer]

Description

Displays VLAN configuration information.

Command context

Manager (#)

Parameters

<VLAN-ID>

Specifies the number of the VLAN for which to display configuration information. The VLAN must exist. Range: 1 - 4040.

[vsx-peer]

Shows the output from the VSX peer switch. If the switches do not have the VSX configuration or the ISL is down, the output from the VSX peer switch is not displayed.

Authority

Operators or Administrators. Users without administrator authority can execute this command from the operator context (>) only.

Examples

Displaying configuration information for VLAN 2:

switch# show vlan 2
----------------------------------------------------------------------------------
VLAN  Name                     Status  Reason          Type      Interfaces
----------------------------------------------------------------------------------
2     UserVLAN1                up      ok              static    1/1/1,1/1/3,1/1/5

Displaying configuration information for all defined VLANs:

switch# show vlan
----------------------------------------------------------------------------------
VLAN  Name                 Status  Reason        Type      Interfaces
-----------------------------------------------------------------------------------
1     DEFAULT_VLAN_1       up      ok            static    1/1/3-1/1/4
2     UserVLAN1            up      ok            static    1/1/1,1/1/3,1/1/5
3     UserVLAN2            up      ok            static    1/1/2-1/1/3,1/1/5-1/1/6
5     UserVLAN3            up      ok            static    1/1/3
10    TestNetwork          up      ok            static    1/1/3,1/1/5
11    VLAN11               up      ok            static    1/1/3
12    VLAN12               up      ok            static    1/1/3,1/1/6,lag1-lag2
13    VLAN13               up      ok            static    1/1/3,1/1/6
14    VLAN14               up      ok            static    1/1/3,1/1/6
20    ManagementVLAN       down    admin_down    static    1/1/3,1/1/10