EasyManua.ls Logo

Cisco Sx350

Cisco Sx350
1323 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
Loading...
Virtual Local Area Network (VLAN) Commands
1269 Cisco Sx350 Ph. 2.2.5 Devices - Command Line Interface Reference Guide
67
Default Configuration
The port is not a member of any VLAN.
Command Mode
Interface (Ethernet, Port Channel) Configuration mode
User Guidelines
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 in
case if there are more VLANs in the vlan-list.
A non-existed VLAN cannot be configured. When a VLAN is removed it is deleted
from the vlan-list.
The configuration is applied only when the port mode is general.
Example
The example adds gi11
and
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
67.15 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.
Syntax
switchport general pvid
vlan-id
no switchport general pvid
Parameters
vlan-id
—Specifies the Port VLAN ID (PVID).
Default Configuration
The PVID is the Default VLAN PVID.

Table of Contents

Related product manuals