Summary of Contents for Cisco Catalyst 2960 series
Page 1
Catalyst 2960-X Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX First Published: July 10, 2013 Americas Headquarters Cisco Systems, Inc. 170 West Tasman Drive San Jose, CA 95134-1706 http://www.cisco.com Tel: 408 526-4000 800 553-NETS (6387) Fax: 408 527-0883 Text Part Number: OL-29065...
Page 2
Cisco and the Cisco logo are trademarks or registered trademarks of Cisco and/or its affiliates in the U.S. and other countries. To view a list of Cisco trademarks, go to this URL: www.cisco.com/go/trademarks . Third-party trademarks mentioned are the property of their respective owners. The use of the word partner does not imply a partnership relationship between Cisco and any other company.
Searching and Filtering Output of show and more Commands Accessing the CLI through a Console Connection or through Telnet Configuring VTP C H A P T E R 2 Finding Feature Information Prerequisites for VTP Catalyst 2960-X Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX OL-29065...
Page 4
Example: Configuring Switch as VTP Server Example: Enabling VTP on the Interface Example: Creating the VTP Password Where to Go Next Additional References Feature History and Information for VTP Catalyst 2960-X Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX OL-29065...
Page 5
Additional References Feature History and Information for VLAN Configuring VLAN Trunks C H A P T E R 4 Finding Feature Information Prerequisites for VLAN Trunks Information About VLAN Trunks Catalyst 2960-X Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX OL-29065...
Page 6
Prerequisites for VMPS Restrictions for VMPS Information About VMPS Dynamic VLAN Assignments Dynamic-Access Port VLAN Membership Default VMPS Client Configuration How to Configure VMPS Entering the IP Address of the VMPS Catalyst 2960-X Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX OL-29065...
Page 7
Configuration Examples Example: Configuring Cisco IP Phone Voice Traffic Example: Configuring the Priority of Incoming Data Frames Where to Go Next Additional References Feature History and Information for Voice VLAN Catalyst 2960-X Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX OL-29065...
An ellipsis (three consecutive nonbolded periods without spaces) after a syntax element indicates that the element can be repeated. A vertical line, called a pipe, indicates a choice within a set of keywords or arguments. Catalyst 2960-X Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX OL-29065...
Page 10
Means the described action saves time. You can save time by performing the action described in the Timesaver paragraph. Warning Means reader be warned. In this situation, you might perform an action that could result in bodily injury. Catalyst 2960-X Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX OL-29065...
Obtaining Documentation and Submitting a Service Request For information on obtaining documentation, submitting a service request, and gathering additional information, see the monthly What's New in Cisco Product Documentation, which also lists all new and revised Cisco technical documentation, at: http://www.cisco.com/en/US/docs/general/whatsnew/whatsnew.html...
Page 12
Preface Obtaining Documentation and Submitting a Service Request Catalyst 2960-X Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX OL-29065...
How to Use the CLI to Configure Features, page 5 Information About Using the Command-Line Interface This section describes the Cisco IOS command-line interface (CLI) and how to use it to configure your switch. Command Modes The Cisco IOS user interface is divided into many different modes. The commands available to you depend on which mode you are currently in.
Page 14
(with a Ethernet ports. To return to specific interface). privileged EXEC mode, press Ctrl-Z or enter end. Catalyst 2960-X Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX OL-29065...
Obtains a list of commands that begin with a particular character string. Example: Switch# di? dir disable disconnect Step 3 abbreviated-command-entry <Tab> Completes a partial command name. Example: Switch# sh conf<tab> Switch# show configuration Catalyst 2960-X Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX OL-29065...
CLI Error Messages This table lists some error messages that you might encounter while using the CLI to configure your switch. Catalyst 2960-X Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX OL-29065...
The software provides a history or record of commands that you have entered. The command history feature is particularly useful for recalling long or complex commands or entries, including access lists. You can customize this feature to suit your needs. Catalyst 2960-X Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX OL-29065...
Returns to more recent commands in the history buffer after recalling commands with Ctrl-P or the up arrow key. Repeat the key sequence to recall successively more recent commands. Catalyst 2960-X Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX OL-29065...
Ctrl-U or Ctrl-X Deletes all characters from the cursor to the beginning of the command line. Ctrl-W Deletes the word to the left of the cursor. Catalyst 2960-X Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX OL-29065...
Note The following example shows how to wrap a command line that extend beyond a single line on the screen. SUMMARY STEPS 1. access-list 2. Ctrl-A 3. Return key Catalyst 2960-X Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX OL-29065...
After you connect through the console port, through the Ethernet management port, through a Telnet session or through an SSH session, the user EXEC prompt appears on the management station. Catalyst 2960-X Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX OL-29065...
Page 24
Using the Command-Line Interface Accessing the CLI through a Console Connection or through Telnet Catalyst 2960-X Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX OL-29065...
Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to http://www.cisco.com/go/cfn. An account on Cisco.com is not required.
VLAN is configured by the user, the new VLAN information is communicated to all switches in the stack. When a switch joins the stack or when stacks merge, the new switches get VTP information from the active switch. Catalyst 2960-X Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX OL-29065...
Related Topics Adding a VTP Client Switch to a VTP Domain, on page 33 Prerequisites for VTP Catalyst 2960-X Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX OL-29065...
A switch in VTP off mode functions in the same manner as a VTP transparent switch, except that it does not forward VTP advertisements on trunks. Related Topics Prerequisites for VTP Configuring VTP Mode, on page 25 Catalyst 2960-X Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX OL-29065...
TLVs it is not able to parse. The unrecognized TLV is saved in NVRAM when the switch is operating in VTP server mode. Catalyst 2960-X Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX OL-29065...
VTP instances for that port are disabled. You cannot set VTP to off for the MST database and on for the VLAN database on the same port. Catalyst 2960-X Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX OL-29065...
Switches C, E, and F have no ports in the Red VLAN. Figure 1: Flooding Traffic without VTP Pruning Catalyst 2960-X Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX OL-29065...
VTP. • When a switch joins the stack, it inherits the VTP and VLAN properties of the active switch. • All VTP updates are carried across the stack. Catalyst 2960-X Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX OL-29065...
VTP mode and configuration for VLAN IDs 1 to 1005 use the VLAN database information. Related Topics Configuring VTP on a Per-Port Basis, on page 31 Configuring a VTP Version 3 Primary Server, on page 28 Catalyst 2960-X Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX OL-29065...
Follow these guidelines when deciding which VTP version to implement: • All switches in a VTP domain must have the same domain name, but they do not need to run the same VTP version. Catalyst 2960-X Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX OL-29065...
Page 35
2. If there is a version 1-only switch, it does not exchange VTP information with switches that have version 2 enabled. • Cisco recommends placing VTP version 1 and 2 switches at the edge of the network because they do not forward VTP version 3 advertisements.
The mode is the same as the mode in VTP version 1 or 2 before conversion to version 3. VTP version Version 1 MST database mode Transparent VTP version 3 server type Secondary VTP password None VTP pruning Disabled Catalyst 2960-X Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX OL-29065...
5. end 6. show vtp status 7. copy running-config startup-config DETAILED STEPS Command or Action Purpose Step 1 configure terminal Enters the global configuration mode. Example: Switch# configure terminal Catalyst 2960-X Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX OL-29065...
Page 38
(Optional) Saves the configuration in the startup configuration file. Only VTP mode and domain name are saved in the switch running Example: configuration and can be copied to the startup configuration file. Switch# copy running-config startup-config Catalyst 2960-X Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX OL-29065...
• (Optional) force—Overwrites the configuration of any conflicting servers. If you do not enter force, you are prompted for confirmation before the takeover. Related Topics VTP Settings, on page 21 Catalyst 2960-X Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX OL-29065...
Switch# configure terminal Step 2 vtp version {1 | 2 | 3} Enables the VTP version on the switch. The default is VTP version 1. Example: Switch(config)# vtp version 2 Catalyst 2960-X Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX OL-29065...
To configure VTP pruning on an interface, use the switchport trunk pruning vlan interface configuration command. VTP pruning operates when an interface is trunking. You can set VLAN pruning-eligibility, whether Catalyst 2960-X Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX OL-29065...
With VTP version 3, you can enable or disable VTP on a per-port basis. You can enable VTP only on ports that are in trunk mode. Incoming and outgoing VTP traffic are blocked, not forwarded. Catalyst 2960-X Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX OL-29065...
Page 44
Verifies the change to the port. Example: Switch# show running-config interface gigabitethernet1/0/1 Step 6 show vtp status Verifies the configuration. Example: Switch# show vtp status Catalyst 2960-X Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX OL-29065...
Example: If the number is greater than 0, follow these sub steps: Switch# show vtp status • Write down the domain name. • Write down the configuration revision number. Catalyst 2960-X Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX OL-29065...
Page 46
Enters the original domain name on the switch Example: Switch(config)# vtp domain domain012 Step 8 Returns to privileged EXEC mode. The VLAN information on the switch is updated. Example: Switch(config)# end Catalyst 2960-X Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX OL-29065...
Displays the VTP password. The form of the password displayed depends on whether or not the hidden keyword was entered and if encryption is enabled on the switch. Displays the VTP switch configuration information. show vtp status Catalyst 2960-X Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX OL-29065...
To enable VTP on the interface, use the vtp interface configuration command. To disable VTP on the interface, use the no vtp interface configuration command. Switch(config)# interface gigabitethernet 1/0/1 Switch(config-if)# vtp Switch(config-if)# end Catalyst 2960-X Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX OL-29065...
All supported MIBs for this release. To locate and download MIBs for selected platforms, Cisco IOS releases, and feature sets, use Cisco MIB Locator found at the following URL: http://www.cisco.com/go/mibs Catalyst 2960-X Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX OL-29065...
Access to most tools on the Cisco Support website requires a Cisco.com user ID and password. Feature History and Information for VTP Release Modification Cisco IOS 15.0(2)EX This feature was introduced. Catalyst 2960-X Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX OL-29065...
Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to http://www.cisco.com/go/cfn. An account on Cisco.com is not required.
VLAN must be forwarded through a router or a switch supporting fallback bridging. In a switch stack, VLANs can be formed with ports across the stack. Because a VLAN is considered a separate Catalyst 2960-X Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX OL-29065...
VTP version 1 and version 2 support only normal-range VLANs (VLAN IDs 1 to 1005). In these versions, the switch must be in VTP transparent mode when you create VLAN IDs from 1006 to 4094. Cisco IOS Release 12.2(52)SE and later support VTP version 3. VTP version 3 supports the entire VLAN range (VLANs 1 to 4094).
VTP pruning-eligible list to block exchanges VLAN configuration flooded traffic to VLANs on trunk messages with other switches over ports that are included in the list. trunk links. Catalyst 2960-X Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX OL-29065...
VLAN database matches that in the startup configuration file, the VLAN database is ignored (cleared), and the VTP and VLAN configurations in the startup configuration file are used. The VLAN database revision number remains unchanged in the VLAN database. Catalyst 2960-X Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX OL-29065...
VTP over network ports or through the CLI), the VLAN information is communicated to all stack members. • When a switch joins a stack or when stacks merge, VTP information (the vlan.dat file) on the new switches will be consistent with the active switch. Catalyst 2960-X Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX OL-29065...
You can change only the MTU size and the remote SPAN configuration state on extended-range VLANs; all other characteristics must remain at the default state. Note The switch must be running the LAN Base image to support remote SPAN. Catalyst 2960-X Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX OL-29065...
With VTP version 1 and 2, if the switch is in VTP transparent mode, you can assign VLAN IDs greater than 1006, but they are not added to the VLAN database. Catalyst 2960-X Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX OL-29065...
Page 60
Step 5 (Optional) Configures the VLAN as the RSPAN VLAN for a remote-span remote SPAN session. Example: Switch(config-vlan)# remote-span Step 6 Returns to privileged EXEC mode. Example: Switch(config)# end Catalyst 2960-X Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX OL-29065...
VLANs (in the range 1006 to 4094). VTP version supports extended-range VLANs in server or transparent move. Extended-range VLANs enable service providers to extend their infrastructure to Catalyst 2960-X Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX OL-29065...
Switch# configure terminal Step 2 vtp mode transparent Configures the switch for VTP transparent mode, disabling VTP. Note This step is not required for VTP version Example: Switch(config)# vtp mode transparent Catalyst 2960-X Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX OL-29065...
Page 65
This step is not required for VTP version 3 because VLANs Note are saved in the VLAN database. Related Topics Extended-Range VLAN Configuration Guidelines, on page 45 Example: Creating an Extended-Range VLAN, on page 56 Catalyst 2960-X Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX OL-29065...
This example shows how to create Ethernet VLAN 20, name it test20, and add it to the VLAN database: Switch# configure terminal Switch(config)# vlan 20 Switch(config-vlan)# name test20 Switch(config-vlan)# end Related Topics Creating or Modifying an Ethernet VLAN Catalyst 2960-X Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX OL-29065...
Where to Go Next After configuring VLANs, you can configure the following: • VLAN Trunking Protocol (VTP) • VLAN trunks • VLAN Membership Policy Server (VMPS) • Voice VLANs Catalyst 2960-X Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX OL-29065...
Product Alert Tool (accessed from Field Notices), the Cisco Technical Services Newsletter, and Really Simple Syndication (RSS) Feeds. Access to most tools on the Cisco Support website requires a Cisco.com user ID and password. Catalyst 2960-X Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX OL-29065...
Configuring VLANs Feature History and Information for VLAN Feature History and Information for VLAN Release Modification Cisco IOS 15.0(2)EX This feature was introduced. Catalyst 2960-X Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX OL-29065...
VLAN allowed on the trunks. Non-Cisco devices might support one spanning-tree instance for all VLANs. When you connect a Cisco switch to a non-Cisco device through an IEEE 802.1Q trunk, the Cisco switch combines the spanning-tree instance of the VLAN of the trunk with the spanning-tree instance of the non-Cisco IEEE 802.1Q switch.
The interface becomes a nontrunk interface regardless of whether or not the neighboring interface is a trunk interface. Catalyst 2960-X Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX OL-29065...
VLAN 1 from the allowed list. When you remove VLAN 1 from a trunk port, the interface continues to send and receive management traffic, for example, Cisco Discovery Protocol (CDP), Port Aggregation Protocol (PAgP), Link Aggregation Control Protocol (LACP), DTP, and VTP in VLAN 1.
VLANs. No duplication of traffic occurs over any trunk port. Related Topics Configuring Load Sharing Using STP Port Priorities, on page 71 Catalyst 2960-X Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX OL-29065...
◦ STP port priority for each VLAN. ◦ STP Port Fast setting. ◦ Trunk status: If one port in a port group ceases to be a trunk, all ports cease to be trunks. Catalyst 2960-X Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX OL-29065...
• To enable trunking to a device that does not support DTP, use the switchport mode trunk and switchport nonegotiate interface configuration commands to cause the interface to become a trunk but to not generate DTP frames. Catalyst 2960-X Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX OL-29065...
• dynamic auto—Sets the interface to a trunk link if the neighboring interface is set to trunk or desirable mode. This Switch(config-if)# switchport mode dynamic desirable is the default. Catalyst 2960-X Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX OL-29065...
Page 78
Displays the trunk configuration of the interface. Example: Switch# show interfaces gigabitethernet1/0/2 trunk Step 9 (Optional) Saves your entries in the configuration file. copy running-config startup-config Example: Switch# copy running-config startup-config Catalyst 2960-X Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX OL-29065...
Defining the Allowed VLANs on a Trunk VLAN 1 is the default VLAN on all trunk ports in all Cisco switches, and it has previously been a requirement that VLAN 1 always be enabled on every trunk link. You can use the VLAN 1 minimization feature to disable VLAN 1 on any individual VLAN trunk link so that no user traffic (including spanning-tree advertisements) is sent or received on VLAN 1.
Page 81
Verifies your entries in the Pruning VLANs Enabled field of the display. Example: Switch# show interfaces gigabitethernet2/0/1 switchport Step 6 copy running-config startup-config (Optional) Saves your entries in the configuration file. Example: Switch# copy running-config startup-config Catalyst 2960-X Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX OL-29065...
Example: For vlan-id, the range is 1 to 4094. Switch(config-if)# switchport trunk native vlan Step 4 Returns to privileged EXEC mode. Example: Switch(config-if)# end Catalyst 2960-X Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX OL-29065...
These steps describe how to configure a network with load sharing using STP port priorities. Catalyst 2960-X Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX OL-29065...
Page 84
Enters global configuration mode on Switch A. Example: Switch# configure terminal Step 2 vtp domain domain-name Configures a VTP administrative domain. The domain name can be 1 to 32 characters. Example: Switch(config)# vtp domain workdomain Catalyst 2960-X Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX OL-29065...
Page 85
Switch(config-if)# switchport mode trunk Step 10 Returns to privileged EXEC mode. Example: Switch(config-if)# end Step 11 show interfaces interface-id switchport Verifies the VLAN configuration. Example: Switch# show interfaces gigabitethernet1/0/1 Catalyst 2960-X Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX OL-29065...
Page 86
Assigns the port priority for the VLAN range specified. priority-value Enter a port priority value from 0 to 240. Port priority values increment by 16. Example: Switch(config-if)# spanning-tree vlan 3-6 port-priority 16 Catalyst 2960-X Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX OL-29065...
Network Load Sharing Using STP Priorities, on page 62 Configuring Load Sharing Using STP Path Cost These steps describe how to configure a network with load sharing using STP path costs. Catalyst 2960-X Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX OL-29065...
Page 88
Defines the interface to be configured as a trunk, and enters interface configuration mode. Example: Switch(config)# interface gigabitethernet1/0/1 Step 3 Configures the port as a trunk port. switchport mode trunk Example: Switch(config-if)# switchport mode trunk Catalyst 2960-X Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX OL-29065...
All supported MIBs for this release. To locate and download MIBs for selected platforms, Cisco IOS releases, and feature sets, use Cisco MIB Locator found at the following URL: http://www.cisco.com/go/mibs Catalyst 2960-X Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX OL-29065...
Access to most tools on the Cisco Support website requires a Cisco.com user ID and password. Feature History and Information for VLAN Trunks Release Modification Cisco IOS 15.0(2)EX This feature was introduced. Catalyst 2960-X Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX OL-29065...
Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to http://www.cisco.com/go/cfn. An account on Cisco.com is not required.
In open mode, the server denies the host access to the port. If the port is currently unassigned (that is, it does not yet have a VLAN assignment), the VMPS provides one of these responses: Catalyst 2960-X Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX OL-29065...
20 MAC addresses are allowed per port on the switch. A dynamic-access port can belong to only one VLAN at a time, but the VLAN can change over time, depending on the MAC addresses seen. Catalyst 2960-X Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX OL-29065...
You must first enter the IP address of the server to configure the switch as a client. SUMMARY STEPS 1. configure terminal 2. vmps server ipaddress primary 3. vmps server ipaddress 4. end 5. show vmps 6. copy running-config startup-config Catalyst 2960-X Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX OL-29065...
Configuring Dynamic-Access Ports on VMPS Clients Dynamic-access port VLAN membership is for end stations or hubs connected to end stations. Connecting Caution dynamic-access ports to other switches can cause a loss of connectivity. Catalyst 2960-X Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX OL-29065...
Page 98
Specifies the switch port that is connected to the end station, and enters interface configuration mode. Example: Switch(config)# interface gigabitethernet 1/0/1 Step 3 switchport mode access Sets the port to access mode. Example: Switch(config-if)# switchport mode access Catalyst 2960-X Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX OL-29065...
Example: VMPS Configuration, on page 91 Reconfirming VLAN Memberships This task confirms the dynamic-access port VLAN membership assignments that the switch has received from the VMPS. SUMMARY STEPS 1. vmps reconfirm 2. show vmps Catalyst 2960-X Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX OL-29065...
Beginning in privileged EXEC mode, follow these steps to change the number of times that the switch attempts to contact the VMPS before querying the next server. SUMMARY STEPS 1. configure terminal 2. vmps retry count 3. end 4. show vmps 5. copy running-config startup-config Catalyst 2960-X Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX OL-29065...
More than 20 active hosts reside on a dynamic-access port. Problem To reenable a disabled dynamic-access port, enter the shutdown interface configuration command Solution followed by the no shutdown interface configuration command. Catalyst 2960-X Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX OL-29065...
• End stations are connected to the clients, Switch B and Switch I. • The database configuration file is stored on the TFTP server with the IP address 172.20.22.7. Catalyst 2960-X Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX OL-29065...
Configuring Dynamic-Access Ports on VMPS Clients, on page 85 Dynamic VLAN Assignments, on page 82 Dynamic-Access Port VLAN Membership, on page 83 Where to Go Next You can configure the following: • VTP Catalyst 2960-X Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX OL-29065...
Product Alert Tool (accessed from Field Notices), the Cisco Technical Services Newsletter, and Really Simple Syndication (RSS) Feeds. Access to most tools on the Cisco Support website requires a Cisco.com user ID and password. Catalyst 2960-X Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX OL-29065...
Configuring VMPS Feature History and Information for VMPS Feature History and Information for VMPS Release Modification Cisco IOS 15.0(2)EX This feature was introduced. Catalyst 2960-X Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX OL-29065...
Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to http://www.cisco.com/go/cfn. An account on Cisco.com is not required.
If you use the auto-QoS feature, these settings are automatically configured. • You must enable CDP on the switch port connected to the Cisco IP Phone to send the configuration to the phone. (CDP is globally enabled by default on all switch interfaces.) Restrictions for Voice VLANs You cannot configure static secure MAC addresses in the voice VLAN.
The switch can also process tagged data traffic (traffic in IEEE 802.1Q or IEEE 802.1p frame types) from the device attached to the access port on the Cisco IP Phone. You can configure Layer 2 access ports on the switch to send CDP packets that instruct the attached phone to configure the phone access port in one of these modes: •...
VLAN, the Port Fast feature is not automatically disabled. • If the Cisco IP Phone and a device attached to the phone are in the same VLAN, they must be in the same IP subnet. These conditions indicate that they are in the same VLAN: ◦...
Configuring Cisco IP Phone Voice Traffic You can configure a port connected to the Cisco IP Phone to send CDP packets to the phone to configure the way in which the phone sends voice traffic. The phone can carry voice traffic in IEEE 802.1Q frames for a specified voice VLAN with a Layer 2 CoS value.
Page 112
802.1p priority frames tagged with VLAN ID 0 (the native VLAN). By default, the switch drops all voice and data traffic tagged with VLAN 0. If configured for 802.1p the Cisco IP Phone forwards the traffic with an IEEE 802.1p priority of 5.
Configuring the Priority of Incoming Data Frames You can connect a PC or other data device to a Cisco IP Phone port. To process tagged data traffic (in IEEE 802.1Q or IEEE 802.1p frames), you can configure the switch to send CDP packets to instruct the phone how to send data packets from the device attached to the access port on the Cisco IP Phone.
Page 114
Switch(config)# interface gigabitethernet1/0/1 Step 3 switchport priority extend {cos value | trust} Sets the priority of data traffic received from the Cisco IP Phone access port: Example: • cos value—Configures the phone to override the priority received from the PC or the attached device with the...
Example: Configuring Cisco IP Phone Voice Traffic This example shows how to configure a port connected to a Cisco IP Phone to use the CoS value to classify incoming traffic and to accept voice and data priority traffic tagged with VLAN ID 0: Switch# configure terminal Enter configuration commands, one per line.
All supported MIBs for this release. To locate and download MIBs for selected platforms, Cisco IOS releases, and feature sets, use Cisco MIB Locator found at the following URL: http://www.cisco.com/go/mibs Catalyst 2960-X Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX OL-29065...
Access to most tools on the Cisco Support website requires a Cisco.com user ID and password. Feature History and Information for Voice VLAN Release Modification Cisco IOS 15.0(2)EX This feature was introduced. Catalyst 2960-X Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX OL-29065...
Page 118
Configuring Voice VLANs Feature History and Information for Voice VLAN Catalyst 2960-X Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX OL-29065...