Viewing VLAN information
View the VLAN information to display the basic configuration for all VLANs or a specified VLAN.
Procedure
Example
View VLAN information for VLAN 2:
.
Switch:1> show vlan basic 2
===================================================================================== Vlan Basic ===================================================================================== VLAN INST ID NAME TYPE ID PROTOCOLID SUBNETADDR SUBNETMASK VRFID ORIGIN ------------------------------------------------------------------------------------- 2 VLAN-2 byPort 0 none N/A N/A 0 CONFIG
View VLAN information:
Switch:1> show vlan basic
============================================================================================ Vlan Basic ============================================================================================ VLAN INST ID NAME TYPE ID PROTOCOLID SUBNETADDR SUBNETMASK VRFID ORIGIN ------------------------------------------------------------------------------------------- 1 Default byPort 0 none N/A N/A 0 CONFIG 2 abc byPort 0 none N/A N/A 0 CONFIG 3 VLAN-VRRP byPort 0 none N/A N/A 0 CONFIG 4 VLAN-6 byPort 0 none N/A N/A 1 CONFIG 5 VLAN-7 byPort 0 none N/A N/A 1 CONFIG 6 VLAN-8 byPort 0 none N/A N/A 1 CONFIG 19 VLAN-9 byPort 0 none N/A N/A 0 CONFIG 10 VLAN-10 byPort 0 none N/A N/A 0 CONFIG 11 VLAN-11 byPort 0 none N/A N/A 0 CONFIG 12 VLAN-12 byPort 0 none N/A N/A 0 CONFIG 13 VLAN-13 spbm-bvlan 62 none N/A N/A 0 CONFIG 14 VLAN-14 spbm-bvlan 62 none N/A N/A 0 CONFIG 15 VLAN-15 byPort 1 none N/A N/A 0 CONFIG --More-- (q = quit)
View advanced parameters:
Switch:1> show vlan advance
================================================================================ Vlan Advance ================================================================================ VLAN IF AGING MAC USER ID NAME INDEX TIME ADDRESS DEFINEPID ENCAP DSAP/SSAP -------------------------------------------------------------------------------- 2 Default 2050 0 00:24:7f:9f:6a:03 0x0000
Variable Definitions
Use the data in the following table to use optional parameters with the show vlan basic and show vlan advance commands.
Variable |
Value |
---|---|
<1-4059> |
Specifies the VLAN ID in the range of 1 to 4059. By default, VLAN IDs 1 to 4059 are configurable and the system reserves VLAN IDs 4060 to 4094 for internal use. On switches that support the vrf-scaling and spbm-config-mode boot configuration flags, if you enable these flags, the system also reserves VLAN IDs 3500 to 3998. VLAN ID 1 is the default VLAN and you cannot create or delete VLAN ID 1. |