Catalyst 2960-X Switch VLAN Configuration Guide, Cisco IOS Release 15.0 ...

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 USA Tel: 408 526-4000

800 553-NETS (6387) Fax: 408 527-0883

Text Part Number: OL-29065

THE SPECIFICATIONS AND INFORMATION REGARDING THE PRODUCTS IN THIS MANUAL ARE SUBJECT TO CHANGE WITHOUT NOTICE. ALL STATEMENTS, INFORMATION, AND RECOMMENDATIONS IN THIS MANUAL ARE BELIEVED TO BE ACCURATE BUT ARE PRESENTED WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED. USERS MUST TAKE FULL RESPONSIBILITY FOR THEIR APPLICATION OF ANY PRODUCTS.

THE SOFTWARE LICENSE AND LIMITED WARRANTY FOR THE ACCOMPANYING PRODUCT ARE SET FORTH IN THE INFORMATION PACKET THAT SHIPPED WITH THE PRODUCT AND ARE INCORPORATED HEREIN BY THIS REFERENCE. IF YOU ARE UNABLE TO LOCATE THE SOFTWARE LICENSE OR LIMITED WARRANTY, CONTACT YOUR CISCO REPRESENTATIVE FOR A COPY.

The Cisco implementation of TCP header compression is an adaptation of a program developed by the University of California, Berkeley (UCB) as part of UCB's public domain version of the UNIX operating system. All rights reserved. Copyright ? 1981, Regents of the University of California.

NOTWITHSTANDING ANY OTHER WARRANTY HEREIN, ALL DOCUMENT FILES AND SOFTWARE OF THESE SUPPLIERS ARE PROVIDED "AS IS" WITH ALL FAULTS. CISCO AND THE ABOVE-NAMED SUPPLIERS DISCLAIM ALL WARRANTIES, EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION, THOSE OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OR ARISING FROM A COURSE OF DEALING, USAGE, OR TRADE PRACTICE.

IN NO EVENT SHALL CISCO OR ITS SUPPLIERS BE LIABLE FOR ANY INDIRECT, SPECIAL, CONSEQUENTIAL, OR INCIDENTAL DAMAGES, INCLUDING, WITHOUT LIMITATION, LOST PROFITS OR LOSS OR DAMAGE TO DATA ARISING OUT OF THE USE OR INABILITY TO USE THIS MANUAL, EVEN IF CISCO OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

Any Internet Protocol (IP) addresses and phone numbers used in this document are not intended to be actual addresses and phone numbers. Any examples, command display output, network topology diagrams, and other figures included in the document are shown for illustrative purposes only. Any use of actual IP addresses or phone numbers in illustrative content is unintentional and coincidental.

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: http:// 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. (1110R)

? 2013 Cisco Systems, Inc. All rights reserved.

CONTENTS

Preface CHAPTER 1

CHAPTER 2 OL-29065

Preface ix Document Conventions ix Related Documentation xi Obtaining Documentation and Submitting a Service Request xi

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 History Buffer Size 6 Recalling Commands 6 Disabling the Command History Feature 7 Enabling and Disabling Editing Features 7 Editing Commands through Keystrokes 8 Editing Command Lines That Wrap 9 Searching and Filtering Output of show and more Commands 10 Accessing the CLI through a Console Connection or through Telnet 11

Configuring VTP 13 Finding Feature Information 13 Prerequisites for VTP 13

Catalyst 2960-X Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX iii

Contents

Restrictions for VTP 14 Information About VTP 14

VTP 14 VTP Domain 15 VTP Modes 16 VTP Advertisements 17 VTP Version 2 17 VTP Version 3 18 VTP Pruning 19 VTP and Switch Stacks 20 VTP Configuration Guidelines 21

VTP Configuration Requirements 21 VTP Settings 21 Domain Names for Configuring VTP 22 Passwords for the VTP Domain 22 VTP Version 22 Default VTP Configuration 24 How to Configure VTP 25 Configuring VTP Mode 25 Configuring a VTP Version 3 Password 27 Configuring a VTP Version 3 Primary Server 28 Enabling the VTP Version 29 Enabling VTP Pruning 30 Configuring VTP on a Per-Port Basis 31 Adding a VTP Client Switch to a VTP Domain 33 Monitoring VTP 35 Configuration Examples for VTP 36 Example: Configuring a Switch as the Primary Server 36 Example: Configuring Switch as VTP Server 36 Example: Enabling VTP on the Interface 36 Example: Creating the VTP Password 37 Where to Go Next 37 Additional References 37 Feature History and Information for VTP 38

Catalyst 2960-X Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX iv

OL-29065

Contents

CHAPTER 3

CHAPTER 4 OL-29065

Configuring VLANs 39 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 42 VLAN Configuration Files 43 Normal-Range VLAN Configuration Guidelines 44 Extended-Range VLAN Configuration Guidelines 45 Default VLAN Configurations 45 Default Ethernet VLAN Configuration 45 Default VLAN Configuration 46 How to Configure VLANs 47 How to Configure Normal-Range VLANs 47 Creating or Modifying an Ethernet VLAN 47 Deleting a VLAN 49 Assigning Static-Access Ports to a VLAN 50 How to Configure Extended-Range VLANs 51 Creating an Extended-Range VLAN 52 Monitoring VLANs 54 Configuration Examples 55 Example: Creating a VLAN Name 55 Example: Configuring a Port as Access Port 56 Example: Creating an Extended-Range VLAN 56 Where to Go Next 56 Additional References 57 Feature History and Information for VLAN 58

Configuring VLAN Trunks 59 Finding Feature Information 59 Prerequisites for VLAN Trunks 59 Information About VLAN Trunks 60

Catalyst 2960-X Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX v

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download