Module - Switching and Routing Protocols
Module - Switching and Routing Protocols
Module - Switching and Routing Protocols
topologies
3
Transparent Bridging (Switching) Tasks
◦ Address learning
◦
◦ Loop avoidance
5
Cut-Through
7
Station A sends a frame to station C.
Switch caches the MAC address of station A to port E0 by
learning the source address of data frames.
The frame from station A to station C is flooded out to all
ports except port E0 (unknown unicasts are flooded). 8
10
12
Broadcast Storms
topology.
Spanning-Tree Operation
Elects one root bridge: Selects the root port on the Selects the designated STP
has a process to nonroot bridge: STP establishes port on each segment: On elect
a root bridge. Only one root port on each each segment, STP one bridge
can act as nonroot bridge. The root port establishes one designated the root
bridge in a is the lowest-cost path from port. The designated port given
network. On the the nonroot bridge to the root is selected on the bridge root
bridge, all ports are bridge. Root ports are in the that has the lowest-cost
designated ports. forwarding state. path to the root bridge.
Designated ports are in
are designated to
forward traffic for a
given segment.
• One root bridge per network
• One root port per nonroot bridge
• One designated port per segment
• Nondesignated ports are unused
17
BPDU = Bridge Protocol Data Unit
(default: sent every 2 seconds)
Root bridge = Bridge with the lowest Bridge ID
Bridge ID =
19
Spanning-Tree Path Cost
20
Lowest BID
designated port
21
Spanning-Tree Convergence
state.
topology changes.
Fast convergence is a desirable network feature
22
Routing
23
OSPF
dynamic routing
Identify the classes of routing protocols
24
What Is Routing?
E0
26
dynamic routes.
There are two ways to tell the router how to
connected
Static Route
27
Static Routes
29
Default Routes
30
Routing protocols
are used between
31
Autonomous Systems:
Interior or Exterior Routing Protocols
•
same time.
• AD value is used to rate the trustworthiness of each routing
information source
33
Default Administrative Distance Values
34
35
Classful Routing Overview
foreign networks.
Examples of classful routing protocols:
◦ RIP Version 1 (RIPv1)
◦ IGRP
36
masking (VLSM).
network.
Examples of classless routing protocols:
◦ RIP Version 2 (RIPv2)
◦ EIGRP
◦ OSPF
◦ IS-IS
37
38
routers
Metrics supported
Dynamic versus static and default
Distance-vector versus link-state
Classful versus classless
Scalability
39
Routing Protocol Metrics
decide which route to a network is better than another
◦
◦ Delay - time
◦ Load - amount of network traffic
◦ Reliability - error rate
◦
through before reaching the destination network
◦
administrator
40
41
Distance-Vector Routing
(vector) to each network, and the distance to each network
local segments
Router updates the routing table based on received broadcasts
42
neighbor
•
43
Link-State Routing
change
neighbors
44
Link-State Routing
•
between all the routers to describe the state of a network.
•
the routing table.
45
Distance-Vector Vs. Link-State
Distance-vector algorithms keep a list of
information
Choosing Between
Choose Link-State
administrators
47
Routing Information Protocol (RIP)
environments
◦ RIP Version 1 is documented in RFC 1058 (1988)
◦ RIP Version 2 is documented in RFC 2453 (1998)
Easy to configure and troubleshoot
48
RIP V2 Features
Includes the subnet mask with route updates
◦ Supports prefix routing (classless routing, supernetting)
◦ Supports variable-length subnet masking (VLSM)
49
IGRP Solved Problems with RIP
50
EIGRP
quickly
51
Open Shortest Path First (OSPF)
Open standard, defined in RFC 2328
Adjusts to changes quickly
Supports very large internetworks
Does not use a lot of bandwidth
Authenticates protocol exchanges to meet security goals
52
OSPF Metric
has a cost of 1.
53
Routers (ABRs)
• Link-state protocols use a
hierarchy
•
of networks. Areas are
• An AS consists of a
collection of networks
under a common
The backbone area is the transition area because all other areas
communicate through it. 54
55
Routing Protocols
in the Enterprise Architecture
56
Summary (switching)
creating dedicated network segments and interconnecting the
segments.
station.
receiving protocol.
58
Summary (routing)
Routing is the process by which an item gets from one location to
another
each
59