Switchport Default-Vlan Tagged - Cisco 220 Series Smart Plus Reference Manual

Smart plus switches command line interface
Hide thumbs Also See for 220 Series Smart Plus:
Table of Contents

Advertisement

VLAN Commands

switchport default-vlan tagged

switchport default-vlan tagged
Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x
Default Configuration
The interface belongs to the default VLAN.
Command Mode
Interface Configuration (Ethernet, port channel) mode
User Guidelines
The command automatically removes the port from its previous VLAN and adds it
to a new VLAN.
Example
The following example sets gi 1 as an access port and assigns it to VLAN 2 (and
removes it from its previous VLAN):
switchxxxxxx(config)# interface gi2
switchxxxxxx(config-if)# switchport mode access
switchxxxxxx(config-if)# switchport access vlan 2
To configure the port as a tagged port in the default VLAN, use the switchport
default-vlan tagged Interface Configuration mode command.
To return the port to an untagged port, use the no form of this command.
Syntax
switchport default-vlan tagged
no switchport default-vlan tagged
Parameters
N/A
Default Configuration
If the port is a member of the default VLAN, by default, it is a member as an
untagged port.
41
508

Advertisement

Table of Contents
loading

Table of Contents