SMC Networks 10/100/1000 SMCGS8P-Smart User Manual

Page of 366
VLAN C
OMMANDS
3-131
vlan 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 
show interfaces 
status vlan
Displays status for the specified 
VLAN interface 
NE, 
PE 
show interfaces 
switchport 
Displays the administrative and 
operational status of an interface
NE, 
PE 
Console(config)#vlan database
Console(config-vlan)#
Command
Function
Mode Page
b_mgmt.book  Page 131  Tuesday, July 8, 2003  5:24 PM