Cisco Systems WSC2960XR48FPSI User Manual

Browse online or download User Manual for Network switches Cisco Systems WSC2960XR48FPSI. Cisco Systems WSC2960XR48FPSI User's Manual

  • Download
  • Add to my manuals
  • Print
  • Page
    / 178
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 0
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
Page view 0
1 2 3 4 5 6 ... 177 178

Summary of Contents

Page 1 - 15.0(2)EX1

Catalyst 2960-XR Switch VLAN Configuration Guide, Cisco IOS Release15.0(2)EX1First Published: August 08, 2013Americas HeadquartersCisco Systems, Inc.1

Page 2

Catalyst 2960-XR Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX1x OL-29440-01 Contents

Page 3 - CONTENTS

Restrictions for Private VLANsThe following are restrictions for configuring private VLANs:•Private VLANs are only supported on switches running the I

Page 4

Dynamic MAC addresses learned in one VLAN of a private VLAN are replicated inthe associated VLANs. For example, a MAC address learned in a secondary V

Page 5 - OL-29440-01 v

private VLAN can have multiple VLAN pairs, one pair for each subdomain. All VLAN pairs in a privateVLAN share the same primary VLAN. The secondary VLA

Page 6

• Promiscuous—A promiscuous port belongs to the primary VLAN and can communicate with all interfaces,including the community and isolated host ports t

Page 7 - OL-29440-01 vii

•Configure selected interfaces connected to end stations as isolated ports to prevent any communicationat Layer 2. For example, if the end stations ar

Page 8

A feature of private VLANs across multiple switches is that traffic from an isolated port in switch A does notreach an isolated port on Switch B.Figur

Page 9 - OL-29440-01 ix

Multicast traffic is routed or bridged across private VLAN boundaries and within a single community VLAN.Multicast traffic is not forwarded between po

Page 10 - Contents

3Configure interfaces to be isolated or community host ports, and assign VLAN membership to the hostport.4Configure interfaces as promiscuous ports, a

Page 11 - Document Conventions

DETAILED STEPSPurposeCommand or ActionEnters global configuration mode.configure terminalExample:Switch# configure terminalStep 1Sets VTP mode to tran

Page 12 - Timesaver

PurposeCommand or Action(Optional) Enters VLAN configuration mode and designatesor creates a VLAN that will be a community VLAN. TheVLAN ID range is 2

Page 13 - Related Documentation

PrefaceThis guide describes configuration information and examples for VLANs on the switch.•Document Conventions, page xi•Related Documentation, page

Page 14

PurposeCommand or ActionExample:Switch# copy running-config startup-configTo save the private-VLAN configuration, you need to save theVTP transparent

Page 15 - Command Modes

PurposeCommand or ActionEnters interface configuration mode for the Layer2 interface to be configured.interface interface-idExample:Switch(config)# in

Page 16 - Table 1: Command Mode Summary

Configuring a Layer 2 Interface as a Private VLAN Promiscuous PortBeginning in privileged EXEC mode, follow these steps to configure a Layer 2 interfa

Page 17 - Using the Help System

PurposeCommand or Actionsingle private VLAN ID or a hyphenated range of private VLANIDs.mapping 20 add 501-503Enter a secondary_vlan_list, or use the

Page 18 - CLI Error Messages

SUMMARY STEPS1.configure terminal2.interface vlan primary_vlan_id3.private-vlan mapping [add | remove] secondary_vlan_list4.end5.show interface privat

Page 19 - Configuration Logging

PurposeCommand or ActionmappingSaves your entries in the switch startup configuration file.copy running-config startup configExample:Switch# copy runn

Page 20 - Recalling Commands

Configuration Examples for Private VLANsExample: Configuring a Primary VLAN, Isolated VLAN, and a Community ofVLANsThis example shows how to configure

Page 21

Negotiation of Trunking: OffAccess Mode VLAN: 1 (default)Trunking Native Mode VLAN: 1 (default)Administrative Native VLAN tagging: enabledVoice VLAN:

Page 22

Example: Monitoring Private VLANsThis example shows output from the show vlan private-vlan command:Switch(config)# show vlan private-vlanPrimary Secon

