To view which interfaces are tagged or untagged and to view which VLAN the
interfaces belong, use the show vlan command. To view just the interfaces that
are in Layer 2 mode, use the show interfaces switchport command in EXEC
Privilege mode or EXEC mode.
To tag frames leaving an interface in Layer 2 mode, assign that interface as
tagged to a port-based VLAN to tag it with that VLAN ID.
To tag interfaces, follow these steps.
Step Task
Access the
1
INTERFACE VLAN
mode of the VLAN to
which you want to
assign the interface.
Enable an interface to
2
include the IEEE
802.1Q tag header.
This command is
available only in
VLAN interfaces.
To move untagged interfaces from the Default VLAN to another VLAN, use the
untagged command:
To move untagged interfaces, follow these steps.
Step Task
Access the
1
INTERFACE VLAN
mode of the VLAN to
which you want to
assign the interface.
Configure an interface
2
as untagged. This
command is available
only in VLAN
interfaces.
Command Syntax
interface vlan vlan-id
tagged interface
Command Syntax
interface vlan vlan-id
untagged interface
Command Mode
CONFIGURATION
INTERFACE
Command Mode
CONFIGURATION
INTERFACE
Installing the Software
35