Cisco 300 Series Cli Manual page 515

Small business 300 series managed switches command line interface guide release 1.3
Hide thumbs Also See for 300 Series:
Table of Contents

Advertisement

Virtual Local Area Network (VLAN) Commands
78-21075-01 Command Line Interface Reference Guide
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.
Note:
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.
The PVID of a general port is not changed when the port is removed from
the default VLAN (as a tagged). If the PVID is the default VLAN, the port is
added by the system to the default VLAN as an untagged.
Example
The following example configures the port gi1 as a tagged port in the default
VLAN.
switchxxxxxx(config)#interface gi1
switchxxxxxx(config-if)#
switchxxxxxx(config-if)#switchport default-vlan tagged
switchport mode trunk
32
515

Advertisement

Table of Contents
loading

Table of Contents