Exploration_LAN_Switching_Chapter5A.pdf
-
Upload
kirilovrosen7269 -
Category
Documents
-
view
212 -
download
0
Transcript of Exploration_LAN_Switching_Chapter5A.pdf
-
7/28/2019 Exploration_LAN_Switching_Chapter5A.pdf
1/42
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ icITE I Chapter 6 1
Implement Spanning
Tree Protocols
LAN Switching and Wireless Chapter 5
-
7/28/2019 Exploration_LAN_Switching_Chapter5A.pdf
2/42
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ icITE 1 Chapter 6 2
Objectives
Explain the role of redundancy in a converged network
Summarize how STP works to eliminate Layer 2 loops in aconverged network
Explain how the STP algorithm uses three steps to
converge on a loop-free topology
Implement rapid per VLAN spanning tree (rapid PVST+) ina LAN to prevent loops between redundant switches.
-
7/28/2019 Exploration_LAN_Switching_Chapter5A.pdf
3/42
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ icITE 1 Chapter 6 3
Redundancy in a Switched Network
The role of redundancy in a hierarchical network
-
7/28/2019 Exploration_LAN_Switching_Chapter5A.pdf
4/42
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ icITE 1 Chapter 6 4
Redundancy in a Switched Network
The role of redundancy in a hierarchical network
-
7/28/2019 Exploration_LAN_Switching_Chapter5A.pdf
5/42
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ icITE 1 Chapter 6 5
Redundancy in a Switched Network
The role of redundancy in a hierarchical network
-
7/28/2019 Exploration_LAN_Switching_Chapter5A.pdf
6/42
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ icITE 1 Chapter 6 6
Redundancy in a Switched Network
Redundancy can disable a hierarchical network
-
7/28/2019 Exploration_LAN_Switching_Chapter5A.pdf
7/42 2006 Cisco Systems, Inc. All rights reserved. Cisco Publ icITE 1 Chapter 6 7
Redundancy in a Switched Network
Redundancy can disable a hierarchical network
-
7/28/2019 Exploration_LAN_Switching_Chapter5A.pdf
8/42 2006 Cisco Systems, Inc. All rights reserved. Cisco Publ icITE 1 Chapter 6 8
Redundancy in a Switched Network
Issues with Redundancy
-
7/28/2019 Exploration_LAN_Switching_Chapter5A.pdf
9/42 2006 Cisco Systems, Inc. All rights reserved. Cisco Publ icITE 1 Chapter 6 9
Redundancy in a Switched Network
Issues with Redundancy
-
7/28/2019 Exploration_LAN_Switching_Chapter5A.pdf
10/42 2006 Cisco Systems, Inc. All rights reserved. Cisco Publ icITE 1 Chapter 6 10
Redundancy in a Switched Network
Issues with Redundancy
-
7/28/2019 Exploration_LAN_Switching_Chapter5A.pdf
11/42 2006 Cisco Systems, Inc. All rights reserved. Cisco Publ icITE 1 Chapter 6 11
Redundancy in a Switched Network
The Spanning Tree Protocol (STP)
-
7/28/2019 Exploration_LAN_Switching_Chapter5A.pdf
12/42 2006 Cisco Systems, Inc. All rights reserved. Cisco Publ icITE 1 Chapter 6 12
Redundancy in a Switched Network
The Spanning Tree Protocol (STP)
-
7/28/2019 Exploration_LAN_Switching_Chapter5A.pdf
13/42 2006 Cisco Systems, Inc. All rights reserved. Cisco Publ icITE 1 Chapter 6 13
STP eliminates L2 Loops in a Network
The STP algorithm
-
7/28/2019 Exploration_LAN_Switching_Chapter5A.pdf
14/42 2006 Cisco Systems, Inc. All rights reserved. Cisco Publ icITE 1 Chapter 6 14
STP eliminates L2 Loops in a Network
The STP algorithm
Root bridge: elected and used as a final destination; after the rootbridge is determined, the STA calculates the shortest path to theroot bridge
Ports:
Root ports: ports closest to the root bridge Designated ports: all non-root ports
permitted to forward traffic
Non-designated ports: portsconfigured to be in blocking state
-
7/28/2019 Exploration_LAN_Switching_Chapter5A.pdf
15/42 2006 Cisco Systems, Inc. All rights reserved. Cisco Publ icITE 1 Chapter 6 15
STP eliminates L2 Loops in a Network
The STP algorithm
Root bridge: the one with the lowest Bridge ID
-
7/28/2019 Exploration_LAN_Switching_Chapter5A.pdf
16/42 2006 Cisco Systems, Inc. All rights reserved. Cisco Publ icITE 1 Chapter 6 16
STP eliminates L2 Loops in a Network
The BPDU
All switches in the broadcast domain participate in the election
After boot, switches send out BPDU frames every 2 seconds
The BPDU information helps on the identification of the root bridge
-
7/28/2019 Exploration_LAN_Switching_Chapter5A.pdf
17/42 2006 Cisco Systems, Inc. All rights reserved. Cisco Publ icITE 1 Chapter 6 17
STP eliminates L2 Loops in a Network
The Bridge ID (BID):
Between 0 and 65536
Increments of 4096
-
7/28/2019 Exploration_LAN_Switching_Chapter5A.pdf
18/42 2006 Cisco Systems, Inc. All rights reserved. Cisco Publ icITE 1 Chapter 6 18
STP eliminates L2 Loops in a Network
The cost
-
7/28/2019 Exploration_LAN_Switching_Chapter5A.pdf
19/42 2006 Cisco Systems, Inc. All rights reserved. Cisco Publ icITE 1 Chapter 6 19
STP eliminates L2 Loops in a Network
The cost
-
7/28/2019 Exploration_LAN_Switching_Chapter5A.pdf
20/42 2006 Cisco Systems, Inc. All rights reserved. Cisco Publ icITE 1 Chapter 6 20
STP eliminates L2 Loops in a Network
Electing the Root Bridge
-
7/28/2019 Exploration_LAN_Switching_Chapter5A.pdf
21/42 2006 Cisco Systems, Inc. All rights reserved. Cisco Publ icITE 1 Chapter 6 21
STP eliminates L2 Loops in a Network
Electing the Root Bridge
-
7/28/2019 Exploration_LAN_Switching_Chapter5A.pdf
22/42 2006 Cisco Systems, Inc. All rights reserved. Cisco Publ icITE 1 Chapter 6 22
STP eliminates L2 Loops in a Network
Electing the Root Bridge
-
7/28/2019 Exploration_LAN_Switching_Chapter5A.pdf
23/42 2006 Cisco Systems, Inc. All rights reserved. Cisco Publ icITE 1 Chapter 6 23
STP eliminates L2 Loops in a Network
Electing the Root Bridge
-
7/28/2019 Exploration_LAN_Switching_Chapter5A.pdf
24/42 2006 Cisco Systems, Inc. All rights reserved. Cisco Publ icITE 1 Chapter 6 24
STP eliminates L2 Loops in a Network
Electing the Root Bridge
-
7/28/2019 Exploration_LAN_Switching_Chapter5A.pdf
25/42
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ icITE 1 Chapter 6 25
STP eliminates L2 Loops in a Network
Electing the Root Bridge
-
7/28/2019 Exploration_LAN_Switching_Chapter5A.pdf
26/42
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ icITE 1 Chapter 6 26
STP eliminates L2 Loops in a Network
Electing the Root Bridge
-
7/28/2019 Exploration_LAN_Switching_Chapter5A.pdf
27/42
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ icITE 1 Chapter 6 27
STP eliminates L2 Loops in a Network
Electing the Root Bridge
-
7/28/2019 Exploration_LAN_Switching_Chapter5A.pdf
28/42
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ icITE 1 Chapter 6 28
STP eliminates L2 Loops in a Network
Electing the Root Bridge
-
7/28/2019 Exploration_LAN_Switching_Chapter5A.pdf
29/42
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ icITE 1 Chapter 6 29
STP eliminates L2 Loops in a Network
Forcing the Root Bridge
-
7/28/2019 Exploration_LAN_Switching_Chapter5A.pdf
30/42
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ icITE 1 Chapter 6 30
STP eliminates L2 Loops in a Network
Port roles support the operation of STP: Root port:
Exists on non-root bridges (only 1 port per bridge)
Best path to the root bridge
Designated port:
Exists on root and non-root bridges
On root bridges: all ports
On non-root: forwards towards R.B.
ONLY 1 per segment
Non-designated port:
Switch port that is blocked
Is not forwarding data frames
-
7/28/2019 Exploration_LAN_Switching_Chapter5A.pdf
31/42
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ icITE 1 Chapter 6 31
Port priority: Helps determine the root port on a switch
When there are 2 same lowest-cost-to-root-bridge ports, the lowestport priority value determines the root port
Port priority values range from 0 to 240 (in steps of 16)
If both port priority values are the same, use the lowest port ID
STP eliminates L2 Loops in a Network
-
7/28/2019 Exploration_LAN_Switching_Chapter5A.pdf
32/42
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ icITE 1 Chapter 6 32
Port Role Decisions
STP eliminates L2 Loops in a Network
-
7/28/2019 Exploration_LAN_Switching_Chapter5A.pdf
33/42
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ icITE 1 Chapter 6 33
Port Role Decisions
STP eliminates L2 Loops in a Network
-
7/28/2019 Exploration_LAN_Switching_Chapter5A.pdf
34/42
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ icITE 1 Chapter 6 34
Port Role Decisions
STP eliminates L2 Loops in a Network
-
7/28/2019 Exploration_LAN_Switching_Chapter5A.pdf
35/42
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ icITE 1 Chapter 6 35
Port Role Decisions
STP eliminates L2 Loops in a Network
-
7/28/2019 Exploration_LAN_Switching_Chapter5A.pdf
36/42
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ icITE 1 Chapter 6 36
Port Role Decisions
STP eliminates L2 Loops in a Network
-
7/28/2019 Exploration_LAN_Switching_Chapter5A.pdf
37/42
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ icITE 1 Chapter 6 37
Port Role Decisions
STP eliminates L2 Loops in a Network
-
7/28/2019 Exploration_LAN_Switching_Chapter5A.pdf
38/42
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ icITE 1 Chapter 6 38
Port Role Decisions
STP eliminates L2 Loops in a Network
-
7/28/2019 Exploration_LAN_Switching_Chapter5A.pdf
39/42
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ icITE 1 Chapter 6 39
STP eliminates L2 Loops in a Network
Verifying port roles and port priority
-
7/28/2019 Exploration_LAN_Switching_Chapter5A.pdf
40/42
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ icITE 1 Chapter 6 40
STP port states: Blocking: does not participate in frame forwarding; receives BPDUs
Listening: preparing to participate; sends/receives BPDUs
Learning: begins to populate MAC address table
Forwarding: forwards frames; sends/receives BPDUs
Disabled: the port is administratively disabled (down)
STP eliminates L2 Loops in a Network
-
7/28/2019 Exploration_LAN_Switching_Chapter5A.pdf
41/42
2006 Cisco Systems, Inc. All rights reserved. Cisco Publ icITE 1 Chapter 6 41
BPDU timers: define amount of time a port stays in thevarios port states
STP eliminates L2 Loops in a Network
-
7/28/2019 Exploration_LAN_Switching_Chapter5A.pdf
42/42
Adjusting BPDU timers: Timers optimized for the seven-switch diameter
To modify timers, adjust the Spanning-tree diameter on the rootbridge
STP eliminates L2 Loops in a Network