EasyManuals Logo
Home>Cisco>Switch>300 Series

Cisco 300 Series User Manual

Cisco 300 Series
1117 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #1075 background imageLoading...
Page #1075 background image
Virtual Local Area Network (VLAN) Commands
1075 OL-32830-01 Command Line Interface Reference Guide
56
Syntax
switchport forbidden vlan {add
vlan-list
| remove
vlan-list
}
Parameters
• add
vlan-list
—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.
• remove
vlan-list
—Specifies a list of VLAN IDs to remove. Separate
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 gi14.
switchxxxxxx(config)#
interface
gi1
4
switchxxxxxx(config-if)#
switchport mode trunk
switchxxxxxx(config-if)#
switchport forbidden vlan add
234-256
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

Table of Contents

Other manuals for Cisco 300 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Cisco 300 Series and is the answer not in the manual?

Cisco 300 Series Specifications

General IconGeneral
BrandCisco
Model300 Series
CategorySwitch
LanguageEnglish

Related product manuals