Specifications
VLAN Commands
3-131
3
VLAN Commands
A VLAN is a group of ports that can be located anywhere in the network, but
communicate as though they belong to the same physical segment. This section
describes commands used to create VLAN groups, add port members, specify how
VLAN tagging is used, and enable automatic VLAN registration for the selected
interface.
Editing VLAN Groups
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.
Table 3-47 VLAN Commands
Command Groups Function Page
Editing VLAN Groups Sets up VLAN groups, including name, VID and state 3-131
Configuring VLAN
Interfaces
Configures VLAN interface parameters, including ingress and egress
tagging mode, ingress filtering, PVID, and GVRP
3-133
Displaying VLAN
Information
Displays VLAN groups, status, port members, and MAC addresses 3-138
Table 3-48 Editing VLAN Groups
Command Function Mode Page
vlan database Enters VLAN database mode to add, change, and delete
VLANs
GC 3-131
vlan Configures a VLAN, including VID, name and state VC 3-132










