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

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