+ All Categories
Home > Documents > 3.1 Implementing Spanning Tree

3.1 Implementing Spanning Tree

Date post: 08-Apr-2018
Category:
Upload: yaoscribd
View: 216 times
Download: 0 times
Share this document with a friend

of 38

Transcript
  • 8/6/2019 3.1 Implementing Spanning Tree

    1/38

    Module 3

    Implementing Spanning Tree

  • 8/6/2019 3.1 Implementing Spanning Tree

    2/38

    Lesson 1

    Spanning Tree Protocol Basics

  • 8/6/2019 3.1 Implementing Spanning Tree

    3/38

    Spanning Tree History

    STP was invented in 1985 by Radia Perlman at the DigitalEquipment Corporation.

    In 1990, IEEE published the first standard for the protocol as802.1D.

    Common Spanning Tree (CST) -> Cisco PVST+ -> RapidSTP (RSTP) or IEEE 802.1w -> Cisco PVRST+ -> MultipleSpanning Tree (MST) or IEEE 802.1s -> STP securityenhancements

  • 8/6/2019 3.1 Implementing Spanning Tree

    4/38

    STP Operation 1 (Review from CCNA)

  • 8/6/2019 3.1 Implementing Spanning Tree

    5/38

  • 8/6/2019 3.1 Implementing Spanning Tree

    6/38

    Lesson 2

    Spanning Tree Protocol Enhancements

  • 8/6/2019 3.1 Implementing Spanning Tree

    7/38

  • 8/6/2019 3.1 Implementing Spanning Tree

    8/38

  • 8/6/2019 3.1 Implementing Spanning Tree

    9/38

  • 8/6/2019 3.1 Implementing Spanning Tree

    10/38

  • 8/6/2019 3.1 Implementing Spanning Tree

    11/38

  • 8/6/2019 3.1 Implementing Spanning Tree

    12/38

  • 8/6/2019 3.1 Implementing Spanning Tree

    13/38

  • 8/6/2019 3.1 Implementing Spanning Tree

    14/38

  • 8/6/2019 3.1 Implementing Spanning Tree

    15/38

  • 8/6/2019 3.1 Implementing Spanning Tree

    16/38

  • 8/6/2019 3.1 Implementing Spanning Tree

    17/38

    RSTP Link Type

    LinkType

    Description

    Point-to-

    point

    Port operating in full-duplex

    mode. It is assumed that theport is connected to a single

    switch device at the otherend of the link.

    Shared Port operating in half-duplexmode. It is assumed that theport is connected to shared

    media where multipleswitches might exist.

  • 8/6/2019 3.1 Implementing Spanning Tree

    18/38

  • 8/6/2019 3.1 Implementing Spanning Tree

    19/38

  • 8/6/2019 3.1 Implementing Spanning Tree

    20/38

  • 8/6/2019 3.1 Implementing Spanning Tree

    21/38

    RSTP and 802.1D STP Compatibility

    RSTP can operate with 802.1D STP. However,

    802.1ws fast-convergence benefits are lost when

    interacting with 802.1D bridges.

    Each port maintains a variable that defines the protocol

    to run on the corresponding segment. If the portreceives BPDUs that do not correspond to its currentoperating mode for two times the hello time, it switches

    to the other STP mode.

  • 8/6/2019 3.1 Implementing Spanning Tree

    22/38

    Implementing PVRST+

    1. Enable PVRST+ globally. PVRST+ should be configured on allswitches in the broadcast domain.

    2. Designate and configure a switch to be the root bridge.3. Designate and configure a switch to be the secondary (backup)

    root bridge.

    4. Ensure load sharing on uplinks using priority and costparameters.

    5. Verify the configuration.

  • 8/6/2019 3.1 Implementing Spanning Tree

    23/38

  • 8/6/2019 3.1 Implementing Spanning Tree

    24/38

  • 8/6/2019 3.1 Implementing Spanning Tree

    25/38

    MST Motivation

    Above: 2 links 1000 VLANs 2 MST instances.

    Each switch maintains only two spanning trees,

    reducing the need for switch resources.

    Concept extendable to 4096 VLANs: VLAN load

    balancing.

    MST converges faster than PVRST+ and is backward

    compatible with 802.1D STP and 802.1w.

  • 8/6/2019 3.1 Implementing Spanning Tree

    26/38

    MST Instances

    2 distinct STP topologies require 2 MST instances (500 per instance here).

    Load-balancing works because half of the VLANs follow each separate

    instance. Switch utilization is low because it only has to handle two instances.

    MST is the best solution for this scenario.

    Considerations: MST is more complex than 802.1D and 802.1w, so itrequires additional training. Interaction with legacy bridges can be

    challenging.

  • 8/6/2019 3.1 Implementing Spanning Tree

    27/38

    MST Regions

    Each switch that runs MST in the network has a single MST configuration

    that consists of three attributes:

    An alphanumeric configuration name (32 bytes)

    A configuration revision number (2 bytes)

    A 4096-element table that associates each of the potential 4096 VLANs

    supported on the chassis to a given instance

    The port on B1 is at the boundary of Region A, whereas the ports on B2

    and B3 are internal to Region B.

  • 8/6/2019 3.1 Implementing Spanning Tree

    28/38

  • 8/6/2019 3.1 Implementing Spanning Tree

    29/38

    MST Configuration

    Enable MST on switch.Switch(config)# spanning-tree mode mst

    Enter MST configuration submode.

    Switch(config)# spanning-tree mst configuration

    Display current MST configuration.

    Switch(config-mst)# show current

    Name MST instance.

    Switch(config-mst)# name name

    Set the 16-bit MST revision number. It is not incremented

    automatically when you commit a new MST configuration.Switch(config-mst)# revision revision_number

  • 8/6/2019 3.1 Implementing Spanning Tree

    30/38

    MST Configuration (cont)

    Map VLANs to MST instance.Switch(config-mst)# instance instance_numbervlan vlan_range

    Display new MST configuration to be applied.

    Switch(config-mst)# show pending

    Apply configuration and exit MST configuration submode.

    Switch(config-mst)# exit

    Assign root bridge for MST instance. This syntax makes the switchroot primary or secondary (only active if primary fails). It setsprimary priority to 24576 and secondary to 28672.

    Switch(config)# spanning-tree mst instance_numberrootprimary | secondary

  • 8/6/2019 3.1 Implementing Spanning Tree

    31/38

  • 8/6/2019 3.1 Implementing Spanning Tree

    32/38

  • 8/6/2019 3.1 Implementing Spanning Tree

    33/38

  • 8/6/2019 3.1 Implementing Spanning Tree

    34/38

  • 8/6/2019 3.1 Implementing Spanning Tree

    35/38

  • 8/6/2019 3.1 Implementing Spanning Tree

    36/38

    Verifying MSTP (Cont.)

    Switch# show spanning-tree mst interface FastEthernet 3/24

    FastEthernet3/24 of MST00 is designated forwarding

    Edge port: no (default) port guard : none

    (default)

    Link type: shared (auto) bpdu filter: disable

    (default)Boundary : internal bpdu guard : disable

    (default)

    Bpdus sent 81, received 81

    Instance Role Sts Cost Prio.Nbr Vlans mapped

    -------- ---- --- ------- -------- --------------------

    -----

    0 Desg FWD 2000000 128.152 5-4094

    1 Desg FWD 2000000 128.152 1-2

    2 Desg FWD 2000000 128.152 3-4

  • 8/6/2019 3.1 Implementing Spanning Tree

    37/38

    Switch# show spanning-tree mst 1 detail

    ###### MST01 vlans mapped: 1-2

    Bridge address 0009.e845.6480 priority 32769 (32768 sysid 1)

    Root this switch for MST01

    FastEthernet3/24 of MST01 is designated forwarding

    Port info port id 128.152 priority 128 cost 2000000

    Designated root address 0009.e845.6480 priority 32769 cost 0

    Designated bridge address 0009.e845.6480 priority 32769 port id 128.152

    Timers: message expires in 0 sec, forward delay 0, forward transitions 1

    Bpdus (MRecords) sent755, received 0

    FastEthernet3/32 of MST01 is designated forwarding

    Port info port id 128.160 priority 128 cost 200000

    Designated root address 0009.e845.6480 priority 32769 cost 0

    Designated bridge address 0009.e845.6480 priority 32769 port id 128.160

    Timers: message expires in 0 sec, forward delay 0, forward transitions 1

    Bpdus (MRecords) sent 769, received 1

    FastEthernet3/42 of MST01 is backup blocking

    Port info port id 128.170 priority 128 cost 200000

    Designated root address 0009.e845.6480 priority 32769 cost 0

    Designated bridge address 0009.e845.6480 priority 32769 port id 128.160

    Timers: message expires in 5 sec, forward delay 0, forward transitions 0

    Bpdus (MRecords) sent 1, received 769

    Verifying MSTP (Cont.)

  • 8/6/2019 3.1 Implementing Spanning Tree

    38/38


Recommended