tagged ethernet

Tags a port to allow communication among the different VLANs to which the port is assigned.
Syntax
tagged ethernet stackid/slot/port [ to stackid/slot/port | [ ethernet stackid/slot/port to stackid/slot/port | ethernet stackid/slot/port ] [ lag lag-id to lag-id | lag lag-id ]... ]
no tagged ethernet stackid/slot/port [ to stackid/slot/port | [ ethernet stackid/slot/port to stackid/slot/port | ethernet stackid/slot/port ] [ lag lag-id to lag-id | lag lag-id ]... ]
Parameters
ethernet stackid/slot/port
Specifies the Ethernet interface to configure as a tagged port.
to stackid/slot/port
Specifies a range of Ethernet interfaces.
Modes

VLAN configuration mode

Usage Guidelines

Tagging does not apply to the default VLAN. The ports are defined as either tagged or untagged at the VLAN level.

The no form of the command removes the tagging of the Ethernet ports.

Examples

The following example tags the port 1/1/9 to VLAN 4.

device# configure terminal
device(config)# vlan 4
device(config-vlan-4)# tagged ethernet 1/1/9

The following example tags the port 1/12 to a RSPAN (Remote Switched Port Analyzer) VLAN.

device# configure terminal
device(config)# rspan-vlan 4000
device(config-rspan-vlan)# tagged ethernet 1/1/2
device(config-rspan-vlan)# rspan destination ethernet 1/1/2
History
Release version Command history
08.0.80 This command was modified to add support for RSPAN configuration mode.