SMC Networks 10/100/1000 SMCGS8P-Smart Manual De Usuario
VLAN C
OMMANDS
3-131
vlan database
Use this command to enter VLAN database mode. All commands in
this mode will take effect immediately.
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.
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.
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
PE
show interfaces
status vlan
status vlan
Displays status for the specified
VLAN interface
VLAN interface
NE,
PE
PE
show interfaces
switchport
switchport
Displays the administrative and
operational status of an interface
operational status of an interface
NE,
PE
PE
Console(config)#vlan database
Console(config-vlan)#
Console(config-vlan)#
Command
Function
Mode Page
b_mgmt.book Page 131 Tuesday, July 8, 2003 5:24 PM