hit counter script

Switchport General Allowed Vlan - 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

Virtual Local Area Network (VLAN) Commands
78-21075-01 Command Line Interface Reference Guide

32.15 switchport general allowed vlan

General ports can receive tagged or untagged packets. Use the switchport
general allowed vlan Interface Configuration mode command to add/remove
VLANs to/from a general port and configure whether packets on the egress are
tagged or untagged.
Use the no form of this command to reset to the default.
Syntax
switchport general allowed vlan {[add
vlan-list
]}
Parameters
vlan-list
add
—Specifies the list of VLAN IDs to add. Separate
nonconsecutive VLAN IDs with a comma and no spaces; use a hyphen to
designate a range of IDs.
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.
vlan-list
remove
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 Configuration (Ethernet, Port-channel) 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 the specified VLAN, it does not become a
member of the VLAN, but the command does not fail. Instead, an error message is
displayed ("An interface cannot become a member of a forbidden VLAN. This
vlan-list
—Specifies the list of VLAN IDs to remove. Separate
[
tagged
|
untagged
]] | [
32
remove
503

Advertisement

Table of Contents
loading

Table of Contents

Save PDF