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-vlancommand 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-vlancommand 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-vlancommand.

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

 

 

Cisco Content Services Switch Routing and Bridging Configuration Guide

 

 

 

 

 

 

OL-4580-01

 

 

1-13

 

 

 

Page 39
Image 39
Cisco Systems OL-4580-01 manual Selecting a Default Vlan in a Trunk, To remove the default Vlan selection, enter