CLI Reference Guide-R07

Table Of Contents
– 477 –
20 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
Table 96: VLAN Commands
Command Group Function
Editing VLAN Groups Sets up VLAN groups, including name, VID and state
Configuring VLAN
Interfaces
Configures VLAN interface parameters, including ingress and egress
tagging mode, ingress filtering, and PVID
Displaying VLAN
Information
Displays VLAN groups, status, port members, and MAC addresses
Configuring IEEE 802.1Q
Tunneling
Configures 802.1Q Tunneling (QinQ Tunneling)
Configuring Protocol-based
VLANs
*
* If a packet matches the rules defined by more than one of these functions, only one of them
is applied, with the precedence being MAC-based, protocol-based, and then native port-
based (see the switchport priority default command).
Configures protocol-based VLANs based on frame type and protocol
Configuring MAC Based
VLANs
*
Configures MAC-based VLANs
Configuring Voice VLANs Configures VoIP traffic detection and enables a Voice VLAN
Table 97: Commands for Editing VLAN Groups
Command Function Mode
vlan database Enters VLAN database mode to add, change, and delete
VLANs
GC
vlan Configures a VLAN, including VID, name and state VC