Page 23

MIBsMIBs LinkMIBTo locate and download MIBs for selected platforms,Cisco IOS releases, and feature sets, use Cisco MIBLocator found at the following U

Page 24

DescriptionConventionOptional alternative keywords are grouped in brackets and separated byvertical bars.[x | y]Required alternative keywords are grou

Page 25

Catalyst 2960-XR Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX1106 OL-29440-01 Configuring Private VLANsFeature History and Inform

Page 26 - 12 OL-29440-01

CHAPTER 6Configuring VMPS•Finding Feature Information, page 107•Prerequisites for VMPS, page 107•Restrictions for VMPS, page 108•Information About VMP

Page 27 - Configuring VTP

Restrictions for VMPS•IEEE 802.1x ports cannot be configured as dynamic-access ports. If you try to enable IEEE 802.1x ona dynamic-access (VQP) port,

Page 28 - Information About VTP

•If the host is not allowed on the port and the VMPS is in open mode, the VMPS sends an access-deniedresponse.•If the VLAN is not allowed on the port

Page 29 - VTP Modes

Default VMPS Client ConfigurationThe following table shows the default VMPS and dynamic-access port configuration on client switches.Table 13: Default

Page 30 - VTP Advertisements

DETAILED STEPSPurposeCommand or ActionEnters the global configuration mode.configure terminalExample:Switch# configure terminalStep 1Enters the IP add

Page 31 - VTP Version 3

If you are configuring a port on a cluster member switch as a dynamic-access port, first use the rcommandprivileged EXEC command to log in to the clus

Page 32 - VTP Pruning

PurposeCommand or ActionConfigures the port as eligible for dynamic VLANmembership.switchport access vlan dynamicExample:Switch(config-if)# switchport

Page 33 - OL-29440-01 19

DETAILED STEPSPurposeCommand or ActionReconfirms dynamic-access port VLAN membership.vmps reconfirmExample:Switch# vmps reconfirmStep 1Verifies the dy

Page 34 - VTP Configuration Guidelines

PurposeCommand or ActionSets the number of minutes between reconfirmations of thedynamic VLAN membership. The range is 1 to 120. The defaultis 60 minu

Page 35 - Passwords for the VTP Domain

Related DocumentationBefore installing or upgrading the switch, refer to the switch release notes.Note•Catalyst 2960-XR Switch documentation, located

Page 36 - VTP Version

DETAILED STEPSPurposeCommand or ActionEnters the global configuration mode.configure terminalExample:Switch# configure terminalStep 1Changes the retry

Page 37 - Default VTP Configuration

Monitoring the VMPSYou can display information about the VMPS by using the show vmps privileged EXEC command. Theswitch displays this information abou

Page 38 - How to Configure VTP

Figure 8: Dynamic Port VLAN Membership ConfigurationRelated TopicsConfiguring Dynamic-Access Ports on VMPS Clients, on page 111Dynamic VLAN Assignment

Page 39

•VTP•VLANs•VLAN Trunking•Private VLANs•Tunneling•Voice VLANsAdditional ReferencesRelated DocumentsDocument TitleRelated TopicCatalyst 2960-XR Switch V

Page 40

Technical AssistanceLinkDescriptionhttp://www.cisco.com/supportThe Cisco Support website provides extensive onlineresources, including documentation a

Page 41

CHAPTER 7Configuring IEEE 802.1Q and Layer 2 ProtocolTunneling•Finding Feature Information, page 121•Prerequisites for Configuring Tunneling, page 121

Page 42 - Enabling the VTP Version

IEEE 802.1Q Tunneling and IncompatibilitiesAlthough IEEE 802.1Q tunneling works well for Layer 2 packet switching, there are incompatibilities between

Page 43 - Enabling VTP Pruning

•The switch does not support Layer 2 protocol tunneling on ports with switchport mode dynamic autoor dynamic desirable.•DTP is not compatible with lay

Page 44

Layer 2 Tunneling for EtherChannelsTo configure Layer 2 point-to-point tunneling to facilitate the automatic creation of EtherChannels, you needto con

