Viewing VLAN information (CLI)
Show command
Output
show vlan
Lists:
• Maximum number of VLANs to support
• Existing VLANs
• Status (static or dynamic)
• Primary VLAN
show vlan <
vlan-id
>
For the specified VLAN, lists:
• Name, VID, and status (static/dynamic)
• Per-port mode (tagged, untagged, forbid, no/auto)
• "Unknown VLAN" setting (Learn, Block, Disable)
• Port status (up/down)
Example:
Suppose that your switch has the following VLANs:
Ports
VLAN
VID
A1-A12
DEFAULT_VLAN
1
A1, A2
VLAN-33
33
A3, A4
VLAN-44
44
The next three examples show how you could list data on the above VLANs.
Listing the VLAN ID (vid) and status for specific ports
Switch# show vlan ports A1-A2
Status and Counters = VLAN Information - for ports A1,A2
802.1Q VLAN ID Name Status
-------------- ------------ ------
1 DEFAULT_VLAN Static
33 VLAN-33 Static
Note: Because ports A1 and A2 are not members of VLAN-44, it does not appear in this listing.
VLAN listing for the entire switch
Switch# show vlan
Status and Counters = VLAN Information
VLAN support : Yes
Maximum VLANs to support : 9
Primary VLAN: DEFAULT_VLAN
390
Aruba 2930F / 2930M Management and Configuration Guide
for ArubaOS-Switch 16.08