SlideShare una empresa de Scribd logo
1 de 8
Descargar para leer sin conexión
BCMSN LAB 5
                                                               Spanning Tree Protocol

  Lab 5: Spanning Tree Protocol
  Objective
  Observe the default spanning tree, configure the Spanning Tree Protocol, and verify the spanning tree configura-
  tion.

  Lab Topology
  For this lab, your network design will include two pods of devices. You will be responsible for configuring the
  devices in both pods. The devices on the left side of the topology are in Pod 1. The devices on the right side of the
  topology are in Pod 2. P1PC1 and P2PC2 are PC workstations. P1ASW1 and P2ASW2 are access-layer switches.
  P1DSW1 and P2DSW2 are distribution-layer switches. The access and distribution layers are two of the three lay-
  ers in the Cisco three-layer hierarchical network model, which also includes the core layer.

  The Topology diagram below represents the NetMap in the Simulator. To access each of the devices from within
  the Simulator, select the device name from the appropriate menu in the Simulator. For example, to access
  P1ASW1, click the eSwitches button and select P1ASW1 from the drop-down menu.




                                                                                                                   149
Boson NetSim for CCNP Lab Manual
BCMSN LAB 5
                          Spanning Tree Protocol

 Command Summary
               Command                                                         Description
                                                           configures an interface
  interface fastethernet slot/port
                                                           configures a range of interfaces
  interface range fastethernet slot/starting_port
  – ending_port
                                                           displays statistics for packets and the switching
  show interface stats
                                                           method used
                                                           displays spanning tree for a VLAN
  show spanning-tree vlan vlan
                                                           displays spanning tree detail
  show spanning-tree vlan vlan detail
                                                           disables an interface; enables an interface
  shutdown; no shutdown
                                                           configures spanning tree root bridge
  spanning-tree vlan vlan_id {root {primary | sec-
  ondary]
                                                           displays root bridge per VLAN
  show spanning tree root
                                                           sets spanning tree priority for use in the bridge ID
  spanning-tree vlan vlan_id priority priority
                                                           sets root guard
  spanning-tree guard root
                                                           sets uplinkfast
  spanning-tree uplinkfast
                                                           verifies uplinkfast configuration
  show spanning-tree uplinkfast
                                                           displays the switchport configuration
  show interfaces interface_id switchport
                                                           sends an ICMP echo request
  ping ip_address

 Lab Tasks
 Task 1: View Default Spanning Tree
      1. Display the spanning tree for VLAN 1. Use the detail option. Use the output to answer questions about
         the spanning tree.
         a. Which spanning tree is VLAN 1 executing?
         ________________________________________________________________
         b. What is the bridge ID?
          ________________________________________________________________
         c. Why is there no root port?
         ________________________________________________________________
         d. Why are there no blocked ports for VLAN 1?
          ________________________________________________________________
         e. What is the timer value for sending bridge protocol data units (BPDUs)?
         ________________________________________________________________
         f. What is the maximum age for a BPDU?
          ________________________________________________________________
         g. What is the value of the forward delay timer?
         ________________________________________________________________




150                                                                      Boson NetSim for CCNP Lab Manual
BCMSN LAB 5
                                                     Spanning Tree Protocol

     2. Here is the output from a non-root switch.

         P2ASW2#show spanning-tree vlan 1 detail

         VLAN0001 is executing the ieee compatible Spanning Tree protocol
          Bridge Identifier has priority 32768, sysid 1, address 000a.f435.1200
          Configured hello time 5, max age 40, forward delay 30
          Current root has priority 32769, address 000a.41bf.0a40
          Root port is 3 (FastEthernet0/3), cost of root path is 38
          Topology change flag not set, detected flag not set
          Number of topology changes 49 last change occurred 08:43:53 ago
          Times: hold 1, topology change 35, notification 2
               hello 2, max age 20, forward delay 15
          Timers: hello 0, topology change 0, notification 0, aging 300

         Port 1 (FastEthernet0/1) of VLAN0001 is blocking
          Port path cost 19, Port priority 128, Port Identifier 128.1.
          Designated root has priority 32769, address 000a.41bf.0a40
          Designated bridge has priority 32769, address 000b.5f23.ed00
          Designated port id is 128.15, designated path cost 19
          Timers: message age 3, forward delay 0, hold 0
          Number of transitions to forwarding state: 1
          BPDU: sent 43, received 15759

         Port 2 (FastEthernet0/2) of VLAN0001 is blocking
          Port path cost 19, Port priority 128, Port Identifier 128.2.
          Designated root has priority 32769, address 000a.41bf.0a40
          Designated bridge has priority 32769, address 000b.5f23.ed00
          Designated port id is 128.16, designated path cost 19
          Timers: message age 3, forward delay 0, hold 0
          Number of transitions to forwarding state: 1
          BPDU: sent 46, received 15743

         Port 3 (FastEthernet0/3) of VLAN0001 is forwarding
          Port path cost 19, Port priority 128, Port Identifier 128.3.
          Designated root has priority 32769, address 000a.41bf.0a40
          Designated bridge has priority 32769, address 000b.5f23.eb00
          Designated port id is 128.15, designated path cost 19
          Timers: message age 2, forward delay 0, hold 0
          Number of transitions to forwarding state: 1
          BPDU: sent 161, received 15706




                                                                                  151
Boson NetSim for CCNP Lab Manual
BCMSN LAB 5
                          Spanning Tree Protocol

           Port 4 (FastEthernet0/4) of VLAN0001 is blocking
            Port path cost 19, Port priority 128, Port Identifier 128.4.
            Designated root has priority 32769, address 000a.41bf.0a40
            Designated bridge has priority 32769, address 000b.5f23.eb00
            Designated port id is 128.16, designated path cost 19
            Timers: message age 2, forward delay 0, hold 0
            Number of transitions to forwarding state: 1
            BPDU: sent 144, received 15692

           Port 5 (FastEthernet0/5) of VLAN0001 is forwarding
            Port path cost 100, Port priority 128, Port Identifier 128.5.
            Designated root has priority 32769, address 000a.41bf.0a40
            Designated bridge has priority 32769, address 000a.f435.1200
            Designated port id is 128.5, designated path cost 38
            Timers: message age 0, forward delay 0, hold 0
            Number of transitions to forwarding state: 1
            BPDU: sent 39928, received 0

          Review the output above, and answer the following questions.

          a. What is the bridge ID?
          ________________________________________________________________
          b. What is the root bridge ID?
          ________________________________________________________________
          c. What is the root port?
          ________________________________________________________________
          d. What is the cost for using the root port?
          ________________________________________________________________
          e. What is the cost of the root path? Why is this cost different?
           _________________________________________________________________
          f. What is the configured value for hello time, max age, and forward delay?
          ________________________________________________________________
          g. Are these the timers that are in effect? Why or why not?
          _________________________________________________________________

 Task 2: Configure the Root Bridge
          VLAN    Root Bridge      Secondary Root Bridge
          11      P1DSW1           P2DSW2
          12      P2DSW2           P1DSW1

      1. Using the table above, assign the proper DSW as the root bridge for your VLAN.
      2. Display the Spanning Tree for your VLAN to verify that it is the root.
      3. Assign the proper DSW as the secondary root bridge for your VLAN. Display the spanning tree for your
         VLAN to verify that it is the secondary root.

152                                                                      Boson NetSim for CCNP Lab Manual
BCMSN LAB 5
                                                   Spanning Tree Protocol

  Lab Solutions
  Task 1: View Default Spanning Tree
     1. P1ASW1#show spanning-tree vlan 1 detail

          VLAN0001 is executing the ieee compatible Spanning Tree protocol
           Bridge Identifier has priority 32768, sysid 1, address 000a.41bf.0a40
           Configured hello time 2, max age 20, forward delay 15
           We are the root of the spanning tree
           Topology change flag not set, detected flag not set
           Number of topology changes 43 last change occurred 01:55:00 ago
           Times: hold 1, topology change 35, notification 2
                hello 2, max age 20, forward delay 15
           Timers: hello 1, topology change 0, notification 0, aging 300

          Port 1 (FastEthernet0/1) of VLAN0001 is forwarding
           Port path cost 19, Port priority 128, Port Identifier 128.1.
           Designated root has priority 32769, address 000a.41bf.0a40
           Designated bridge has priority 32769, address 000a.41bf.0a40
           Designated port id is 128.1, designated path cost 0
           Timers: message age 0, forward delay 0, hold 0
           Number of transitions to forwarding state: 2
           Link type is point-to-point by default
           : sent 42807, received 20345

          Port 2 (FastEthernet0/2) of VLAN0001 is forwarding
           Port path cost 19, Port priority 128, Port Identifier 128.2.
           Designated root has priority 32769, address 000a.41bf.0a40
           Designated bridge has priority 32769, address 000a.41bf.0a40
           Designated port id is 128.2, designated path cost 0
           Timers: message age 0, forward delay 0, hold 0
           Number of transitions to forwarding state: 2
           Link type is point-to-point by default
           BPDU: sent 42454, received 20247

          Port 3 (FastEthernet0/3) of VLAN0001 is forwarding
           Port path cost 19, Port priority 128, Port Identifier 128.3.
           Designated root has priority 32769, address 000a.41bf.0a40
           Designated bridge has priority 32769, address 000a.41bf.0a40
           Designated port id is 128.3, designated path cost 0
           Timers: message age 0, forward delay 0, hold 0
           Number of transitions to forwarding state: 1
           Link type is point-to-point by default
           BPDU: sent 3651, received 29


                                                                                   153
Boson NetSim for CCNP Lab Manual
BCMSN LAB 5
                           Spanning Tree Protocol

           Port 4 (FastEthernet0/4) of VLAN0001 is forwarding
            Port path cost 19, Port priority 128, Port Identifier 128.4.
            Designated root has priority 32769, address 000a.41bf.0a40
            Designated bridge has priority 32769, address 000a.41bf.0a40
            Designated port id is 128.4, designated path cost 0
            Timers: message age 0, forward delay 0, hold 0
            Number of transitions to forwarding state: 1
            Link type is point-to-point by default
            BPDU: sent 3641, received 6

           Port 5 (FastEthernet0/5) of VLAN0001 is forwarding
            Port path cost 100, Port priority 128, Port Identifier 128.5.
            Designated root has priority 32769, address 000a.41bf.0a40
            Designated bridge has priority 32769, address 000a.41bf.0a40
            Designated port id is 128.5, designated path cost 0
            Timers: message age 0, forward delay 0, hold 0
            Number of transitions to forwarding state: 1
            Link type is shared by default
            BPDU: sent 3768, received 0

          a. VLAN 1 is executing IEEE.
          b. The bridge ID has priority 32768, sysid 1, and address 000a.41bf.0a40.
          c. There is no root port because this is the root bridge.
          d. There are no blocked ports for VLAN 1 because all ports on the root bridge are designated ports.
          e. The timer value for sending BPDUs is 2 seconds.
          f. The maximum age for a BPDU is 20 seconds.
          g. The value of the forward delay timer is 15 seconds.

      2. a. The bridge ID has priority 32768, sysid 1, and address 000a.f435.1200.
         b. The current root has priority 32769 and address 000a.41bf.0a40.
         c. The root port is 3 (FastEthernet0/3).
         d. The cost for using the root port is 19.
         e. The cost of the root path is 38. This device is not directly connected to the root. Path cost is additive.
         f. The configured hello time is 5, the max age is 40, and the forward delay is 30.
         g. These timers are not in effect. The timers that are in effect are the timers advertised by the root
         bridge.

 Task 2: Configure the Root Bridge
      1. spanning-tree vlan 11 root primary
      2. P1DSW1#show spanning-tree vlan 11

          VLAN0011
           Spanning tree enabled protocol ieee


154                                                                         Boson NetSim for CCNP Lab Manual
BCMSN LAB 5
                                                        Spanning Tree Protocol

          Root ID     Priority 24587
                    Address 000b.5f23.ed00
                    This bridge is the root
                    Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec

          Bridge ID Priority 24587 (priority 24576 sys-id-ext 11)
                 Address 000b.5f23.ed00
                 Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
                 Aging Time 300

        Interface         Port ID                   Designated                  Port ID
        Name              Prio.Nbr       Cost Sts        Cost Bridge ID              Prio.Nbr
        ---------------- -------- --------- --- --------- -------------------- --------
        Fa0/1           128.11            19 FWD            0 24587 000b.5f23.ed00 128.11
        Fa0/2           128.12            19 FWD            0 24587 000b.5f23.ed00 128.12
        Fa0/3           128.15            19 FWD            0 24587 000b.5f23.ed00 128.15
        Fa0/4           128.16            19 FWD            0 24587 000b.5f23.ed00 128.16
     3. spanning-tree vlan 11 root secondary

         P2DSW2#show spanning-tree vlan 11

         VLAN0011
          Spanning tree enabled protocol ieee
          Root ID Priority 24587
                 Address 000b.5f23.ed00
                 Cost     38
                 Port     15 (FastEthernet0/15)
                 Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec

          Bridge ID Priority 28683 (priority 28672 sys-id-ext 11)
                 Address 000b.5f23.eb00
                 Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
                 Aging Time 300

         Interface         Port ID                   Designated                  Port ID
         Name              Prio.Nbr       Cost Sts        Cost Bridge ID              Prio.Nbr
         ---------------- -------- --------- --- --------- -------------------- --------
         Fa0/1           128.11            19 FWD           38 28683 000b.5f23.eb00 128.11
         Fa0/2           128.12            19 FWD           38 28683 000b.5f23.eb00 128.12
         Fa0/3           128.15            19 FWD           19 32779 000a.f435.1200 128.3
         Fa0/4           128.16            19 BLK          19 32779 000a.f435.1200 128.4




                                                                                                 155
Boson NetSim for CCNP Lab Manual
BCMSN LAB 5
                          Spanning Tree Protocol

 Sample Configuration Scripts
                          P1DSW1                                  P1DSW1 (Continued)
  version 12.1                                     interface FastEthernet0/9
  !                                                  no ip address
  hostname P1DSW1                                  !
  !                                                interface FastEthernet0/10
  ip subnet-zero                                     no ip address
  no ip domain-lookup                              !
  !                                                interface FastEthernet0/23
  !                                                  switchport trunk encapsulation dot1q
  interface FastEthernet0/1                          switchport mode trunk
    description P1DSW1 to P1ASW1                     no ip address
    switchport trunk encapsulation dot1q           !
    no ip address                                  interface FastEthernet0/24
    duplex full                                      switchport trunk encapsulation dot1q
    speed 100                                        switchport mode trunk
  !                                                  no ip address
  interface FastEthernet0/2                        !
    description P1DSW1 to P1ASW1                   interface GigabitEthernet0/1
    switchport trunk encapsulation dot1q             no ip address
    no ip address                                  !
    duplex full                                    interface GigabitEthernet0/2
    speed 100                                        no ip address
  !                                                !
  interface FastEthernet0/3                        interface Vlan1
    description P1DSW1 to P2ASW2                     ip address 172.16.1.100 255.255.0.0
    switchport trunk encapsulation dot1q             shutdown
    no ip address                                  !
    duplex full                                    interface Vlan99
    speed 100                                        ip address 172.16.99.100 255.255.0.0
  !                                                !
  interface FastEthernet0/4                        ip classless
    description P1DSW1 to P2ASW2                   ip http server
    switchport trunk encapsulation dot1q           !
    no ip address                                  line con 0
    duplex full                                      password cisco
    speed 100                                        login
  !                                                line vty 0 4
  !                                                  password cisco
  interface FastEthernet0/5                           login
    no ip address                                  line vty 5 15
  !                                                  login
  interface FastEthernet0/6                        !
    no ip address                                  end
  !
  interface FastEthernet0/7
    no ip address
  !
  interface FastEthernet0/8
    no ip address
  !


156                                                             Boson NetSim for CCNP Lab Manual

Más contenido relacionado

La actualidad más candente

CCNA Router Startup and Configuration Questions
CCNA Router Startup and Configuration QuestionsCCNA Router Startup and Configuration Questions
CCNA Router Startup and Configuration Questions
Dsunte Wilson
 
CCNA Routing Protocols Questions
CCNA Routing Protocols QuestionsCCNA Routing Protocols Questions
CCNA Routing Protocols Questions
Dsunte Wilson
 
第15讲 Stp
第15讲 Stp第15讲 Stp
第15讲 Stp
F.l. Yu
 
CCNA Advanced Routing Protocols Questions
CCNA Advanced Routing Protocols QuestionsCCNA Advanced Routing Protocols Questions
CCNA Advanced Routing Protocols Questions
Dsunte Wilson
 
CCNA Network Devices Questions
CCNA Network Devices QuestionsCCNA Network Devices Questions
CCNA Network Devices Questions
Dsunte Wilson
 
Chapter 4 slides
Chapter 4 slidesChapter 4 slides
Chapter 4 slides
lara_ays
 
Carrier ethernet essentials
Carrier ethernet essentialsCarrier ethernet essentials
Carrier ethernet essentials
beachghim
 
Cisco.exactquestions.200 120.v2014-12-23.by.konrad.338q
Cisco.exactquestions.200 120.v2014-12-23.by.konrad.338qCisco.exactquestions.200 120.v2014-12-23.by.konrad.338q
Cisco.exactquestions.200 120.v2014-12-23.by.konrad.338q
keiko277
 
Configuracion
ConfiguracionConfiguracion
Configuracion
1 2d
 
Tcpip (Dharmender Kumar) 09990478253
Tcpip (Dharmender Kumar)   09990478253Tcpip (Dharmender Kumar)   09990478253
Tcpip (Dharmender Kumar) 09990478253
guestda14e85
 

La actualidad más candente (19)

CCNA Router Startup and Configuration Questions
CCNA Router Startup and Configuration QuestionsCCNA Router Startup and Configuration Questions
CCNA Router Startup and Configuration Questions
 
2 applications.key
2 applications.key2 applications.key
2 applications.key
 
CCNA Routing Protocols Questions
CCNA Routing Protocols QuestionsCCNA Routing Protocols Questions
CCNA Routing Protocols Questions
 
第15讲 Stp
第15讲 Stp第15讲 Stp
第15讲 Stp
 
CCNA Advanced Routing Protocols Questions
CCNA Advanced Routing Protocols QuestionsCCNA Advanced Routing Protocols Questions
CCNA Advanced Routing Protocols Questions
 
Chapter 13
Chapter 13Chapter 13
Chapter 13
 
CCNA Network Devices Questions
CCNA Network Devices QuestionsCCNA Network Devices Questions
CCNA Network Devices Questions
 
On the Performance Analysis of Multi-antenna Relaying System over Rayleigh Fa...
On the Performance Analysis of Multi-antenna Relaying System over Rayleigh Fa...On the Performance Analysis of Multi-antenna Relaying System over Rayleigh Fa...
On the Performance Analysis of Multi-antenna Relaying System over Rayleigh Fa...
 
Performance Comparison of Rerouting Schemes of Multi Protocol Label Switching...
Performance Comparison of Rerouting Schemes of Multi Protocol Label Switching...Performance Comparison of Rerouting Schemes of Multi Protocol Label Switching...
Performance Comparison of Rerouting Schemes of Multi Protocol Label Switching...
 
Chapter 4 slides
Chapter 4 slidesChapter 4 slides
Chapter 4 slides
 
Cs8591 Computer Networks
Cs8591 Computer NetworksCs8591 Computer Networks
Cs8591 Computer Networks
 
Carrier ethernet essentials
Carrier ethernet essentialsCarrier ethernet essentials
Carrier ethernet essentials
 
Cisco.exactquestions.200 120.v2014-12-23.by.konrad.338q
Cisco.exactquestions.200 120.v2014-12-23.by.konrad.338qCisco.exactquestions.200 120.v2014-12-23.by.konrad.338q
Cisco.exactquestions.200 120.v2014-12-23.by.konrad.338q
 
Configuracion
ConfiguracionConfiguracion
Configuracion
 
CCNA IP Addressing
CCNA IP AddressingCCNA IP Addressing
CCNA IP Addressing
 
Tcpip (Dharmender Kumar) 09990478253
Tcpip (Dharmender Kumar)   09990478253Tcpip (Dharmender Kumar)   09990478253
Tcpip (Dharmender Kumar) 09990478253
 
Estimation and design of mc ds-cdma for hybrid concatenated coding in high sp...
Estimation and design of mc ds-cdma for hybrid concatenated coding in high sp...Estimation and design of mc ds-cdma for hybrid concatenated coding in high sp...
Estimation and design of mc ds-cdma for hybrid concatenated coding in high sp...
 
Ber performance analysis of mimo systems using equalization
Ber performance analysis of mimo systems using equalizationBer performance analysis of mimo systems using equalization
Ber performance analysis of mimo systems using equalization
 
Networks notes
Networks notesNetworks notes
Networks notes
 

Similar a 05 Bcmsn Spanning Tree

Pe1 configuring pvst+ rapid pvst+
Pe1   configuring pvst+  rapid pvst+Pe1   configuring pvst+  rapid pvst+
Pe1 configuring pvst+ rapid pvst+
mohdsyahmi789
 
Exercise 4c stp rapid pvst+ question
Exercise 4c   stp rapid pvst+ questionExercise 4c   stp rapid pvst+ question
Exercise 4c stp rapid pvst+ question
sufi1248
 
Configuracion
ConfiguracionConfiguracion
Configuracion
1 2d
 
Expl sw chapter_02_switches_part_1
Expl sw chapter_02_switches_part_1Expl sw chapter_02_switches_part_1
Expl sw chapter_02_switches_part_1
aghacrom
 
Spantree
SpantreeSpantree
Spantree
1 2d
 
Spantree
SpantreeSpantree
Spantree
1 2d
 
Examen final ccna2
Examen final ccna2Examen final ccna2
Examen final ccna2
Juli Yaret
 
03 PO_SP2001_E01_0 L2 Technology_VLAN.pdf
03 PO_SP2001_E01_0 L2 Technology_VLAN.pdf03 PO_SP2001_E01_0 L2 Technology_VLAN.pdf
03 PO_SP2001_E01_0 L2 Technology_VLAN.pdf
NguynTy5
 

Similar a 05 Bcmsn Spanning Tree (20)

2.3.1.5 packet tracer configuring rapid pvst+ answer
2.3.1.5 packet tracer   configuring rapid pvst+ answer2.3.1.5 packet tracer   configuring rapid pvst+ answer
2.3.1.5 packet tracer configuring rapid pvst+ answer
 
Pe1 configuring pvst+ rapid pvst+
Pe1   configuring pvst+  rapid pvst+Pe1   configuring pvst+  rapid pvst+
Pe1 configuring pvst+ rapid pvst+
 
Exercise 4c stp rapid pvst+ question
Exercise 4c   stp rapid pvst+ questionExercise 4c   stp rapid pvst+ question
Exercise 4c stp rapid pvst+ question
 
Switching
SwitchingSwitching
Switching
 
Scaling Networks Lab Manual 1st Edition Cisco Solutions Manual
Scaling Networks Lab Manual 1st Edition Cisco Solutions ManualScaling Networks Lab Manual 1st Edition Cisco Solutions Manual
Scaling Networks Lab Manual 1st Edition Cisco Solutions Manual
 
Ccnp3 lab 3_1_en (hacer)
Ccnp3 lab 3_1_en (hacer)Ccnp3 lab 3_1_en (hacer)
Ccnp3 lab 3_1_en (hacer)
 
Configuracion
ConfiguracionConfiguracion
Configuracion
 
Switching
SwitchingSwitching
Switching
 
Ccnp labs
Ccnp labsCcnp labs
Ccnp labs
 
Dc fabric path
Dc fabric pathDc fabric path
Dc fabric path
 
3 2
3 23 2
3 2
 
Vlan lab
Vlan labVlan lab
Vlan lab
 
Expl sw chapter_02_switches_part_1
Expl sw chapter_02_switches_part_1Expl sw chapter_02_switches_part_1
Expl sw chapter_02_switches_part_1
 
Managing Redundant Links & Inter-VLAN Routing
Managing Redundant Links & Inter-VLAN RoutingManaging Redundant Links & Inter-VLAN Routing
Managing Redundant Links & Inter-VLAN Routing
 
Spantree
SpantreeSpantree
Spantree
 
Spantree
SpantreeSpantree
Spantree
 
ENCOR_Capitulo 2.pptx
ENCOR_Capitulo 2.pptxENCOR_Capitulo 2.pptx
ENCOR_Capitulo 2.pptx
 
Lab6.4.1
Lab6.4.1Lab6.4.1
Lab6.4.1
 
Examen final ccna2
Examen final ccna2Examen final ccna2
Examen final ccna2
 
03 PO_SP2001_E01_0 L2 Technology_VLAN.pdf
03 PO_SP2001_E01_0 L2 Technology_VLAN.pdf03 PO_SP2001_E01_0 L2 Technology_VLAN.pdf
03 PO_SP2001_E01_0 L2 Technology_VLAN.pdf
 

Más de gopi1985 (16)

Harley Davidson India Motorcycles Brochure
Harley Davidson India Motorcycles BrochureHarley Davidson India Motorcycles Brochure
Harley Davidson India Motorcycles Brochure
 
Itil V3
Itil V3Itil V3
Itil V3
 
Spritualism
SpritualismSpritualism
Spritualism
 
Afterdeath[1]
Afterdeath[1]Afterdeath[1]
Afterdeath[1]
 
Jesus Teach[1]
Jesus Teach[1]Jesus Teach[1]
Jesus Teach[1]
 
Married[1]
Married[1]Married[1]
Married[1]
 
Practicekarma[1]
Practicekarma[1]Practicekarma[1]
Practicekarma[1]
 
Ospf
OspfOspf
Ospf
 
Dyna Trace Whitepaper Performance
Dyna Trace Whitepaper PerformanceDyna Trace Whitepaper Performance
Dyna Trace Whitepaper Performance
 
Windows Certification Full
Windows Certification FullWindows Certification Full
Windows Certification Full
 
Ms Security Permissions Ch8
Ms Security Permissions Ch8Ms Security Permissions Ch8
Ms Security Permissions Ch8
 
Ms Patch Man Ch8
Ms Patch Man Ch8Ms Patch Man Ch8
Ms Patch Man Ch8
 
Ad Ch.1 8 (1)
Ad Ch.1 8 (1)Ad Ch.1 8 (1)
Ad Ch.1 8 (1)
 
Sherpa Software Whitepaper Solving .Pst Management Problems In Microsoft Ex...
Sherpa Software Whitepaper   Solving .Pst Management Problems In Microsoft Ex...Sherpa Software Whitepaper   Solving .Pst Management Problems In Microsoft Ex...
Sherpa Software Whitepaper Solving .Pst Management Problems In Microsoft Ex...
 
Server And Desktop Virtualization1.0 Dhanasekaran V
Server And Desktop Virtualization1.0 Dhanasekaran VServer And Desktop Virtualization1.0 Dhanasekaran V
Server And Desktop Virtualization1.0 Dhanasekaran V
 
Tcpip Fund2008
Tcpip Fund2008Tcpip Fund2008
Tcpip Fund2008
 

Último

obat aborsi bandung wa 081336238223 jual obat aborsi cytotec asli di bandung9...
obat aborsi bandung wa 081336238223 jual obat aborsi cytotec asli di bandung9...obat aborsi bandung wa 081336238223 jual obat aborsi cytotec asli di bandung9...
obat aborsi bandung wa 081336238223 jual obat aborsi cytotec asli di bandung9...
yulianti213969
 
Challenges and Opportunities: A Qualitative Study on Tax Compliance in Pakistan
Challenges and Opportunities: A Qualitative Study on Tax Compliance in PakistanChallenges and Opportunities: A Qualitative Study on Tax Compliance in Pakistan
Challenges and Opportunities: A Qualitative Study on Tax Compliance in Pakistan
vineshkumarsajnani12
 
Jual Obat Aborsi ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan Cytotec
Jual Obat Aborsi ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan CytotecJual Obat Aborsi ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan Cytotec
Jual Obat Aborsi ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan Cytotec
ZurliaSoop
 

Último (20)

Bangalore Call Girl Just Call♥️ 8084732287 ♥️Top Class Call Girl Service Avai...
Bangalore Call Girl Just Call♥️ 8084732287 ♥️Top Class Call Girl Service Avai...Bangalore Call Girl Just Call♥️ 8084732287 ♥️Top Class Call Girl Service Avai...
Bangalore Call Girl Just Call♥️ 8084732287 ♥️Top Class Call Girl Service Avai...
 
WheelTug Short Pitch Deck 2024 | Byond Insights
WheelTug Short Pitch Deck 2024 | Byond InsightsWheelTug Short Pitch Deck 2024 | Byond Insights
WheelTug Short Pitch Deck 2024 | Byond Insights
 
Berhampur CALL GIRL❤7091819311❤CALL GIRLS IN ESCORT SERVICE WE ARE PROVIDING
Berhampur CALL GIRL❤7091819311❤CALL GIRLS IN ESCORT SERVICE WE ARE PROVIDINGBerhampur CALL GIRL❤7091819311❤CALL GIRLS IN ESCORT SERVICE WE ARE PROVIDING
Berhampur CALL GIRL❤7091819311❤CALL GIRLS IN ESCORT SERVICE WE ARE PROVIDING
 
Putting the SPARK into Virtual Training.pptx
Putting the SPARK into Virtual Training.pptxPutting the SPARK into Virtual Training.pptx
Putting the SPARK into Virtual Training.pptx
 
Nanded Call Girl Just Call 8084732287 Top Class Call Girl Service Available
Nanded Call Girl Just Call 8084732287 Top Class Call Girl Service AvailableNanded Call Girl Just Call 8084732287 Top Class Call Girl Service Available
Nanded Call Girl Just Call 8084732287 Top Class Call Girl Service Available
 
obat aborsi bandung wa 081336238223 jual obat aborsi cytotec asli di bandung9...
obat aborsi bandung wa 081336238223 jual obat aborsi cytotec asli di bandung9...obat aborsi bandung wa 081336238223 jual obat aborsi cytotec asli di bandung9...
obat aborsi bandung wa 081336238223 jual obat aborsi cytotec asli di bandung9...
 
Challenges and Opportunities: A Qualitative Study on Tax Compliance in Pakistan
Challenges and Opportunities: A Qualitative Study on Tax Compliance in PakistanChallenges and Opportunities: A Qualitative Study on Tax Compliance in Pakistan
Challenges and Opportunities: A Qualitative Study on Tax Compliance in Pakistan
 
Horngren’s Cost Accounting A Managerial Emphasis, Canadian 9th edition soluti...
Horngren’s Cost Accounting A Managerial Emphasis, Canadian 9th edition soluti...Horngren’s Cost Accounting A Managerial Emphasis, Canadian 9th edition soluti...
Horngren’s Cost Accounting A Managerial Emphasis, Canadian 9th edition soluti...
 
Puri CALL GIRL ❤️8084732287❤️ CALL GIRLS IN ESCORT SERVICE WE ARW PROVIDING
Puri CALL GIRL ❤️8084732287❤️ CALL GIRLS IN ESCORT SERVICE WE ARW PROVIDINGPuri CALL GIRL ❤️8084732287❤️ CALL GIRLS IN ESCORT SERVICE WE ARW PROVIDING
Puri CALL GIRL ❤️8084732287❤️ CALL GIRLS IN ESCORT SERVICE WE ARW PROVIDING
 
JAJPUR CALL GIRL ❤ 82729*64427❤ CALL GIRLS IN JAJPUR ESCORTS
JAJPUR CALL GIRL ❤ 82729*64427❤ CALL GIRLS IN JAJPUR  ESCORTSJAJPUR CALL GIRL ❤ 82729*64427❤ CALL GIRLS IN JAJPUR  ESCORTS
JAJPUR CALL GIRL ❤ 82729*64427❤ CALL GIRLS IN JAJPUR ESCORTS
 
Falcon Invoice Discounting: Empowering Your Business Growth
Falcon Invoice Discounting: Empowering Your Business GrowthFalcon Invoice Discounting: Empowering Your Business Growth
Falcon Invoice Discounting: Empowering Your Business Growth
 
Arti Languages Pre Seed Teaser Deck 2024.pdf
Arti Languages Pre Seed Teaser Deck 2024.pdfArti Languages Pre Seed Teaser Deck 2024.pdf
Arti Languages Pre Seed Teaser Deck 2024.pdf
 
Durg CALL GIRL ❤ 82729*64427❤ CALL GIRLS IN durg ESCORTS
Durg CALL GIRL ❤ 82729*64427❤ CALL GIRLS IN durg ESCORTSDurg CALL GIRL ❤ 82729*64427❤ CALL GIRLS IN durg ESCORTS
Durg CALL GIRL ❤ 82729*64427❤ CALL GIRLS IN durg ESCORTS
 
Getting Real with AI - Columbus DAW - May 2024 - Nick Woo from AlignAI
Getting Real with AI - Columbus DAW - May 2024 - Nick Woo from AlignAIGetting Real with AI - Columbus DAW - May 2024 - Nick Woo from AlignAI
Getting Real with AI - Columbus DAW - May 2024 - Nick Woo from AlignAI
 
Jual Obat Aborsi ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan Cytotec
Jual Obat Aborsi ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan CytotecJual Obat Aborsi ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan Cytotec
Jual Obat Aborsi ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan Cytotec
 
Marel Q1 2024 Investor Presentation from May 8, 2024
Marel Q1 2024 Investor Presentation from May 8, 2024Marel Q1 2024 Investor Presentation from May 8, 2024
Marel Q1 2024 Investor Presentation from May 8, 2024
 
Uneak White's Personal Brand Exploration Presentation
Uneak White's Personal Brand Exploration PresentationUneak White's Personal Brand Exploration Presentation
Uneak White's Personal Brand Exploration Presentation
 
Buy gmail accounts.pdf buy Old Gmail Accounts
Buy gmail accounts.pdf buy Old Gmail AccountsBuy gmail accounts.pdf buy Old Gmail Accounts
Buy gmail accounts.pdf buy Old Gmail Accounts
 
GUWAHATI 💋 Call Girl 9827461493 Call Girls in Escort service book now
GUWAHATI 💋 Call Girl 9827461493 Call Girls in  Escort service book nowGUWAHATI 💋 Call Girl 9827461493 Call Girls in  Escort service book now
GUWAHATI 💋 Call Girl 9827461493 Call Girls in Escort service book now
 
Lundin Gold - Q1 2024 Conference Call Presentation (Revised)
Lundin Gold - Q1 2024 Conference Call Presentation (Revised)Lundin Gold - Q1 2024 Conference Call Presentation (Revised)
Lundin Gold - Q1 2024 Conference Call Presentation (Revised)
 

05 Bcmsn Spanning Tree

  • 1. BCMSN LAB 5 Spanning Tree Protocol Lab 5: Spanning Tree Protocol Objective Observe the default spanning tree, configure the Spanning Tree Protocol, and verify the spanning tree configura- tion. Lab Topology For this lab, your network design will include two pods of devices. You will be responsible for configuring the devices in both pods. The devices on the left side of the topology are in Pod 1. The devices on the right side of the topology are in Pod 2. P1PC1 and P2PC2 are PC workstations. P1ASW1 and P2ASW2 are access-layer switches. P1DSW1 and P2DSW2 are distribution-layer switches. The access and distribution layers are two of the three lay- ers in the Cisco three-layer hierarchical network model, which also includes the core layer. The Topology diagram below represents the NetMap in the Simulator. To access each of the devices from within the Simulator, select the device name from the appropriate menu in the Simulator. For example, to access P1ASW1, click the eSwitches button and select P1ASW1 from the drop-down menu. 149 Boson NetSim for CCNP Lab Manual
  • 2. BCMSN LAB 5 Spanning Tree Protocol Command Summary Command Description configures an interface interface fastethernet slot/port configures a range of interfaces interface range fastethernet slot/starting_port – ending_port displays statistics for packets and the switching show interface stats method used displays spanning tree for a VLAN show spanning-tree vlan vlan displays spanning tree detail show spanning-tree vlan vlan detail disables an interface; enables an interface shutdown; no shutdown configures spanning tree root bridge spanning-tree vlan vlan_id {root {primary | sec- ondary] displays root bridge per VLAN show spanning tree root sets spanning tree priority for use in the bridge ID spanning-tree vlan vlan_id priority priority sets root guard spanning-tree guard root sets uplinkfast spanning-tree uplinkfast verifies uplinkfast configuration show spanning-tree uplinkfast displays the switchport configuration show interfaces interface_id switchport sends an ICMP echo request ping ip_address Lab Tasks Task 1: View Default Spanning Tree 1. Display the spanning tree for VLAN 1. Use the detail option. Use the output to answer questions about the spanning tree. a. Which spanning tree is VLAN 1 executing? ________________________________________________________________ b. What is the bridge ID? ________________________________________________________________ c. Why is there no root port? ________________________________________________________________ d. Why are there no blocked ports for VLAN 1? ________________________________________________________________ e. What is the timer value for sending bridge protocol data units (BPDUs)? ________________________________________________________________ f. What is the maximum age for a BPDU? ________________________________________________________________ g. What is the value of the forward delay timer? ________________________________________________________________ 150 Boson NetSim for CCNP Lab Manual
  • 3. BCMSN LAB 5 Spanning Tree Protocol 2. Here is the output from a non-root switch. P2ASW2#show spanning-tree vlan 1 detail VLAN0001 is executing the ieee compatible Spanning Tree protocol Bridge Identifier has priority 32768, sysid 1, address 000a.f435.1200 Configured hello time 5, max age 40, forward delay 30 Current root has priority 32769, address 000a.41bf.0a40 Root port is 3 (FastEthernet0/3), cost of root path is 38 Topology change flag not set, detected flag not set Number of topology changes 49 last change occurred 08:43:53 ago Times: hold 1, topology change 35, notification 2 hello 2, max age 20, forward delay 15 Timers: hello 0, topology change 0, notification 0, aging 300 Port 1 (FastEthernet0/1) of VLAN0001 is blocking Port path cost 19, Port priority 128, Port Identifier 128.1. Designated root has priority 32769, address 000a.41bf.0a40 Designated bridge has priority 32769, address 000b.5f23.ed00 Designated port id is 128.15, designated path cost 19 Timers: message age 3, forward delay 0, hold 0 Number of transitions to forwarding state: 1 BPDU: sent 43, received 15759 Port 2 (FastEthernet0/2) of VLAN0001 is blocking Port path cost 19, Port priority 128, Port Identifier 128.2. Designated root has priority 32769, address 000a.41bf.0a40 Designated bridge has priority 32769, address 000b.5f23.ed00 Designated port id is 128.16, designated path cost 19 Timers: message age 3, forward delay 0, hold 0 Number of transitions to forwarding state: 1 BPDU: sent 46, received 15743 Port 3 (FastEthernet0/3) of VLAN0001 is forwarding Port path cost 19, Port priority 128, Port Identifier 128.3. Designated root has priority 32769, address 000a.41bf.0a40 Designated bridge has priority 32769, address 000b.5f23.eb00 Designated port id is 128.15, designated path cost 19 Timers: message age 2, forward delay 0, hold 0 Number of transitions to forwarding state: 1 BPDU: sent 161, received 15706 151 Boson NetSim for CCNP Lab Manual
  • 4. BCMSN LAB 5 Spanning Tree Protocol Port 4 (FastEthernet0/4) of VLAN0001 is blocking Port path cost 19, Port priority 128, Port Identifier 128.4. Designated root has priority 32769, address 000a.41bf.0a40 Designated bridge has priority 32769, address 000b.5f23.eb00 Designated port id is 128.16, designated path cost 19 Timers: message age 2, forward delay 0, hold 0 Number of transitions to forwarding state: 1 BPDU: sent 144, received 15692 Port 5 (FastEthernet0/5) of VLAN0001 is forwarding Port path cost 100, Port priority 128, Port Identifier 128.5. Designated root has priority 32769, address 000a.41bf.0a40 Designated bridge has priority 32769, address 000a.f435.1200 Designated port id is 128.5, designated path cost 38 Timers: message age 0, forward delay 0, hold 0 Number of transitions to forwarding state: 1 BPDU: sent 39928, received 0 Review the output above, and answer the following questions. a. What is the bridge ID? ________________________________________________________________ b. What is the root bridge ID? ________________________________________________________________ c. What is the root port? ________________________________________________________________ d. What is the cost for using the root port? ________________________________________________________________ e. What is the cost of the root path? Why is this cost different? _________________________________________________________________ f. What is the configured value for hello time, max age, and forward delay? ________________________________________________________________ g. Are these the timers that are in effect? Why or why not? _________________________________________________________________ Task 2: Configure the Root Bridge VLAN Root Bridge Secondary Root Bridge 11 P1DSW1 P2DSW2 12 P2DSW2 P1DSW1 1. Using the table above, assign the proper DSW as the root bridge for your VLAN. 2. Display the Spanning Tree for your VLAN to verify that it is the root. 3. Assign the proper DSW as the secondary root bridge for your VLAN. Display the spanning tree for your VLAN to verify that it is the secondary root. 152 Boson NetSim for CCNP Lab Manual
  • 5. BCMSN LAB 5 Spanning Tree Protocol Lab Solutions Task 1: View Default Spanning Tree 1. P1ASW1#show spanning-tree vlan 1 detail VLAN0001 is executing the ieee compatible Spanning Tree protocol Bridge Identifier has priority 32768, sysid 1, address 000a.41bf.0a40 Configured hello time 2, max age 20, forward delay 15 We are the root of the spanning tree Topology change flag not set, detected flag not set Number of topology changes 43 last change occurred 01:55:00 ago Times: hold 1, topology change 35, notification 2 hello 2, max age 20, forward delay 15 Timers: hello 1, topology change 0, notification 0, aging 300 Port 1 (FastEthernet0/1) of VLAN0001 is forwarding Port path cost 19, Port priority 128, Port Identifier 128.1. Designated root has priority 32769, address 000a.41bf.0a40 Designated bridge has priority 32769, address 000a.41bf.0a40 Designated port id is 128.1, designated path cost 0 Timers: message age 0, forward delay 0, hold 0 Number of transitions to forwarding state: 2 Link type is point-to-point by default : sent 42807, received 20345 Port 2 (FastEthernet0/2) of VLAN0001 is forwarding Port path cost 19, Port priority 128, Port Identifier 128.2. Designated root has priority 32769, address 000a.41bf.0a40 Designated bridge has priority 32769, address 000a.41bf.0a40 Designated port id is 128.2, designated path cost 0 Timers: message age 0, forward delay 0, hold 0 Number of transitions to forwarding state: 2 Link type is point-to-point by default BPDU: sent 42454, received 20247 Port 3 (FastEthernet0/3) of VLAN0001 is forwarding Port path cost 19, Port priority 128, Port Identifier 128.3. Designated root has priority 32769, address 000a.41bf.0a40 Designated bridge has priority 32769, address 000a.41bf.0a40 Designated port id is 128.3, designated path cost 0 Timers: message age 0, forward delay 0, hold 0 Number of transitions to forwarding state: 1 Link type is point-to-point by default BPDU: sent 3651, received 29 153 Boson NetSim for CCNP Lab Manual
  • 6. BCMSN LAB 5 Spanning Tree Protocol Port 4 (FastEthernet0/4) of VLAN0001 is forwarding Port path cost 19, Port priority 128, Port Identifier 128.4. Designated root has priority 32769, address 000a.41bf.0a40 Designated bridge has priority 32769, address 000a.41bf.0a40 Designated port id is 128.4, designated path cost 0 Timers: message age 0, forward delay 0, hold 0 Number of transitions to forwarding state: 1 Link type is point-to-point by default BPDU: sent 3641, received 6 Port 5 (FastEthernet0/5) of VLAN0001 is forwarding Port path cost 100, Port priority 128, Port Identifier 128.5. Designated root has priority 32769, address 000a.41bf.0a40 Designated bridge has priority 32769, address 000a.41bf.0a40 Designated port id is 128.5, designated path cost 0 Timers: message age 0, forward delay 0, hold 0 Number of transitions to forwarding state: 1 Link type is shared by default BPDU: sent 3768, received 0 a. VLAN 1 is executing IEEE. b. The bridge ID has priority 32768, sysid 1, and address 000a.41bf.0a40. c. There is no root port because this is the root bridge. d. There are no blocked ports for VLAN 1 because all ports on the root bridge are designated ports. e. The timer value for sending BPDUs is 2 seconds. f. The maximum age for a BPDU is 20 seconds. g. The value of the forward delay timer is 15 seconds. 2. a. The bridge ID has priority 32768, sysid 1, and address 000a.f435.1200. b. The current root has priority 32769 and address 000a.41bf.0a40. c. The root port is 3 (FastEthernet0/3). d. The cost for using the root port is 19. e. The cost of the root path is 38. This device is not directly connected to the root. Path cost is additive. f. The configured hello time is 5, the max age is 40, and the forward delay is 30. g. These timers are not in effect. The timers that are in effect are the timers advertised by the root bridge. Task 2: Configure the Root Bridge 1. spanning-tree vlan 11 root primary 2. P1DSW1#show spanning-tree vlan 11 VLAN0011 Spanning tree enabled protocol ieee 154 Boson NetSim for CCNP Lab Manual
  • 7. BCMSN LAB 5 Spanning Tree Protocol Root ID Priority 24587 Address 000b.5f23.ed00 This bridge is the root Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec Bridge ID Priority 24587 (priority 24576 sys-id-ext 11) Address 000b.5f23.ed00 Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec Aging Time 300 Interface Port ID Designated Port ID Name Prio.Nbr Cost Sts Cost Bridge ID Prio.Nbr ---------------- -------- --------- --- --------- -------------------- -------- Fa0/1 128.11 19 FWD 0 24587 000b.5f23.ed00 128.11 Fa0/2 128.12 19 FWD 0 24587 000b.5f23.ed00 128.12 Fa0/3 128.15 19 FWD 0 24587 000b.5f23.ed00 128.15 Fa0/4 128.16 19 FWD 0 24587 000b.5f23.ed00 128.16 3. spanning-tree vlan 11 root secondary P2DSW2#show spanning-tree vlan 11 VLAN0011 Spanning tree enabled protocol ieee Root ID Priority 24587 Address 000b.5f23.ed00 Cost 38 Port 15 (FastEthernet0/15) Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec Bridge ID Priority 28683 (priority 28672 sys-id-ext 11) Address 000b.5f23.eb00 Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec Aging Time 300 Interface Port ID Designated Port ID Name Prio.Nbr Cost Sts Cost Bridge ID Prio.Nbr ---------------- -------- --------- --- --------- -------------------- -------- Fa0/1 128.11 19 FWD 38 28683 000b.5f23.eb00 128.11 Fa0/2 128.12 19 FWD 38 28683 000b.5f23.eb00 128.12 Fa0/3 128.15 19 FWD 19 32779 000a.f435.1200 128.3 Fa0/4 128.16 19 BLK 19 32779 000a.f435.1200 128.4 155 Boson NetSim for CCNP Lab Manual
  • 8. BCMSN LAB 5 Spanning Tree Protocol Sample Configuration Scripts P1DSW1 P1DSW1 (Continued) version 12.1 interface FastEthernet0/9 ! no ip address hostname P1DSW1 ! ! interface FastEthernet0/10 ip subnet-zero no ip address no ip domain-lookup ! ! interface FastEthernet0/23 ! switchport trunk encapsulation dot1q interface FastEthernet0/1 switchport mode trunk description P1DSW1 to P1ASW1 no ip address switchport trunk encapsulation dot1q ! no ip address interface FastEthernet0/24 duplex full switchport trunk encapsulation dot1q speed 100 switchport mode trunk ! no ip address interface FastEthernet0/2 ! description P1DSW1 to P1ASW1 interface GigabitEthernet0/1 switchport trunk encapsulation dot1q no ip address no ip address ! duplex full interface GigabitEthernet0/2 speed 100 no ip address ! ! interface FastEthernet0/3 interface Vlan1 description P1DSW1 to P2ASW2 ip address 172.16.1.100 255.255.0.0 switchport trunk encapsulation dot1q shutdown no ip address ! duplex full interface Vlan99 speed 100 ip address 172.16.99.100 255.255.0.0 ! ! interface FastEthernet0/4 ip classless description P1DSW1 to P2ASW2 ip http server switchport trunk encapsulation dot1q ! no ip address line con 0 duplex full password cisco speed 100 login ! line vty 0 4 ! password cisco interface FastEthernet0/5 login no ip address line vty 5 15 ! login interface FastEthernet0/6 ! no ip address end ! interface FastEthernet0/7 no ip address ! interface FastEthernet0/8 no ip address ! 156 Boson NetSim for CCNP Lab Manual