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  
! 
!

The following example shows output for a specific VLAN.

device(config-vlan-300-webauth)# show running-config vlan 300
vlan 300 by port
tagged ethe 3/1/48 lag 1
untagged ethe 1/1/23
router-interface ve 300
webauth
captive-portal profile captive_profile1
reauth-time 60
white-list 10 www.commscope.com
white-list 30 192.168.0.1 0.0.0.255
white-list 35 192.168.12.2 0.0.0.255
white-list 60 10.177.17.67 0.0.0.127
auth-mode passcode length 16
auth-mode passcode static 1234
auth-mode captive-portal
trust-port lag 1
!
History
Release version Command history
08.0.80 This command was modified to include information about configured Remote Switched Port Analyzer (RSPAN) VLANs.
09.0.00 This command was modified to include informaiton about configured white-lists in a specific VLAN.