Switchport General Pvid - Cisco Sx350 Cli Manual

Hide thumbs Also See for Sx350:
Table of Contents

Advertisement

67
Virtual Local Area Network (VLAN) Commands
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
to VLAN 2 and 3. Packets are tagged on the egress:
and
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
vlan-id
switchport general pvid
no switchport general pvid
Parameters
vlan-id
—Specifies the Port VLAN ID (PVID).
Default Configuration
The PVID is the Default VLAN PVID.
1269
Cisco Sx350 Ph. 2.2.5 Devices - Command Line Interface Reference Guide

Advertisement

Table of Contents
loading

Table of Contents