Accton Technology ES3526XA Switch User Manual


 
VLAN Commands
4-179
4
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
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 running-configuration file, and you can display this file by
entering the show running-config command.
Table 4-56 VLANs
Command Groups Function Page
Editing VLAN Groups Sets up VLAN groups, including name, VID and state 4-179
Configuring VLAN
Interfaces
Configures VLAN interface parameters, including ingress and egress
tagging mode, ingress filtering, PVID, and GVRP
4-181
Displaying VLAN
Information
Displays VLAN groups, status, port members, and MAC addresses 4-186
Configuring Private VLANs Configures private VLANs, including uplink and downlink ports 4-188
Table 4-57 Editing VLAN Groups
Command Function Mode Page
vlan database Enters VLAN database mode to add, change, and delete
VLANs
GC 4-179
vlan Configures a VLAN, including VID, name and state VC 4-180