32
Virtual Local Area Network (VLAN) Commands
Default Configuration
All frame types are accepted at ingress (all).
Command Mode
Interface Configuration (Ethernet, port-channel) mode
Example
The following example configures port gi3 to be in general mode and to discard
untagged frames at ingress.
switchxxxxxx(config)#
interface gi3
switchxxxxxx(config-if)#
switchport mode general
switchxxxxxx(config-if)#
switchport general acceptable-frame-type tagged-only
32.19 switchport customer vlan
When a port is in customer mode it is in QinQ mode. This enables the user to use
their own VLAN arrangements (PVID) across a provider network. The switch is in
QinQ mode when it has one or more customer ports.
Use the switchport customer vlan Interface Configuration mode command to set
the port's VLAN when the interface is in customer mode (set by
switchport
mode).
Use the no form of this command to restore the default configuration.
Syntax
vlan-id
switchport customer vlan
no switchport customer vlan
Parameters
vlan-id
vlan
—Specifies the customer VLAN.
Default Configuration
No VLAN is configured as customer.
Command Mode
Interface Configuration (Ethernet, Port-channel) mode
508
78-21075-01 Command Line Interface Reference Guide