VLAN Commands
switchport default-vlan tagged
Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x
509
41
Command Mode
Interface Configuration (Ethernet, port channel) mode
User Guidelines
The command adds a port to the default VLAN as a tagged port. The command is
available only if the port mode is trunk or general.
When a trunk port is a member in the default VLAN as a tagged port then:
•
The native VLAN cannot be the default VLAN.
•
The default of the native VLAN is 4095.
NOTE
If the native VLAN of a port is the default VLAN when the port is added to the default
VLAN as tagged, the native VLAN is set by the system to 4095.
When a general port is a member in the default VLAN as a tagged port then:
•
The PVID can be the default VLAN.
•
The default PVID is the default VLAN.
NOTE
The PVID is not changed when the port is added to the default VLAN as a tagged.
When executing the switchport default-vlan tagged command, the port is added
(automatically by the system) to the default VLAN when the following conditions no
longer exist:
•
The port is a member in a LAG.
•
The port is 802.1X unauthorized.
•
An IP address is defined on the port.
•
The port is a destination port of port mirroring.
•
An IP address is defined on the default VLAN and the port is a PVE-
protected port.
The no switchport default-vlan tagged command removes the port from the
default VLAN, and returns the default VLAN mode to untagged.
Please note the following information:
•
If the native VLAN of a trunk port is 4095 when the port is removed from the
default VLAN (as a tagged), the native VLAN is set by the system to the
default VLAN.