1-13
Cisco Content Services Switch Routing and Bridging Configuration Guide
OL-8241-02
Chapter1 Configuring Interfaces and Circuits
Configuring Interfaces
To disable trunking on the specified interface and associated VLANs, enter:
(config-trunkif[2/3])# no trunk
To display all interfaces and the VLANs to which they are configured, use the
show circuit command. In the show circuit output, VLANs appear as VLAN
(uppercase, with no space before the VLAN number). For an interface that has
trunking enabled, an “-n” (where n is the associated VLAN number) is appended
to the prefix. In this example, 1/4-1 indicates slot 1, port 4, VLAN1. See the
“Showing Circuits” section for information about the show circuits command.
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