Cisco Systems OL-4580-01 Switch User Manual


 
1-13
Cisco Content Services Switch Routing and Bridging Configuration Guide
OL-4580-01
Chapter 1 Configuring Interfaces and Circuits
Configuring Interfaces
Selecting a Default VLAN in a Trunk
To define a default VLAN to accept packets that arrive untagged on the interface,
include the default-vlan command as part of the trunk/VLAN definition. The
command also specifies that the packets transmitted from this VLAN will be
untagged. The default VLAN must be explicitly set if you want untagged packets
to be processed by the CSS. Otherwise, these packets are discarded.
The default-vlan command can be specified only for a single VLAN. If you
attempt to use this command for another VLAN, the CSS instructs you to disable
the current default VLAN using the no default-vlan command.
For example:
(config-if[1/1])# trunk
(config-if[1/1])# vlan 2
Create VLAN<2>, [y/n]:y
(config-if-vlan[1/1-2])# vlan 3
Create VLAN<3>, [y/n]:y
(config-if-vlan[1/1-3])# default-vlan
To remove the default VLAN selection, enter:
(config-if-vlan[1/1-3])# no default-vlan