Page 45

port, and the other end is configured as a tunnel port. You assign the tunnel port interface to an access VLANID that is unique to each customer.Figur

Page 46

Catalyst 2960-XR Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX1xiv OL-29440-01 PrefaceObtaining Documentation and Submitting a Ser

Page 47

This figure shows the tag structures of the double-tagged packets.Figure 10: Original (Normal), IEEE 802.1Q, and Double-Tagged Ethernet Packet Formats

Page 48 - Monitoring VTP

Example: Configuring an IEEE 802.1Q Tunneling Port, on page 143IEEE 802.1Q Tunneling Configuration GuidelinesWhen you configure IEEE 802.1Q tunneling,

Page 49

•Ensure that the native VLAN ID on the edge-switch trunk port is not within the customer VLAN range.For example, if the trunk port carries traffic of

Page 50

Default IEEE 802.1Q Tunneling ConfigurationBy default, IEEE 802.1Q tunneling is disabled because the default switchport mode is dynamic auto. Taggingo

Page 51 - OL-29440-01 37

a switch in Customer X, Site 1, will build a spanning tree on the switches at that site without consideringconvergence parameters based on Customer X’

Page 52 - 38 OL-29440-01

SP switch, remote customer switches receive the PDUs and can negotiate the automatic creation ofEtherChannels.For example, in the following figure (La

Page 53 - Configuring VLANs

access ports in the same metro VLAN. Therefore, the Layer 2 PDUs remain intact and are delivered acrossthe service-provider infrastructure to the othe

Page 54 - Information About VLANs

How to Configure TunnelingConfiguring an IEEE 802.1Q Tunneling PortSUMMARY STEPS1.configure terminal2.interface interface-id3.switchport access vlan v

Page 55 - VLAN Port Membership Modes

PurposeCommand or ActionExample:Switch(config-if)# switchport modeUse the no switchport mode dot1q-tunnel interfaceconfiguration command to return the

Page 56 - Normal-Range VLAN Overview

PurposeCommand or Action(Optional) Saves your entries in the configuration file.copy running-config startup-configExample:Switch# copy running-config

Page 57 - Token Ring VLANs

CHAPTER 1Using the Command-Line InterfaceThis chapter contains the following topics:•Information About Using the Command-Line Interface, page 1•How to

Page 58 - 44 OL-29440-01

DETAILED STEPSPurposeCommand or ActionEnters the global configuration mode.configure terminalExample:Switch# configure terminalStep 1Specifies the int

Page 59 - OL-29440-01 45

PurposeCommand or Action(Optional) Configures the threshold for packets-per-second accepted forencapsulation. The interface drops packets if the confi

Page 60 - Default VLAN Configuration

PurposeCommand or Actionstartup-configRelated TopicsLayer 2 Protocol Tunneling on Ports, on page 131Layer 2 Protocol Tunneling , on page 122Layer 2 Tu

Page 61 - How to Configure VLANs

DETAILED STEPSPurposeCommand or ActionEnters the global configuration mode.configure terminalExample:Switch# configure terminalStep 1Specifies the int

Page 62

PurposeCommand or Actionis exceeded. If no protocol option is specified, the threshold applies toeach of the tunneled Layer 2 protocol types. The rang

Page 63 - Deleting a VLAN

PurposeCommand or ActionDisplays the Layer 2 tunnel ports on the switch, including the protocolsconfigured, the thresholds, and the counters.show l2pr

Page 64

DETAILED STEPSPurposeCommand or ActionEnters the global configuration mode.configure terminalExample:Switch# configure terminalStep 1Specifies the int

Page 65

PurposeCommand or ActionExample:Switch(config)# shutdownEnables the interface.no shutdownStep 9Example:Switch(config)# no shutdownReturns to privilege

Page 66

Switch(config-if)# switchport access vlan 22% Access VLAN does not exist. Creating vlan 22Switch(config-if)# switchport mode dot1q-tunnelSwitch(config

Page 67

Examples: Configuring the SP Edge and Customer SwitchesThis example shows how to configure the SP edge switch 1 and edge switch 2. VLANs 17, 18, 19, a

Page 68

Table 1: Command Mode SummaryAbout This ModeExit MethodPromptAccess MethodModeUse this mode to•Changeterminalsettings.•Perform basictests.•Displaysyst

Page 69

Switch(config-if)# switchport mode trunkSwitch(config-if)# udld enableSwitch(config-if)# channel-group 1 mode desirableSwitch(config-if)# exitSwitch(c

Page 70 - Monitoring VLANs

Where to Go NextYou can configure the following:•VTP•VLANs•VLAN Trunking•Private VLANs•VLAN Membership Policy Server (VMPS)•Voice VLANsAdditional Refe

Page 71 - Configuration Examples

Technical AssistanceLinkDescriptionhttp://www.cisco.com/supportThe Cisco Support website provides extensive onlineresources, including documentation a

Page 72

CHAPTER 8Configuring Voice VLANs•Finding Feature Information, page 149•Prerequisites for Voice VLANs, page 149•Restrictions for Voice VLANs, page 150•

Page 73 - OL-29440-01 59

Trunk ports can carry any number of voice VLANs, similar to regular VLANs. Theconfiguration of voice VLANs is not supported on trunk ports.Note•Before

Page 74 - 60 OL-29440-01

Figure 15: Cisco 7960 IP Phone Connected to aSwitchCisco IP Phone Voice TrafficYou can configure an access port with an attached Cisco IP Phone to use

Page 75 - Configuring VLAN Trunks

•In untrusted mode, all traffic in IEEE 802.1Q or IEEE 802.1p frames received through the access porton the Cisco IP Phone receive a configured Layer

Page 76 - Information About VLAN Trunks

•Voice VLAN ports can also be these port types:◦Dynamic access port.◦IEEE 802.1x authenticated port.If you enable IEEE 802.1x on an access port on whi

Page 77 - Layer 2 Interface Modes

SUMMARY STEPS1.configure terminal2.interface interface-id3.mls qos trust cos4.switchport voice vlan {vlan-id | dot1p | none | untagged }5.end6.Use one

Page 78 - Load Sharing on Trunk Ports

PurposeCommand or Action• none—Allows the phone to use its own configuration to senduntagged voice traffic.• untagged—Configures the phone to send unt

Page 79 - OL-29440-01 65

About This ModeExit MethodPromptAccess MethodModeLine configuration Use this mode toconfigureparameters for theterminal line.To exit to globalconfigur

Page 80 - Feature Interactions

to send data packets from the device attached to the access port on the Cisco IP Phone. The PC can generatepackets with an assigned CoS value. You can

Page 81 - How to Configure VLAN Trunks

PurposeCommand or ActionReturns to privileged EXEC mode.endExample:Switch(config-if)# endStep 4Verifies your entries.show interfaces interface-id swit

Page 82

This example shows how to enable switch port voice detect on a Cisco IP Phone:Switch# configure terminalEnter configuration commands, one per line. En

Page 83

•VLANs•VLAN trunking•Private VLANs•VLAN Membership Policy Server (VMPS)•TunnelingAdditional ReferencesRelated DocumentsDocument TitleRelated TopicCata

Page 84

Technical AssistanceLinkDescriptionhttp://www.cisco.com/supportThe Cisco Support website provides extensive onlineresources, including documentation a

Page 85

INDEXCCisco 7960 IP Phone 150Cisco IP Phone Data Traffic 151Cisco IP Phone Voice Traffic 151configuring 111confirming 113CoS 155override priority 155D

Page 86

Mmapping VLANs 103monitoring 34, 101, 146, 157private VLAN 101tunneling status 146voice VLAN 157VTP 34monitoring private VLANs 104MST mode 66Nnative V

Page 87

VLAN membership 113confirming 113VLAN monitoring commands 56VLAN port membership modes 41VMPS 109, 110, 113, 114, 115, 116dynamic port membership 109,

Page 88

Catalyst 2960-XR Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX1IN-4 OL-29440-01 Index

Page 89

PurposeCommand or ActionLists all commands available for a particular commandmode.?Example:Switch> ?Step 4Lists the associated keywords for a comma

Page 90

Table 2: Common CLI Error MessagesHow to Get HelpMeaningError MessageReenter the command followed bya question mark (?) with a spacebetween the comman

Page 91

THE SPECIFICATIONS AND INFORMATION REGARDING THE PRODUCTS IN THIS MANUAL ARE SUBJECT TO CHANGE WITHOUT NOTICE. ALL STATEMENTS,INFORMATION, AND RECOMME

Page 92

Changing the Command History Buffer SizeBy default, the switch records ten command lines in its history buffer. You can alter this number for a curren

Page 93

PurposeCommand or ActionLists the last several commands that you just entered in privileged EXEC mode.The number of commands that appear is controlled

Page 94

PurposeCommand or ActionDisables the enhanced editing mode for the current terminal sessionin the privileged EXEC mode.terminal no editingExample:Swit

Page 95

Deletes from the cursor to the end of the word.Esc DCapitalizes at the cursor.Esc CChanges the word at the cursor to lowercase.Esc LCapitalizes letter

Page 96 - 82 OL-29440-01

DETAILED STEPSPurposeCommand or ActionDisplays the global configuration command entry that extends beyondone line.access-listExample:Switch(config)# a

Page 97

PurposeCommand or ActionExpressions are case sensitive. For example, if you enter| exclude output, the lines that contain output are notdisplayed, but

Page 98 - 84 OL-29440-01

Catalyst 2960-XR Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX112 OL-29440-01 Using the Command-Line InterfaceAccessing the CLI th

Page 99 - OL-29440-01 85

CHAPTER 2Configuring VTP•Finding Feature Information, page 13•Prerequisites for VTP, page 13•Information About VTP, page 14•Default VTP Configuration,

Page 100 - Configuring Private VLANs

It does not work well in a situation where multiple updates to the VLAN database occur simultaneouslyon switches in the same domain, which would resul

Page 101 - Private VLAN Domains

Before adding a VTP client switch to a VTP domain, always verify that its VTP configuration revisionnumber is lower than the configuration revision nu

Page 102 - Private VLANs Ports

CONTENTSPreface Preface xiDocument Conventions xiRelated Documentation xiiiObtaining Documentation and Submitting a Service Request xiiiCHAPTER 1

Page 103 - Private VLANs in Networks

DescriptionVTP ModeVTP transparent switches do not participate in VTP. A VTP transparent switch does notadvertise its VLAN configuration and does not

Page 104 - 90 OL-29440-01

•Frame formatVTP advertisements distribute this VLAN information for each configured VLAN:•VLAN IDs (including IEEE 802.1Q)•VLAN name•VLAN type•VLAN s

Page 105 - OL-29440-01 91

VTP pruning still applies only to VLANs 1 to 1005, and VLANs 1002 to 1005 are stillreserved and cannot be modified.Note•Private VLAN support.• Support

Page 106 - Private VLANs and SVIs

VTP pruning is disabled in the switched network. Port 1 on Switch A and Port 2 on Switch D are assigned tothe Red VLAN. If a broadcast is sent from th

Page 107 - SUMMARY STEPS

Related TopicsEnabling VTP Pruning, on page 29VTP and Switch StacksVTP configuration is the same in all members of a switch stack. When the switch sta

Page 108 - DETAILED STEPS

startup configuration file by entering the copy running-config startup-config privileged EXEC command.You must use this command if you want to save VT

Page 109

Related TopicsConfiguring a VTP Version 3 Password, on page 26Example: Configuring a Hidden Password, on page 35VTP VersionFollow these guidelines whe

Page 110

•For VTP version 1 and version 2, if extended-range VLANs are configured on the switch stack, youcannot change VTP mode to client or server. You recei

Page 111

Default SettingFeatureNoneVTP passwordDisabledVTP pruningHow to Configure VTPConfiguring VTP ModeYou can configure VTP mode as one of these:•When a sw

Page 112

DETAILED STEPSPurposeCommand or ActionEnters the global configuration mode.configure terminalExample:Switch# configure terminalStep 1Configures the VT

Page 113 - Example:

Information About VTP 14VTP 14VTP Domain 14VTP Modes 15VTP Advertisements 16VTP Version 2 17VTP Version 3 17VTP Pruning 18VTP and Switch Stacks 20VTP

Page 114

PurposeCommand or Action(Optional) Saves the configuration in the startup configuration file.copy running-config startup-configStep 7Example:Switch# c

Page 115 - Monitoring Private VLANs

PurposeCommand or ActionTo clear the password, enter the no vtp password globalconfiguration command.NoteReturns to privileged EXEC mode.endExample:Sw

Page 116

PurposeCommand or Action• (Optional) mst—Selects the multiple spanning tree (MST) database as the takeoverfeature.• (Optional) force—Overwrites the co

Page 117

DETAILED STEPSPurposeCommand or ActionEnters the global configuration mode.configure terminalExample:Switch# configure terminalStep 1Enables the VTP v

Page 118 - Additional References

Before You BeginVTP pruning is not designed to function in VTP transparent mode. If one or more switches in the networkare in VTP transparent mode, yo

Page 119 - OL-29440-01 105

Related TopicsVTP Pruning, on page 18Configuring VTP on a Per-Port BasisWith VTP version 3, you can enable or disable VTP on a per-port basis. You can

Page 120 - 106 OL-29440-01

PurposeCommand or ActionVerifies the change to the port.show running-config interface interface-idExample:Switch# show running-config interfaceStep 5g

Page 121 - Configuring VMPS

DETAILED STEPSPurposeCommand or ActionChecks the VTP configuration revision number.show vtp statusStep 1Example:Switch# show vtp statusIf the number i

Page 122 - Information About VMPS

PurposeCommand or ActionReturns to privileged EXEC mode. The VLAN information on theswitch is updated.endExample:Switch(config)# endStep 8(Optional) V

Page 123 - OL-29440-01 109

Configuration Examples for VTPExample: Configuring the Switch as a VTP ServerThis example shows how to configure the switch as a VTP server with the d

Page 124 - How to Configure VMPS

Finding Feature Information 39Prerequisites for VLANs 39Restrictions for VLANs 40Information About VLANs 40Logical Networks 40Supported VLANs 41VLAN P

Page 125

VLANDB Yes 00d0.00b8.1400=00d0.00b8.1400 1 stp7Do you want to continue (y/n) [n]? yRelated TopicsConfiguring a VTP Version 3 Primary Server, on page 2

Page 126 - Before You Begin

MIBsMIBs LinkMIBTo locate and download MIBs for selected platforms,Cisco IOS releases, and feature sets, use Cisco MIBLocator found at the following U

Page 127 - Reconfirming VLAN Memberships

Catalyst 2960-XR Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX138 OL-29440-01 Configuring VTPFeature History and Information for V

Page 128

CHAPTER 3Configuring VLANs•Finding Feature Information, page 39•Prerequisites for VLANs, page 39•Restrictions for VLANs, page 40•Information About VLA

Page 129 - Changing the Retry Count

Restrictions for VLANsThe following are the restrictions for configuring VLANs:•The switch supports homogeneous stacking, but does not support mixed s

Page 130

interface-by-interface basis. When you assign switch interfaces to VLANs by using this method, it is knownas interface-based, or static, VLAN membersh

Page 131 - Monitoring the VMPS

VTP CharacteristicsVLAN Membership CharacteristicsMembership ModeVTP is recommended but notrequired. VTP maintains VLANconfiguration consistency byman

Page 132

a switch, the vlan.dat file is stored in flash memory on the stack master. Stack members have a vlan.dat filethat is consistent with the stack master.

Page 133

Normal-Range VLAN Configuration GuidelinesNormal-range VLANs are VLANs with IDs from 1 to 1005. VTP 1 and 2 only support normal-range VLANs.Follow the

Page 134 - 120 OL-29440-01

Extended-Range VLAN Configuration GuidelinesVTP 3 only supports extended-range VLANs. Extended-range VLANs are VLANs with IDs from 1006 to4094.Follow

Page 135 - Tunneling

Restrictions for VLAN Trunks 62Information About VLAN Trunks 62Trunking Overview 62Trunking Modes 62Layer 2 Interface Modes 63Allowed VLANs on a Trunk

Page 136 - Layer 2 Protocol Tunneling

Example: Creating an Extended-Range VLAN, on page 57Default Ethernet VLAN ConfigurationThe following table displays the default configuration for Ethe

Page 137 - OL-29440-01 123

How to Configure VLANsHow to Configure Normal-Range VLANsYou can set these parameters when you create a new normal-range VLAN or modify an existing VL

Page 138 - Information about Tunneling

SUMMARY STEPS1.configure terminal2.vlan vlan-id3.name vlan-name4.mtu mtu-size5.remote-span6.end7.show vlan {name vlan-name | id vlan-id}DETAILED STEPS

Page 139 - IEEE 802.1Q Tunneling

PurposeCommand or ActionVerifies your entries.show vlan {name vlan-name | id vlan-id}Example:Switch# show vlan name test20 id 20Step 7Related TopicsNo

Page 140 - 126 OL-29440-01

PurposeCommand or ActionRemoves the VLAN by entering the VLAN ID.no vlan vlan-idExample:Switch(config)# no vlan 4Step 2Returns to privileged EXEC mode

Page 141 - Native VLANs

DETAILED STEPSPurposeCommand or ActionEnters the global configuration mode.configure terminalExample:Switch# configure terminalStep 1Enters the interf

Page 142 - System MTU

How to Configure Extended-Range VLANsWith VTP version 1 and version 2, when the switch is in VTP transparent mode (VTP disabled), you cancreate extend

Page 143 - OL-29440-01 129

DETAILED STEPSPurposeCommand or ActionEnters the global configuration mode.configure terminalExample:Switch# configure terminalStep 1Configures the sw

Page 144 - 130 OL-29440-01

PurposeCommand or Actionswitch resets, it will default to VTP server mode, and the extended-rangeVLAN IDs will not be saved.startup-configThis step is

Page 145 - OL-29440-01 131

DETAILED STEPSPurposeCommand or ActionDisplays the VLAN IDs being used internally by the switch. If theVLAN ID that you want to use is an internal VLA

Page 146 - 132 OL-29440-01

Private VLAN Domains 87Secondary VLANs 88Private VLANs Ports 88Private VLANs in Networks 89IP Addressing Scheme with Private VLANs 90Private VLANs Acr

Page 147 - How to Configure Tunneling

PurposeCommand or ActionExits from VLAN configuration mode, and returns to globalconfiguration mode.exitExample:Switch(config-vlan)# exitStep 8Specifi

Page 148

Configuration ExamplesExample: Creating a VLAN NameThis example shows how to create Ethernet VLAN 20, name it test20, and add it to the VLAN database:

Page 149

Where to Go NextAfter configuring VLANs, you can configure the following:•VLAN Trunking Protocol (VTP)•VLAN trunks•Private VLANs•VLAN Membership Polic

Page 150

Technical AssistanceLinkDescriptionhttp://www.cisco.com/supportThe Cisco Support website provides extensive onlineresources, including documentation a

Page 151

Catalyst 2960-XR Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX160 OL-29440-01 Configuring VLANsFeature History and Information for

Page 152

CHAPTER 4Configuring VLAN Trunks•Finding Feature Information, page 61•Prerequisites for VLAN Trunks, page 61•Restrictions for VLAN Trunks, page 62•Inf

Page 153

Cisco switches separated by a cloud of non-Cisco IEEE 802.1Q switches. The non-Cisco IEEE 802.1Qcloud separating the Cisco switches is treated as a si

Page 154

generate DTP frames. Use theswitchport trunk encapsulation dot1q interface to select the encapsulationtype on the trunk port.You can also specify on D

Page 155

Allowed VLANs on a TrunkBy default, a trunk port sends traffic to and receives traffic from all VLANs. All VLAN IDs, 1 to 4094, areallowed on each tru

Page 156

Figure 4: Load Sharing by Using STP Port PrioritiesTrunk 1 carries traffic for VLANs 8 through 10, and Trunk 2 carries traffic for VLANs 3 through 6.

Page 157

Default VMPS Client Configuration 110How to Configure VMPS 110Entering the IP Address of the VMPS 110Configuring Dynamic-Access Ports on VMPS Clients

Page 158

Feature InteractionsTrunking interacts with other features in these ways:•A trunk port cannot be a secure port.•A trunk port cannot be a tunnel port.•

Page 159

Default SettingFeatureVLANs 2 to 1001VLAN range eligible for pruningVLAN 1Default VLAN (for access ports)VLAN 1Native VLAN (for IEEE 802.1Q trunks)How

Page 160 - Monitoring Tunneling Status

DETAILED STEPSPurposeCommand or ActionEnters the global configuration mode.configure terminalExample:Switch# configure terminalStep 1Specifies the por

Page 161

PurposeCommand or ActionDisplays the switch port configuration of the interface in theAdministrative Mode and the Administrative Trunking Encapsulatio

Page 162 - 148 OL-29440-01

DETAILED STEPSPurposeCommand or ActionEnters the global configuration mode.configure terminalExample:Switch# configure terminalStep 1Specifies the por

Page 163 - Configuring Voice VLANs

Changing the Pruning-Eligible ListThe pruning-eligible list applies only to trunk ports. Each trunk port has its own eligibility list. VTP pruningmust

Page 164 - Information About Voice VLAN

PurposeCommand or ActionReturns to privileged EXEC mode.endExample:Switch(config)# endStep 4Verifies your entries in the Pruning VLANs Enabled field o

Page 165 - Cisco IP Phone Data Traffic

DETAILED STEPSPurposeCommand or ActionEnters the global configuration mode.configure terminalExample:Switch# configure terminalStep 1Defines the inter

Page 166 - 152 OL-29440-01

configuration command to select an interface to put in the forwarding state. Assign lower cost values tointerfaces that you want selected first and hi

Page 167 - How to Configure Voice VLAN

PurposeCommand or ActionExample:Switch(config)# vtp domain workdomainThe domain name can be 1 to 32 characters.Configures Switch A as the VTP server.v

Page 168

Configuring the Customer Switch 141Configuration Examples for IEEE 802.1Q and Layer 2 Protocol Tunneling 143Example: Configuring an IEEE 802.1Q Tunnel

Page 169

PurposeCommand or ActionVerifies the VLAN configuration.show interfaces interface-id switchportExample:Switch# show interfaces gigabitethernet1/0/1Ste

Page 170

PurposeCommand or ActionAssigns the port priority for the VLAN range specified.Enter a port priority value from 0 to 240. Port priorityvalues incremen

Page 171 - Monitoring Voice VLAN

SUMMARY STEPS1.configure terminal2.interface interface-id3.switchport mode trunk4.exit5.Repeat Steps 2 through 4 on a second interface in Switch A or

Page 172

PurposeCommand or ActionReturns to global configuration mode.exitExample:Switch(config-if)# exitStep 4Repeat Steps 2 through 4 on a second interface i

Page 173

PurposeCommand or ActionReturns to global configuration mode.endExample:Switch(config-if)# endStep 12Repeat Steps 9 through 13 on the other configured

Page 174 - 160 OL-29440-01

Related TopicsConfiguring a Trunk Port, on page 67Feature Interactions, on page 66Example: Removing a VLANThis example shows how to remove VLAN 2 from

Page 175 - OL-29440-01 IN-1

MIBsMIBs LinkMIBTo locate and download MIBs for selected platforms,Cisco IOS releases, and feature sets, use Cisco MIBLocator found at the following U

Page 176 - IN-2 OL-29440-01

CHAPTER 5Configuring Private VLANs•Finding Feature Information, page 83•Prerequisites for Private VLANs, page 83•Restrictions for Private VLANs, page

Page 177 - OL-29440-01 IN-3

template is configured, use the sdm prefer default global configuration command to set the defaulttemplate.Secondary and Primary VLAN ConfigurationFol

Page 178 - IN-4 OL-29440-01

For more information about using the ip sticky-arp global configuration and the ip sticky-arpinterface configuration commands, see the command referen

Comments to this Manuals

No comments