
Installing the Software 31
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.
To move untagged interfaces from the Default VLAN to another VLAN, use the
untagged command.
To move untagged interfaces, follow these steps.
Step Task Command Syntax Command Mode
1 Access INTERFACE
VLAN mode of the
VLAN to which you
want to assign the
interface.
interface vlan vlan-id CONFIGURATION
2 Enable an interface to
include the IEEE
802.1Q tag header.
This command is
available only in
VLAN interfaces.
tagged interface INTERFACE
Step Task Command Syntax Command Mode
1 Access INTERFACE
VLAN mode of the
VLAN to which you
want to assign the
interface.
interface vlan vlan-id CONFIGURATION
2 Configure an interface
as untagged. This
command is available
only in VLAN
interfaces.
untagged interface INTERFACE
Comentarios a estos manuales