Switching Basics and Intermediate Routing: CNAP Semester 3
Switching Basics and Intermediate Routing: CNAP Semester 3
Switching Basics and Intermediate Routing: CNAP Semester 3
PROTOCOL
Version 3.0
Objectives
The Saigon CTT
switched network
Table of Content
The Saigon CTT
1 2
REDUNDANT TOPOLOGIES
Server/Host X
Router Y
Segment 1
Switch A
Switch B
Segment 2
Broadcast storms
The Saigon CTT
Server/Host X
Router Y
Segment 1
Switch A
Switch B
Segment 2
Redundant networking topologies are designed to ensure that networks continue to function in the presence of single points of failure. Switches flood traffic out all ports when the traffic is broadcast or multicast or sent to a destination that is not yet known. In the Layer 2 header there is no Time To Live (TTL). If a frame is sent into a Layer 2 looped topology of switches, it can loop forever.
The ST Algorithm, implemented by the STP, prevents loops by calculating a stable spanningtree network topology. Spanning-tree frames, called bridge protocol data units (BPDUs), are sent and received by all switches in the network at regular intervals and are used to determine the spanning-tree topology.
11
Blocking:
No frames forwarded, BPDUs heard
Listening:
No frames forwarded, listening for frames.
Learning:
No frames forwarded, learning addresses.
Forwarding:
Frames forwarded, learning addresses.
Disabled:
No frames forwarded, no BPDUs heard.
12
Algorithm
The Saigon CTT
All bridge interfaces eventually stabilize at either a forwarding or a blocking. One of the bridges is elected as root.
All root bridge interfaces are in forwarding.
Each bridge receives BPDU from the root, either directly or forwarded by some other bridge.
The port in which the least-cost BPDU is received is called the root port of a bridge is placed in forwarding.
13
Root Bridge
The Saigon CTT
Root Port
Root Port
14
Algorithm (cont.)
The Saigon CTT
15
Port Cost
The Saigon CTT
100
19
10Gbps:
16
Designated Bridge
The Saigon CTT
Port: 10Mbps
17
Algorithm (cont.)
The Saigon CTT
Share link
Edge link
Pt-pt link
19
Summary
The Saigon CTT
20
Q&A