Configuring MSTP CHAPTER

Similar documents
The multiple spanning-tree (MST) implementation is based on the IEEE 802.1s standard.

Configuring MST Using Cisco NX-OS

Configuring STP and Prestandard IEEE 802.1s MST

Configuring Spanning Tree Protocol

Configuring Rapid PVST+ Using NX-OS

Configuring Rapid PVST+

Configuring Rapid PVST+

Configuring STP and RSTP

62HConfiguring port role restriction 131H37. 63HConfiguring TC-BPDU transmission restriction 132H38. 64HEnabling TC-BPDU guard 133H38

Configuring Spanning Tree Protocol

Table of Contents 1 MSTP Configuration 1-1

Cisco Exam Interconnecting Cisco Networking Devices Part 2 Version: 10.0 [ Total Questions: 149 ]

Understanding and Configuring STP

Configuring STP. Understanding Spanning-Tree Features CHAPTER

Table of Contents. (Rapid) Spanning Tree Protocol. A simple bridge loop. An even worse bridge loop. Bridge loops Two bridges Three bridges (R)STP

MSTP Configuration. Page 1 of 24

MSTP Configuration. Configuration

Index. Numerics. Index p priority (QoS) definition Q VLAN standard w as a region 5-54

Layer 2/3 Configuration Guide, Cisco IOS XE Release 3.6E (Catalyst 3850 Switches)

Improving network convergence with Multiple Spanning Tree Protocol

Table of Contents. (Rapid) Spanning Tree Protocol. A simple bridge loop. An even worse bridge loop. Bridge loops Two bridges Three bridges (R)STP

Configuring STP Extensions

Table of Contents. (Rapid) Spanning Tree Protocol. An even worse bridge loop. A simple bridge loop. Bridge loops Two bridges Three bridges (R)STP

DECUS IT-Symposium Spanning Tree Protocol Interoperability Cisco/HP ProCurve

Understanding Multiple Spanning Tree Protocol (802.1s)

MSTP Technology White Paper

Cisco Understanding Multiple Spanning Tree Protocol (802.1

Configuring STP Extensions

Table of Contents Chapter 1 MSTP Configuration

Configuring STP Extensions Using Cisco NX-OS

Question No: 1 On the MSTP network as shown in the figure, what is the role of the switch in MSTI 1 according to the configuration?

Describing the STP. 2003, Cisco Systems, Inc. All rights reserved. 2-1

Download: PT-Topology-STP2.pkt

Managing Network Spanning Trees

PASS4TEST. IT Certification Guaranteed, The Easy Way! We offer free update service for one year

Configuring Optional Spanning-Tree Features

Chapter 5. Spanning Tree Protocol (STP) Part II

Understanding Rapid Spanning Tree Protocol (802.1w)

Table of Contents. Cisco Understanding Rapid Spanning Tree Protocol (802.1w)

Spanning Tree Protocol(STP)

Implement Spanning Tree Protocols. LAN Switching and Wireless Chapter 5

STP Optional Characteristic Configuration

Describing the STP. IEEE Documents. Download this file. Enhancements to STP. Download: PT-Topology-STP2.pkt STP

2V] Chapter 2 Catalyst 3560 Switch Cisco IOS Commands shutdown. This command has no arguments or keywords.

Describing the STP. Enhancements to STP. Configuring PortFast. Describing PortFast. Configuring. Verifying

Cisco Nexus 7000 Series NX-OS Layer 2 Switching Configuration Guide

material. For more information on how to get additional questions, please see

Copyright 2014 CertificationKits LLC. All Rights Reserved. 2

2.2 Cisco IOS Commands for the Catalyst 4500 Series Switches snmp ifindex clear. This command has no arguments or keywords.

PrepKing. PrepKing

Communication Redundancy User s Manual

Configuring Optional STP Features

Table of Contents 1 MSTP Configuration Commands 1-1

Implementing Multiple Spanning Tree Protocol

Index. Numerics. Index 1

Implementing MST in a Large Campus Environment

Campus Networking Workshop. Layer 2 engineering Spanning Tree and VLANs

Configuring Spanning Tree Protocol

