free hit counter

Switchport Default-Vlan Tagged - Cisco 300 Series Cli Manual

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

Advertisement

32
514
Example
The following example forbids adding VLAN IDs 234 to 256 to gi7.
switchxxxxxx(config)#
switchxxxxxx(config-if)#
switchxxxxxx(config-if)#

32.25 switchport default-vlan tagged

Use the switchport default-vlan tagged Interface Configuration command to
configure the port as a tagged port in the default VLAN. Use the no form of the
command to return the port to an untagged port.
Syntax
switchport default-vlan tagged
no switchport default-vlan tagged
Parameters
N/A
Default Configuration
If the port is a member in the default VLAN, by default, it is a member as an
untagged port.
Command Mode
Interface configuration (Ethernet, port-channel)
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
Virtual Local Area Network (VLAN) Commands
interface gi7
switchport mode trunk
switchport forbidden vlan add
78-21075-01 Command Line Interface Reference Guide
234-256

Advertisement

Table of Contents
loading