Краткое содержание страницы № 1
Catalyst 2960-XR Switch VLAN Configuration Guide, Cisco IOS Release
15.0(2)EX1
First Published: August 08, 2013
Americas Headquarters
Cisco Systems, Inc.
170 West Tasman Drive
San Jose, CA 95134-1706
USA
http://www.cisco.com
Tel: 408 526-4000
800 553-NETS (6387)
Fax: 408 527-0883
Text Part Number: OL-29440-01
Краткое содержание страницы № 2
THE SPECIFICA TIONS AND INFORMA TION REGARDING THE PRODUCTS IN THIS MANUAL ARE SUBJECT T O CHANGE WITHOUT NOTICE. ALL ST A TEMENTS, INFORMA TION, AND RECOMMENDA TIONS IN THIS MANUAL ARE BELIEVED T O BE ACCURA TE BUT ARE PRESENTED WITHOUT W ARRANTY OF ANY KIND, EXPRESS OR IMPLIED. USERS MUST T AKE FULL RESPONSIBILITY FOR THEIR APPLICA TION OF ANY PRODUCTS. THE SOFTW ARE LICENSE AND LIMITED W ARRANTY FOR THE ACCOMP ANYING PRODUCT ARE SET FOR TH IN THE INFORMA TION P ACKET THA T SHIPPED WITH THE PR
Краткое содержание страницы № 3
CONTENTS Preface Pr eface xi Document Conventions xi Related Documentation xiii Obtaining Documentation and Submitting a Service Request xiii CHAPTER 1 Using the Command-Line Interface 1 Information About Using the Command-Line Interface 1 Command Modes 1 Using the Help System 3 Understanding Abbreviated Commands 4 No and default Forms of Commands 4 CLI Error Messages 4 Configuration Logging 5 How to Use the CLI to Configure Features 5 Configuring the Command History 5 Changing the Command H
Краткое содержание страницы № 4
Contents Information About VTP 14 VTP 14 VTP Domain 14 VTP Modes 15 VTP Advertisements 16 VTP V ersion 2 17 VTP V ersion 3 17 VTP Pruning 18 VTP and Switch Stacks 20 VTP Configuration Guidelines 20 Configuration Requirements 20 VTP Settings 20 Domain Names for Configuring VTP 21 Passwords for the VTP Domain 21 VTP V ersion 22 Default VTP Configuration 23 How to Configure VTP 24 Configuring VTP Mode 24 Configuring a VTP V ersion 3 Password 26 Configuring a VTP V ersion 3 Primary Server 27 Enablin
Краткое содержание страницы № 5
Contents Finding Feature Information 39 Prerequisites for VLANs 39 Restrictions for VLANs 40 Information About VLANs 40 Logical Networks 40 Supported VLANs 41 VLAN Port Membership Modes 41 Normal-Range VLAN Overview 42 T oken Ring VLANs 43 Normal-Range VLANs Configuration Process 43 VLAN Configuration Saving Process 43 Normal-Range VLAN Configuration Guidelines 44 Extended-Range VLAN Configuration Guidelines 45 Default Ethernet VLAN Configuration 46 Default VLAN Configuration 46 How to Configure
Краткое содержание страницы № 6
Contents Restrictions for VLAN T runks 62 Information About VLAN T runks 62 T runking Overview 62 T runking Modes 62 Layer 2 Interface Modes 63 Allowed VLANs on a T runk 64 Load Sharing on T runk Ports 64 Network Load Sharing Using STP Priorities 64 Network Load Sharing Using STP Path Cost 65 Feature Interactions 66 Default Layer 2 Ethernet Interface VLAN Configuration 66 How to Configure VLAN T runks 67 Configuring an Ethernet Interface as a T runk Port 67 Configuring a T runk Port 67 Defining
Краткое содержание страницы № 7
Contents Private VLAN Domains 87 Secondary VLANs 88 Private VLANs Ports 88 Private VLANs in Networks 89 IP Addressing Scheme with Private VLANs 90 Private VLANs Across Multiple Switches 90 Private VLAN Interaction with Other Features 91 Private VLANs and Unicast, Broadcast, and Multicast T raf fic 91 Private VLANs and SVIs 92 Private VLANs and Switch Stacks 92 Private VLAN Configuration T asks 92 Default Private VLAN Configuration 93 How to Configure Private VLANs 93 Configuring and Associating
Краткое содержание страницы № 8
Contents Default VMPS Client Configuration 110 How to Configure VMPS 110 Entering the IP Address of the VMPS 110 Configuring Dynamic-Access Ports on VMPS Clients 111 Reconfirming VLAN Memberships 113 Changing the Reconfirmation Interval 114 Changing the Retry Count 115 T roubleshooting Dynamic-Access Port VLAN Membership 116 Monitoring the VMPS 117 Configuration Example for VMPS 117 Example: VMPS Configuration 117 Where to Go Next 118 Additional References 119 Feature History and Information for
Краткое содержание страницы № 9
Contents Configuring the Customer Switch 141 Configuration Examples for IEEE 802.1Q and Layer 2 Protocol T unneling 143 Example: Configuring an IEEE 802.1Q T unneling Port 143 Example: Configuring Layer 2 Protocol T unneling 144 Examples: Configuring the SP Edge and Customer Switches 145 Monitoring T unneling Status 146 Where to Go Next 147 Additional References 147 Feature History and Information for T unneling 148 CHAPTER 8 Configuring V oice VLANs 149 Finding Feature Information 149 Prerequis
Краткое содержание страницы № 10
Contents Catalyst 2960-XR Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX1 x OL-29440-01
Краткое содержание страницы № 11
Preface This guide describes configuration information and examples for VLANs on the switch. • Document Conventions, page xi • Related Documentation, page xiii • Obtaining Documentation and Submitting a Service Request, page xiii Document Conventions This document uses the following conventions: Convention Description ^ or Ctrl Both the ^ symbol and Ctrl represent the Control (Ctrl) key on a keyboard. For example, the key combination ^D or Ctrl-D means that you hold down the Control key while yo
Краткое содержание страницы № 12
Preface Document Conventions Convention Description [x | y] Optional alternative keywords are grouped in brackets and separated by vertical bars. {x | y} Required alternative keywords are grouped in braces and separated by vertical bars. [x {y | z}] Nested set of square brackets or braces indicate optional or required choices within optional or required elements. Braces and a vertical bar within square brackets indicate a required choice within an optional element. string A nonquoted set of char
Краткое содержание страницы № 13
Preface Related Documentation Related Documentation Note Before installing or upgrading the switch, refer to the switch release notes. Catalyst 2960-XR Switch documentation, located at: • http:// www .cisco.com/go/ cat2960xr_docs • Cisco SFP and SFP+ modules documentation, including compatibility matrixes, located at: http:// www .cisco.com/en/US/products/hw/ modules/ps5455/ tsd_products_support_series_home.html • Cisco V alidated Designs documents, located at: http:// www .cisco.com/go/ designz
Краткое содержание страницы № 14
Preface Obtaining Documentation and Submitting a Service Request Catalyst 2960-XR Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX1 xiv OL-29440-01
Краткое содержание страницы № 15
CHAPTER 1 Using the Command-Line Interface This chapter contains the following topics: Information About Using the Command-Line Interface, page 1 • • 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 dif ferent modes. The commands available to you depend on which mode you are
Краткое содержание страницы № 16
Using the Command-Line Interface Command Modes Table 1: Command Mode Summary Mode Access Method Prompt Exit Method About This Mode User EXEC Begin a session Enter logout or Use this mode to Switch > using T elnet, SSH, quit. Change • or console. terminal settings. • Perform basic tests. Display • system information. Privileged EXEC While in user EXEC Enter disable to Use this mode to Switch # mode, enter the verify commands exit. enable command. that you have entered. Use a password to protect a
Краткое содержание страницы № 17
Using the Command-Line Interface Using the Help System Mode Access Method Prompt Exit Method About This Mode Line configuration While in global T o exit to global Use this mode to Switch (config-line)# configuration mode, configuration mode, configure specify a line with enter exit. parameters for the the line vty or line terminal line. T o return to console command. privileged EXEC mode, press Ctrl-Z or enter end. Using the Help System Y ou can enter a question mark (?) at the system prompt to
Краткое содержание страницы № 18
Using the Command-Line Interface Understanding Abbreviated Commands Command or Action Purpose Step 4 ? Lists all commands available for a particular command mode. Example: Switch> ? Step 5 command ? Lists the associated keywords for a command. Example: Switch> show ? Step 6 command keywor d ? Lists the associated ar guments for a keyword. Example: Switch(config)# cdp holdtime ? <10-255> Length of time (in sec) that receiver must keep this packet Understanding Abbreviated Commands Y ou need to en
Краткое содержание страницы № 19
Using the Command-Line Interface Configuration Logging Table 2: Common CLI Error Messages Error Message Meaning How to Get Help % Ambiguous command: "show Y ou did not enter enough Reenter the command followed by con" characters for your switch to a question mark (?) with a space recognize the command. between the command and the question mark. The possible keywords that you can enter with the command appear . % Incomplete command. Y ou did not enter all the keywords Reenter the command followed
Краткое содержание страницы № 20
Using the Command-Line Interface Configuring the Command History Changing the Command History Buffer Size By default, the switch records ten command lines in its history buf fer . Y ou can alter this number for a current terminal session or for all sessions on a particular line. This procedure is optional. SUMMARY STEPS 1. terminal history [ size number-of-lines] DETAILED STEPS Command or Action Purpose Step 1 terminal history [size number-of-lines] Changes the number of command lines that the s