Cisco Nexus 5000 Series NX-OS Layer 2 Switching Configuration Guide, Release 5.1(3)N2(1)

Implement Spanning Tree Protocols PART-II. LAN Switching and Wireless Chapter 5 Modified by Tony Chen 07/01/2009

Maintaining Specific VLAN Identification. Comparing ISL and 802.1Q. VLAN Trunking

Spanning Tree Protocol

Configuring Spanning Tree

Spanning-Tree Protocol

Exam Questions

Layer 2 Engineering Spanning Tree

Question No : 1 Which three of these statements regarding 802.1Q trunking are correct? (Choose three.)

CCNA 3 (v v6.0) Chapter 3 Exam Answers % Full

Document ID: Contents. Introduction. Prerequisites. Requirements. Components Used. Conventions. Background Information.

13. Spanning Tree Protocols

Cisco Nexus 6000 Series NX-OS Layer 2 Switching Configuration Guide, Release 7.x

0] Chapter 2 Cisco ME 3400E Ethernet Access Switch Cisco IOS Commands shutdown. This command has no arguments or keywords.

Configuring Optional STP Features

HP0-Y23. Deploying HP ProCurve Products.

RSTP Configuration. Page 1 of 26

Cisco Nexus 3000 NX-OS Layer 2 Switching Configuration Guide, Release 5.0(3)U3(1)

HP0-Y12. Building ProCurve Resilient, Adaptive Networks. Download Full Version :

Configuring RRPP. Overview. Basic RRPP concepts. RRPP domain

itexamdump 최고이자최신인 IT 인증시험덤프 일년무료업데이트서비스제공

802.1AS Fast Master Clock Selection

Chapter 5: STP. * What is STP? How does STP work?

Moxa Managed Ethernet Switch Redundancy Protocol (UI 2.0) User s Manual

Application Note. MICROSENS GmbH & Co. KG Küferstr Hamm/Germany

BLADE 802.1s Spanning Tree and Interoperability with Cisco

Building Cisco Multilayer Switched Networks (BCMSN)

Network-Level High Availability

MSTP Compatibility. Introduction. Topology. Autunm 2014

Spanning-Tree Protocol

Real4Test. Real IT Certification Exam Study materials/braindumps

The Spanning Tree 802.1D (2004) RSTP MSTP

RSTP Configuration. RSTP Configuration

Configuring Virtual Port Channels

CUDN PoP Switch Changes 2018

Lab 2. Spanning Tree Protocols. Overview. JNCIS-ENT++ Bootcamp

Implementing Spanning Tree Protocol

STP (Spanning Tree Protocol) - Step by Step Configuration Tutorial

Chapter 4 Lab 4-2 Multiple Spanning Tree INSTRUCTOR VERSION

Configuring VLANs. Understanding VLANs CHAPTER

Packet Switching on L2 (LAN Level)

Spanning Tree Protocol Interoperability With Cisco PVST+/PVRST+/MSTP

Transcription:

CHAPTER 16 Configuring MSTP This chapter describes how to configure the Cisco implementation of the IEEE 802.1s Multiple STP (MSTP) on the Catalyst 2960 switch. Note The multiple spanning-tree (MST) implementation in Cisco IOS Release 12.2(25)SED is based on the IEEE 802.1s standard. The MST implementations in earlier Cisco IOS releases are prestandard. The MSTP enables multiple VLANs to be mapped to the same spanning-tree instance, reducing the number of spanning-tree instances needed to support a large number of VLANs. The MSTP provides for multiple forwarding paths for data traffic and enables load balancing. It improves the fault tolerance of the network because a failure in one instance (forwarding path) does not affect other instances (forwarding paths). The most common initial deployment of MSTP is in the backbone and distribution layers of a Layer 2 switched network. This deployment provides the highly available network required in a service-provider environment. When the switch is in the MST mode, the Rapid Spanning Tree Protocol (RSTP), which is based on IEEE 802.1w, is automatically enabled. The RSTP provides rapid convergence of the spanning tree through explicit handshaking that eliminates the IEEE 802.1D forwarding delay and quickly transitions root ports and designated ports to the forwarding state. Both MSTP and RSTP improve the spanning-tree operation and maintain backward compatibility with equipment that is based on the (original) IEEE 802.1D spanning tree, with existing Cisco-proprietary Multiple Instance STP (MISTP), and with existing Cisco per-vlan spanning-tree plus (PVST+) and rapid per-vlan spanning-tree plus (rapid PVST+). For information about PVST+ and rapid PVST+, see Chapter 15, Configuring STP. For information about other spanning-tree features such as Port Fast, UplinkFast, root guard, and so forth, see Chapter 17, Configuring Optional Spanning-Tree Features. For complete syntax and usage information for the commands used in this chapter, see the command reference for this release. This chapter consists of these sections: Understanding MSTP, page 16-2 Understanding RSTP, page 16-8 Configuring MSTP Features, page 16-13 Displaying the MST Configuration and Status, page 16-26 OL-8550-07 Catalyst 3750 Switch Software Configuration Guide 16-1

