540
C
HAPTER
26: RSTP C
ONFIGURATION
For a Switch, the designated bridge is a Switch in charge of forwarding BPDU to the
local Switch using a port called the designated port. For a LAN, the designated bridge
is a Switch that is in charge of forwarding BPDU to the network segment using a port
called the designated port. As illustrated in Figure 159, Switch A forwards data to
Switch B using the port AP1. So to Switch B, the designated bridge is Switch A and
the designated port is AP1. Also in Figure 159, Switch B and Switch C are connected
to the LAN and Switch B forwards BPDU to LAN. So the designated bridge of LAN is
Switch B and the designated port is BP2.
AP1, AP2, BP1, BP2, CP1 and CP2 respectively delegate the ports of Switch A, Switch
B and Switch C.
The Specific Calculation Process of STP Algorithm
The following example illustrates the calculation process of STP.
Figure 160 illustrates the network.
Figure 160
Switch Networking.
To facilitate the descriptions, only the first four parts of the configuration BPDU are
described in the example. They are root ID (expressed as Ethernet Switch priority),
path cost to the root, designated bridge ID (expressed as Ethernet Switch priority) and
the designated port ID (expressed as the port number). As illustrated in Figure 160,
the priorities of Switch A, B and C are 0, 1 and 2 and the path costs of their links are
5, 10 and 4 respectively.
1
Initial state
When initialized, each port of the Switches will generate the configuration BPDU
taking itself as the root with a root path cost as 0, designated bridge IDs as their own
Switch IDs and the designated ports as their ports.
■
Switch A:
Configuration BPDU of AP1: {0, 0, 0, AP1
}
Configuration BPDU of AP2: {0, 0, 0, AP2
}
■
Switch B:
Configuration BPDU of BP1: {1, 0, 1, BP1
}
Configuration BPDU of BP2: {1, 0, 1, BP2
}
■
Switch C:
Configuration BPDU of CP2: {2, 0, 2, CP2
}
Configuration BPDU of CP1: {2, 0, 2, CP1
}
Switch A
with priority 0
Switch C
with priority 2
Switch B
with priority 1
CP2
BP2
CP1
BP1
AP2
AP1
4
10
5
Содержание 5500 SI - Switch - Stackable
Страница 24: ...24 ABOUT THIS GUIDE...
Страница 30: ...30 CHAPTER 1 GETTING STARTED Figure 3 Setting up a New Connection Figure 4 Configuring the Port for Connection...
Страница 50: ...50 CHAPTER 1 GETTING STARTED...
Страница 54: ...54 CHAPTER 2 ADDRESS MANAGEMENT CONFIGURATION...
Страница 78: ...78 CHAPTER 3 PORT OPERATION...
Страница 88: ...88 CHAPTER 4 XRN CONFIGURATION...
Страница 122: ...122 CHAPTER 8 VLAN VPN CONFIGURATION...
Страница 216: ...216 CHAPTER 15 SSH TERMINAL SERVICES...
Страница 268: ...268 CHAPTER 16 IP ROUTING PROTOCOL OPERATION...
Страница 308: ...308 CHAPTER 17 NETWORK PROTOCOL OPERATION...
Страница 349: ...349...
Страница 350: ...350 CHAPTER 18 MULTICAST PROTOCOL...
Страница 522: ...522 CHAPTER 22 FILE SYSTEM MANAGEMENT...
Страница 584: ...584 CHAPTER 30 PASSWORD CONTROL CONFIGURATION OPERATIONS...
Страница 600: ...600 CHAPTER 31 MSDP CONFIGURATION...
Страница 614: ...614 CHAPTER 32 CLUSTERING...
Страница 670: ...670 CHAPTER C AUTHENTICATING THE SWITCH 5500 WITH CISCO SECURE ACS...