free hit counter

Cisco 300 Series Cli Manual page 1067

Stackable managed switches
Hide thumbs Also See for 300 Series:
Table of Contents

Advertisement

56
1067
Syntax
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.
Command Mode
Interface (Ethernet, Port Channel) Configuration mode
Examples
Example 1 - The following example sets the gi 1 2 PVID to 234.
switchxxxxxx(config)#
switchxxxxxx(config-if)#
Example 2 - The following example performs the following:
Adds VLANs 2&3 as tagged, and VLAN 100 as untagged to gi 1 4
Defines VID 100 as the PVID
switchxxxxxx(config)#
switchxxxxxx(config-if)#
switchxxxxxx(config-if)#
switchxxxxxx(config-if)#
switchxxxxxx(config-if)#
switchxxxxxx(config-if)#
Virtual Local Area Network (VLAN) Commands
vlan-id
interface gi12
switchport general pvid
interface gi14
switchport mode general
switchport general allowed vlan add 2-3 tagged
switchport general allowed vlan add 100 untagged
switchport general pvid 100
exit
OL-32830-01 Command Line Interface Reference Guide
234

Advertisement

Table of Contents
loading

Table of Contents