Understanding MSTP Chapter 16 Configuring MSTP Understanding MSTP Hop Count, page 16-5 Boundary Ports, page 16-6 IEEE 802.1s Implementation, page 16-6 Interoperability with IEEE 802.1D STP, page 16-8 For configuration information, see the Configuring MSTP Features section on page 16-13. Multiple Spanning-Tree Regions Figure 16-1 on page 16-4. The MST configuration controls to which MST region each switch belongs. The configuration includes the name of the region, the revision number, and the MST VLAN-to-instance assignment map. You configure the switch for a region by using the spanning-tree mst configuration name instance revision IST, CIST, and CST 16-2 Catalyst 3750 Switch Software Configuration Guide OL-8550-07

An MST instance is local to the region; for example, MST instance 1 in region A is independent of MST instance 1 in region B, even if regions A and B are interconnected. A common and internal spanning tree (CIST), which is a collection of the ISTs in each MST region, and the common spanning tree (CST) that interconnects the MST regions and single spanning trees. The spanning tree computed in a region appears as a subtree in the CST that encompasses the entire switched domain. The CIST is formed by the spanning-tree algorithm running among switches that support the IEEE 802.1w, IEEE 802.1s, and IEEE 802.1D standards. The CIST inside an MST region is the same as the CST outside a region. For more information, see the Operations Within an MST Region section on page 16-3 and the Operations Between MST Regions section on page 16-3. The implementation of the IEEE 802.1s standard, changes some of the terminology associated with MST implementations. For a summary of these changes, see Table 15-1 on page 15-4. Operations Within an MST Region IST master When an MSTP switch initializes, it sends BPDUs claiming itself as the root of the CIST and the CIST regional root, with both of the path costs to the CIST root and to the CIST regional root set to zero. The switch also initializes all of its MST instances and claims to be the root for all of them. If the switch receives superior MST root information (lower switch ID, lower path cost, and so forth) than currently stored for the port, it relinquishes its claim as the CIST regional root. During initialization, a region might have many subregions, each with its own CIST regional root. As switches receive superior IST information, they leave their old subregions and join the new subregion that contains the true CIST regional root. Thus all subregions shrink, except for the one that contains the true CIST regional root. For correct operation, all switches in the MST region must agree on the same CIST regional root. Therefore, any two switches in the region only synchronize their port roles for an MST instance if they converge to a common CIST regional root. Operations Between MST Regions 16-3

Figure 16-1 MST Regions, CIST Masters, and CST Root A IST master and CST root D Legacy IEEE 802.1D MST Region 1 B IST master C IST master MST Region 2 MST Region 3 92983 Only the CST instance sends and receives BPDUs, and MST instances add their spanning-tree information into the BPDUs to interact with neighboring switches and compute the final spanning-tree topology. Because of this, the spanning-tree parameters related to BPDU transmission (for example, hello time, forward time, max-age, and max-hops) are configured only on the CST instance but affect all MST instances. Parameters related to the spanning-tree topology (for example, switch priority, port VLAN cost, and port VLAN priority) can be configured on both the CST instance and the MST instance. MSTP switches use Version 3 RSTP BPDUs or IEEE 802.1D STP BPDUs to communicate with legacy IEEE 802.1D switches. MSTP switches use MSTP BPDUs to communicate with MSTP switches. 16-4

