CLI Reference Guide-R04

Table Of Contents
– 579 –
22 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.
Table 102: VLAN Commands
Command Group Function
GVRP and Bridge Extension
Commands
Configures GVRP settings that permit automatic VLAN learning; shows
the configuration for bridge extension MIB
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, PVID, and GVRP
Displaying VLAN
Information
Displays VLAN groups, status, port members, and MAC addresses
Configuring IEEE 802.1Q
Tunneling
Configures 802.1Q Tunneling (QinQ Tunneling)
Configuring L2PT
Tunneling
1
1 These functions are not compatible.
Configures Layer 2 Protocol Tunneling (L2PT), either by discarding,
processing, or transparently passing control packets across a QinQ
tunnel
Configuring VLAN
Translation
1
Maps VLAN ID between customer and service provider for networks
that do not support IEEE 802.1Q tunneling
Configuring Protocol-based
VLANs
2
2 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, IP subnet-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 IP Subnet
VLANs
2
Configures IP Subnet-based VLANs
Configuring MAC Based
VLANs
2
Configures MAC-based VLANs
Configuring Voice VLANs Configures VoIP traffic detection and enables a Voice VLAN