Switchport Default-Vlan Tagged - Cisco 300 Series Cli Manual

Stackable managed switches
Hide thumbs Also See for 300 Series:
Table of Contents

Advertisement

56
1075
Syntax
switchport forbidden vlan {add
Parameters
vlan-list
add
—Specifies a list of VLAN IDs to add. Separate nonconsecutive
VLAN IDs with a comma and no spaces; use a hyphen designate a range of
IDs.
vlan-list
remove
nonconsecutive VLAN IDs with a comma and no spaces; use a hyphen
designate a range of IDs.
Default Configuration
All VLANs are allowed.
Command Mode
Interface (Ethernet, Port Channel) Configuration mode
Example
The following example forbids adding VLAN IDs 234 to 256 to gi 1 4.
switchxxxxxx(config)#
switchxxxxxx(config-if)#
switchxxxxxx(config-if)#

56.26 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
Virtual Local Area Network (VLAN) Commands
vlan-list
| remove
—Specifies a list of VLAN IDs to remove. Separate
interface gi14
switchport mode trunk
switchport forbidden vlan add
OL-32830-01 Command Line Interface Reference Guide
vlan-list
}
234-256

Advertisement

Table of Contents
loading

Table of Contents