IEEE 802.1s Terminology Some MST naming conventions used in Cisco s prestandard implementation have been changed to identify some internal regional Table 16-1 Prestandard and Standard Terminology IEEE Standard Cisco Prestandard Cisco Standard Hop Count spanning-tree mst max-hops 16-5

Understanding MSTP Chapter 16 Configuring MSTP Boundary Ports There is no definition of a boundary port in the IEEE 802.1s standard. The IEEE 802.1Q-2002 standard identifies two kinds of messages that a port can receive: internal (coming from the same region) and external. When a message is external, it is received only by the CIST. If the CIST role is root or alternate, or if the external BPDU is a topology change, it could have an impact on the MST instances. When a message is internal, the CIST part is received by the CIST, and each MST instance receives its respective M-record. The Cisco prestandard implementation treats a port that receives an external message as a boundary port. This means a port cannot receive a mix of internal and external messages. An MST region includes both switches and LANs. A segment belongs to the region of its designated port. Therefore, a port in a different region than the designated port for a segment is a boundary port. This definition allows two ports internal to a region to share a segment with a port belonging to a different region, creating the possibility of receiving both internal and external messages on a port. The primary change from the Cisco prestandard implementation is that a designated port is not defined as boundary, unless it is running in an STP-compatible mode. Note If there is a legacy STP switch on the segment, messages are always considered external. The other change from the prestandard implementation is that the CIST regional root switch ID field is now inserted where an RSTP or legacy IEEE 802.1Q switch has the sender switch ID. The whole region performs like a single virtual switch by sending a consistent sender switch ID to neighboring switches. In this example, switch C would receive a BPDU with the same consistent sender switch ID of root, whether or not A or B is designated for the segment. IEEE 802.1s Implementation Port Role Naming Change The boundary port is the root port of the CIST regional root When the CIST instance port is proposed and is in sync, it can send back an agreement and move to the forwarding state only after all the corresponding MSTI ports are in sync (and thus forwarding). The MSTI ports now have a special role. Catalyst 3750 Switch Software Configuration Guide OL-8550-07

type show Interoperation Between Legacy and Standard Switches configured to be in the same region. A is the root switch for the CIST, and thus B has a root port (BX) on segment X and an alternate port (BY) on segment Y. If segment Y flaps, and the port on BY becomes the alternate before sending out a single prestandard BPDU, AY cannot detect that a prestandard switch is connected to Y and continues to send standard BPDUs. The port BY is thus fixed in a boundary, and no load balancing is possible between A and B. The same problem exists on segment X, but B might transmit topology changes. Figure 16-2 Standard and Prestandard Switch Interoperation Segment X MST Region Switch A Switch B Segment Y 92721 Detecting Unidirectional Link Failure 16-7

Understanding RSTP Chapter 16 Configuring MSTP Figure 16-3 Detecting Unidirectional Link Failure Switch A Superior BPDU Switch B Inferior BPDU, Designated + Learning bit set 92722 Interoperability with IEEE 802.1D STP detected-protocols clear spanning-tree Understanding RSTP 16-8 Catalyst 3750 Switch Software Configuration Guide OL-8550-07

Port Roles and the Active Topology Operational Status STP Port State (IEEE 802.1D) RSTP Port State Is Port Included in the Active Topology? discarding blocking 16-9

Understanding RSTP Chapter 16 Configuring MSTP link-type Figure 16-4 Proposal and Agreement Handshaking for Rapid Convergence Switch A Proposal Switch B Root F Agreement F Designated switch DP RP Root F F Designated switch Proposal Switch C DP RP Root F F Designated switch F Agreement F DP RP DP RP DP = designated port RP = root port F = forwarding 88760 16-10 Catalyst 3750 Switch Software Configuration Guide OL-8550-07

Synchronization of Port Roles Figure 16-5 Sequence of Events During Rapid Convergence 4. Agreement 1. Proposal 5. Forward Edge port 2. Block 9. Forward 3. Block 11. Forward 8. Agreement 6. Proposal 7. Proposal 10. Agreement Root port Designated port 88761

