C
OMMAND
L
INE
I
NTERFACE
3-122vlan database
Use this command to enter VLAN database mode. All commands in
this mode will take effect immediately.
Default Setting
None
Command Mode
Global Configuration
Command Usage
• Use the VLAN database command mode to add, change, and
delete VLANs. After finishing configuration changes, you can
display the VLAN settings by entering the show vlan
command.
•Use the interface vlan command mode to define the port
membership mode and add or remove ports from a VLAN. The
results of these commands are written to the
running-configuration file, and you can display this file by
entering the show running-config command.
Example
Display VLAN Information
show vlan Shows VLAN information NE,
PE
3-131
show interfaces
status vlan
Displays status for the specified VLAN
interface
NE,
PE
3-99
show interfaces
switchport
Displays the administrative and
operational status of an interface
NE,
PE
3-102
Console(config)#vlan database
Console(config-vlan)#
Command Function Mode Page