show running-config vlan

Displays information about all VLANs or a specified VLAN.
Syntax
show running-config vlan [ vlan-id ]
Parameters
vlan-id
Specifies the VLAN ID.
Modes

User EXEC mode

Examples

The following example is sample output for the show running-config vlan command.

device# show running-config vlan

vlan1 name DEFAULT-VLAN by port
spanning-tree802-1w
!
rspan-vlan 20  
tagged ethe 1/1/27 ethe 1/1/45  
rspan destination ethe 1/1/27  
rspan source monitor-in ethe 1/1/43  
rspan source monitor-out ethe 1/1/43  
! 
vlan30 by port 
tagged ethe 1/1/43  
! 
!
History
Release version Command history
08.0.80 This command was modified to include information about configured Remote Switched Port Analyzer (RSPAN) VLANs.