Bridge Protocol Data Unit Format and Processing RSTP BPDU Flags Bit Function 2 3: Port role: 00 Unknown 01 Alternate port 10 Root port 11 Designated port 4 Learning 5 Forwarding 6 Agreement 7 Topology change acknowledgement (TCA) Processing Superior BPDU Information

Chapter 16 Configuring MSTP Configuring MSTP Features Processing Inferior BPDU Information Topology Changes Configuring MSTP Features MSTP Configuration Guidelines, page 16-14 Specifying the MST Region Configuration and Enabling MSTP, page 16-15 (required) Configuring the Root Switch, page 16-17 (optional) OL-8550-07 Catalyst 3750 Switch Software Configuration Guide

Configuring MSTP Features Chapter 16 Configuring MSTP Configuring a Secondary Root Switch, page 16-18 (optional) Configuring Port Priority, page 16-19 (optional) Configuring Path Cost, page 16-20 (optional) Configuring the Switch Priority, page 16-21 (optional) Configuring the Hello Time, page 16-22 (optional) Configuring the Forwarding-Delay Time, page 16-23 (optional) Configuring the Maximum-Aging Time, page 16-23 (optional) Configuring the Maximum-Hop Count, page 16-24 (optional) Specifying the Link Type to Ensure Rapid Transitions, page 16-24 (optional) Designating the Neighbor Type, page 16-25 (optional) Restarting the Protocol Migration Process, page 16-25 (optional) Default MSTP Configuration Table 16-4 shows the default MSTP configuration. Feature Default Setting For information about the supported number of spanning-tree instances, see the Supported Spanning-Tree Instances section on page 15-9. MSTP Configuration Guidelines Catalyst 3750 Switch Software Configuration Guide OL-8550-07

Chapter 16 Configuring MSTP Configuring MSTP Features Specifying the MST Region Configuration and Enabling MSTP Step 1 Step 2 Command Purpose OL-8550-07 Catalyst 3750 Switch Software Configuration Guide

Configuring MSTP Features Chapter 16 Configuring MSTP Step 3 Command Purpose Step 4 name 1-63 20, 30 instance 1 vlan instance 1 vlan 10, Step 5 Step 6 Step 7 Step 8 Caution Step 9 Step 10 Step 11 instance-id [ vlan-range] MST configuration command. To return to the default name, use the MST configuration command. To return to the default revision number, use the MST configuration command. To re-enable PVST+, use the or the global configuration command. This example shows how to enter MST configuration mode, map VLANs 10 to 20 to MST instance 1, name the region region1 Switch(config)# spanning-tree mst configuration Switch(config-mst)# instance 1 vlan 10-20 name region1 revision 1 show pending Pending MST configuration Name [region1] Revision 1 Instance Vlans Mapped -------- --------------------- Catalyst 3750 Switch Software Configuration Guide OL-8550-07

Chapter 16 Configuring MSTP Configuring MSTP Features 0 1-9,21-4094 1 10-20 ------------------------------- Switch(config-mst)# exit Switch(config)# OL-8550-07 Catalyst 3750 Switch Software Configuration Guide

interface-id

instance-id priority instance-id priority interface-id instance-id interface-id instance-id interface-id

instance-id cost instance-id cost interface-id instance-id interface-id instance-id instance-id instance-id

instance-id priority instance-id priority instance-id instance-id seconds seconds

Step 1 Step 2 Command Purpose Step 3 Step 4 Step 5 Configuring the Maximum-Aging Time Step 1 Step 2 Command Purpose Step 3 Step 4 Step 5

Configuring MSTP Features Chapter 16 Configuring MSTP Configuring the Maximum-Hop Count Step 1 Step 2 Command hop-count Purpose hop-count Specifying the Link Type to Ensure Rapid Transitions interface-id interface-id Catalyst 3750 Switch Software Configuration Guide OL-8550-07

Designating the Neighbor Type Step 1 Step 2 Command Purpose Step 3 Step 4 Step 5 Step 6 Restarting the Protocol Migration Process

Displaying the MST Configuration and Status Chapter 16 Configuring MSTP Displaying the MST Configuration and Status Command Purpose Catalyst 3750 Switch Software Configuration Guide OL-8550-07