First Published August 08
Americas Headquarters
Page
N T E N T S
Configuring VLANs
Configuring Vlan Trunks
Configuring Private VLANs
Configuring Vmps
Configuring Ieee 802.1Q and Layer 2 Protocol Tunneling
Configuring Voice VLANs
OL-29440-01
Convention Description
Document Conventions
Bold font
Reader Alert Conventions
Related Documentation
Obtaining Documentation and Submitting a Service Request
Xiv
Command Modes
Information About Using the Command-Line Interface
Ctrl-Z
Mode Access Method Prompt Exit Method About This Mode
Configure
Quit
Help
Using the Help System
Command or Action Purpose Step
Mode
No and default Forms of Commands
Understanding Abbreviated Commands
CLI Error Messages
Error Message Meaning
How to Use the CLI to Configure Features
Configuration Logging
Configuring the Command History
Recalling Commands
Changing the Command History Buffer Size
Command or Action
Terminal no history
Enabling and Disabling Editing Features
Disabling the Command History Feature
Privileged Exec mode
Editing Commands through Keystrokes
Editing Command Lines That Wrap
Show more command begin include exclude
Searching and Filtering Output of show and more Commands
Access-list
Show more command begin include exclude regular-expression
Command or Action Example
OL-29440-01
Prerequisites for VTP
Finding Feature Information
VTP Domain
Information About VTP
VTP Modes
VTP Mode Description
Related Topics
VTP
VTP Advertisements
VTP Version
VTP Pruning
Flooding Traffic without VTP Pruning
VTP Settings
VTP and Switch Stacks
VTP Configuration Guidelines
Configuration Requirements
Passwords for the VTP Domain
Domain Names for Configuring VTP
VTP Version
Feature
Default VTP Configuration
Default Setting
Configuring VTP Mode
How to Configure VTP
Switch# show vtp status
Configure terminal Enters the global configuration mode
Configure terminal
Configuring a VTP Version 3 Password
Related Topics Purpose
Vtp primary vlan mst force
Configuring a VTP Version 3 Primary Server
Enabling the VTP Version
Command or Action Purpose
File
Enabling VTP Pruning
Before You Begin
Configure terminal Vtp pruning End Show vtp status
Vtp
Configuring VTP on a Per-Port Basis
Show vtp status Verifies the configuration
Adding a VTP Client Switch to a VTP Domain
Step
Configure terminal Enters global configuration mode
Show vtp devices conflict
Command Purpose
Monitoring VTP
Show vtp counters
Example Configuring a VTP Version 3 Primary Server
Configuration Examples for VTP
Example Configuring the Switch as a VTP Server
Example Configuring a Hidden Password
Related Documents Related Topic Document Title
Where to Go Next
Example Configuring VTP on a Per-Port Basis
Additional References
Technical Assistance Description Link
Feature History and Information for VTP
Release Modification
OL-29440-01
Prerequisites for VLANs
Configuring VLANs
Information About VLANs
Restrictions for VLANs
Logical Networks
Supported VLANs
Membership Mode
Vlan Port Membership Modes
Vmps
Normal-Range Vlan Overview
Normal-Range VLANs Configuration Process
Vlan Configuration Saving Process
Token Ring VLANs
Normal-Range Vlan Configuration Guidelines
Creating an Extended-Range VLAN, on
Extended-Range Vlan Configuration Guidelines
Default Vlan Configuration
Default Ethernet Vlan Configuration
Parameter Default Range
How to Configure Normal-Range VLANs
How to Configure VLANs
Creating or Modifying an Ethernet Vlan
Remote-span
Remote-span End Show vlan name vlan-nameid vlan-id
Deleting a Vlan
Configure terminal No vlan vlan-id End Show vlan brief
Show vlan name vlan-name id vlan-id
Show vlan brief Verifies the Vlan removal
Assigning Static-Access Ports to a Vlan
End Returns to privileged Exec mode
No vlan vlan-id Removes the Vlan by entering the Vlan ID
Example Configuring a Port as Access Port, on
Switchport mode access
Configure terminal Vtp mode transparent
How to Configure Extended-Range VLANs
Creating an Extended-Range Vlan
Mtu mtu size
Creating an Extended-Range Vlan with an Internal Vlan ID
Show vlan internal usage Configure terminal
Shutdown Exit Vtp mode transparent
No shutdown End Copy running-config startup config
Show vlan internal usage
Exit Returns to global configuration mode
No shutdown
Monitoring VLANs
Show interfaces vlan vlan-id
Example Creating an Extended-Range Vlan
Configuration Examples
Example Configuring a Port as Access Port
Example Creating a Vlan Name
Standards and RFCs Standard/RFC MIBs
Related Documents Related Topic
Title MIBs Link
Feature History and Information for Vlan
OL-29440-01
Prerequisites for Vlan Trunks
Configuring Vlan Trunks
Trunking Modes
Restrictions for Vlan Trunks
Information About Vlan Trunks
Trunking Overview
Function
Layer 2 Interface Modes
Allowed VLANs on a Trunk
Network Load Sharing Using STP Priorities
Load Sharing on Trunk Ports
Configuring Load Sharing Using STP Path Cost, on
Network Load Sharing Using STP Path Cost
Switchport trunk encapsulation negotiate
Feature Interactions
Default Layer 2 Ethernet Interface Vlan Configuration
Feature Default Setting
Configuring an Ethernet Interface as a Trunk Port
How to Configure Vlan Trunks
Configuring a Trunk Port
Trunk
Switchport mode dynamic auto desirable
Defining the Allowed VLANs on a Trunk
Interface to the defaults, use the no switchport trunk
None remove vlan-list
Switchport trunk allowed vlan add all except
Switchport trunk pruning vlan add except
Interface configuration mode
Changing the Pruning-Eligible List
Show interfaces interface-id switchport
Configuring the Native Vlan for Untagged Traffic
802.1Q trunk, and enters interface configuration mode
Configuring Trunk Ports for Load Sharing
Configuring Load Sharing Using STP Port Priorities
Defines the interface that is configured as the Ieee
Show vlan Configure terminal
Switchport mode trunk Configures the port as a trunk port
Vtp mode server Configures Switch a as the VTP server
Defines the interface to be configured as a trunk,
Enters interface configuration mode
Spanning-tree vlan vlan-rangeport-priority
Values increment by
Configuring Load Sharing Using STP Path Cost
Show running-config Verifies your entries
Enter a port priority value from 0 to 240. Port priority
Spanning-tree vlan vlan-rangecost cost-value End
Switchport mode trunk Exit
End Show running-config Show vlan Configure terminal
Exit Show running-config Copy running-config startup-config
Spanning-tree vlan vlan-rangecost cost-value
Costs are set correctly for both trunk interfaces
Configuration Examples for Vlan Trunking
Example Configuring an Ieee 802.1Q Trunk
End Returns to global configuration mode
Title
Example Removing a Vlan
Cisco IOS 15.02EX1
Feature History and Information for Vlan Trunks
Prerequisites for Private VLANs
Configuring Private VLANs
Secondary and Primary Vlan Configuration
Private Vlan Port Configuration
Restrictions for Private VLANs
Limitations with Other Features
Private Vlan Domains
Information About Private VLANs
Private VLANs Ports
Secondary VLANs
Private VLANs in Networks
IP Addressing Scheme with Private VLANs
Private VLANs Across Multiple Switches
Private VLANs and Unicast, Broadcast, and Multicast Traffic
Private Vlan Interaction with Other Features
Private VLANs and Switch Stacks
Private Vlan Configuration Tasks
Private VLANs and SVIs
Default Private Vlan Configuration
How to Configure Private VLANs
Configuring and Associating VLANs in a Private Vlan
Private-vlan primary Designates the Vlan as the primary Vlan
Designated in Step
Enters Vlan configuration mode for the primary Vlan
Configuring a Layer 2 Interface as a Private Vlan Host Port
Switchport private-vlan host-association primaryvlanid
Interface to be configured
Switchport private-vlan mapping primaryvlanid
Be configured
IDs
Private-vlan mapping add remove
1006 to
For Vlan SVIs
Monitoring Private VLANs
Show interfaces status
To which they belongs
Example Configuring an Interface as a Host Port
Configuration Examples for Private VLANs
Example Mapping Secondary VLANs to a Primary Vlan Interface
Standards and RFCs Standard/RFC Title
Commands used in this chapter
Example Monitoring Private VLANs
For complete syntax and usage information for
105
Feature History and Information for Private VLANs
106
Prerequisites for Vmps
Configuring Vmps
Information About Vmps
Restrictions for Vmps
Dynamic Vlan Assignments
Dynamic-Access Port Vlan Membership
Default Vmps Client Configuration
How to Configure Vmps
Entering the IP Address of the Vmps
Vmps server ipaddress
Configuring Dynamic-Access Ports on Vmps Clients
Switchport mode access Sets the port to access mode
Station, and enters interface configuration mode
Vmps reconfirm Show vmps
Reconfirming Vlan Memberships
Vmps reconfirm
Changing the Reconfirmation Interval
Show vmps Verifies the dynamic Vlan reconfirmation status
Changing the Retry Count
Troubleshooting Dynamic-Access Port Vlan Membership
Example Vmps Configuration
Configuration Example for Vmps
Monitoring the Vmps
Dynamic Port Vlan Membership Configuration
VLANs Vlan Trunking Private VLANs Tunneling Voice VLANs
Feature History and Information for Vmps
Prerequisites for Configuring Tunneling
Configuring Ieee 802.1Q and Layer 2 Protocol Tunneling
Layer 2 Protocol Tunneling
Ieee 802.1Q Tunneling and Incompatibilities
123
Ieee 802.1Q Tunneling
Information about Tunneling
Layer 2 Tunneling for EtherChannels
Ieee 802.1Q and Layer 2 Protocol Overview
Ieee 802.1Q Tunnel Ports in a Service-Provider Network
Configuring an Ieee 802.1Q Tunneling Port, on
Native VLANs
Ieee 802.1Q Tunneling Configuration Guidelines
System MTU
Layer 2 Protocol Tunneling Overview
Default Ieee 802.1Q Tunneling Configuration
Layer 2 Protocol Tunneling
131
Layer 2 Protocol Tunneling on Ports
Default Layer 2 Protocol Tunneling Configuration
Configuring an Ieee 802.1Q Tunneling Port
How to Configure Tunneling
Show dot1q-tunnel Show running-config interface
Exit Returns to privileged Exec mode
Purpose Step
135
Configuring Layer 2 Protocol Tunneling
Tunneling for one of the Layer 2 protocols or for all three
Switchport mode access Switchport mode dot1q-tunnel
Vtp interface configuration command to disable protocol
Use the no l2protocol-tunnel cdp lldp point-to-point stp
L2protocol-tunnel drop-threshold
Configured, the thresholds, and the counters
Configuring the SP Edge Switch
Point-to-point pagp lacp udld value
L2protocol-tunnel point-to-point pagp lacp
Udld
Use the no l2protocol-tunnel point-to-point pagp lacp
Shutdown-threshold value
Command or Action Example Purpose
No cdp enable Disables CDP on the interface
Drop-thresholdvalue must be less than or equal to
Configuring the Customer Switch
Desirable for the PAgP mode
Udld port Enables Udld in normal mode on the interface
Shutdown Shuts down the interface
No shutdown Enables the interface
Example Configuring an Ieee 802.1Q Tunneling Port
Example Configuring Layer 2 Protocol Tunneling
SP edge switch 2 configuration
Examples Configuring the SP Edge and Customer Switches
Show l2protocol-tunnel summary
Monitoring Tunneling Status
Ports
Tunneling port
147
Feature History and Information for Tunneling
Prerequisites for Voice VLANs
Configuring Voice VLANs
Information About Voice Vlan
Restrictions for Voice VLANs
Voice VLANs
Cisco IP Phone Data Traffic
Cisco IP Phone Voice Traffic
Voice Vlan Configuration Guidelines
Default Voice Vlan Configuration
How to Configure Voice Vlan
Configuring Cisco IP Phone Voice Traffic
Mls qos trust cos
Configuring the Priority of Incoming Data Frames
Switchport priority extend cos value trust
Example Configuring Cisco IP Phone Voice Traffic
Configuration Examples for Voice VLANs
Monitoring Voice Vlan
Configuring Cisco IP Phone Voice Traffic, on
159
Feature History and Information for Voice Vlan
D E
Prerequisites 13, 39, 61, 83, 107, 121, 149 private VLANs
VTP version 2
IN-4