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 ------------------------------------------------------------------------------------- 2 VLAN-2 byPort 0 none N/A N/A 0
View VLAN information:
Switch:1> show vlan basic
===================================================================================== Vlan Basic ===================================================================================== VLAN INST ID NAME TYPE ID PROTOCOLID SUBNETADDR SUBNETMASK VRFID ------------------------------------------------------------------------------------- 1 Default byPort 0 none N/A N/A 0 2 abc byPort 0 none N/A N/A 0 3 VLAN-VRRP byPort 0 none N/A N/A 0 4 VLAN-6 byPort 0 none N/A N/A 1 5 VLAN-7 byPort 0 none N/A N/A 1 6 VLAN-8 byPort 0 none N/A N/A 1 19 VLAN-9 byPort 0 none N/A N/A 0 10 VLAN-10 byPort 0 none N/A N/A 0 11 VLAN-11 byPort 0 none N/A N/A 0 12 VLAN-12 byPort 0 none N/A N/A 0 13 VLAN-13 spbm-bvlan 62 none N/A N/A 0 14 VLAN-14 spbm-bvlan 62 none N/A N/A 0 15 VLAN-15 byPort 1 none N/A N/A 0 --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. |