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 #1066 background imageLoading...
Page #1066 background image
Virtual Local Area Network (VLAN) Commands
OL-32830-01 Command Line Interface Reference Guide 1066
56
• tagged—Specifies that the port transmits tagged packets for the VLANs.
This is the default value.
• untagged—Specifies that the port transmits untagged packets for the
VLANs.
• remove
vlan-list
—Specifies the list of VLAN IDs to remove. Separate
nonconsecutive VLAN IDs with a comma and no spaces; use a hyphen to
designate a range of IDs.
Default Configuration
The port is not member in any VLAN.
Packets are transmitted untagged.
Command Mode
Interface (Ethernet, Port Channel) Configuration mode
User Guidelines
You can change the egress rule (for example, from tagged to untagged) without
first removing the VLAN from the list.
If the interface is a forbidden member of an added VLAN, the interface does not
become a member of this specific VLAN. There will be an error message in this
case ("An interface cannot become a a member of a forbidden VLAN. This
message will only be displayed once.") and the command continues to execute if
there are more VLANs in the vlan-list.
Example
The example adds gi11
to VLAN 2 and 3. Packets are tagged on the egress:
switchxxxxxx(config)#
interface
gi11
switchxxxxxx(config-if)#
switchport general allowed vlan
add
2-3
tagged
56.17 switchport general pvid
Use the switchport general pvid Interface Configuration mode command to
configure the Port VLAN ID (PVID) of an interface when it is in general mode. Use
the no form of this command to restore the default configuration.

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