VLAN Commands
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.
Command Groups | Function | Page |
Editing VLAN Groups | Sets up VLAN groups, including name, VID and state | |
|
|
|
Configuring VLAN | Configures VLAN interface parameters, including ingress and egress | |
Interfaces | tagging mode, ingress filtering, and PVID |
|
Displaying VLAN | Displays VLAN groups, status, port members, and MAC addresses | |
Information |
|
|
Configuring Private VLANs | Configures private VLANs, including uplink and downlink ports | |
|
|
|
Editing VLAN Groups
Command | Function | Mode | Page |
|
|
|
|
vlan database | Enters VLAN database mode to add, change, and delete | GC | |
| VLANs |
|
|
vlan | Configures a VLAN, including VID, name and state | VC | |
|
|
|
|
vlan database
This command enters 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