Professional Documents
Culture Documents
The information contained herein is subject to change without notice. The only warranties for HP products and
services are set forth in the express warranty statements accompanying such products and services. Nothing
herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial
errors or omissions contained herein.
This is an HP copyrighted work that may not be reproduced without the written permission of HP. You may not use
these materials to deliver training to any person outside of your organization without the written permission of HP.
Module 1 Objectives
This module will introduce you to some of the challenges involved in providing high-quality
voice and video on an existing data network. After completing this module, you will be able to:
• Identify business and technological forces that have driven the development of converged
networks
• Describe how HP networking products can meet converged network demand for high
availability and predictability
While these integrated applications enhance user productivity, they place additional requirements on the
iinfrastructure
f
• Some applications may require the added flexibility provided by wireless access.
• Video application support can mean high bandwidth at the edge, with even higher bandwidth
requirements at the distribution and core layers.
• Network devices must support controls that enable prioritized handling for time-sensitive traffic.
• The Virtual Router Redundancy Protocol, which enables a standby router to automatically resume forwarding traffic if
the p
primaryy default g
gatewayy fails
• The Spanning Tree Protocol, which blocks redundant switched links until a failure elsewhere may cause them to
transition to the forwarding state
• Multiple Spanning Tree, which defines separate active paths per instance, enabling utilization of redundant links and
devices that would otherwise remain inactive
C
Core layer
l
If both core switches in the example have access to the same resources, the
switches
distribution layer switches can forward traffic over both equal-cost paths.
Distribution layer
y
switches
The HP E8200 switch series can be configured to provide resilience for hardware components.
• Resilient switch fabric modules – system can tolerate the loss of one module
Redundant
management
modules
Redundant
power
supplies Resilient fabric
modules
Real-time traffic, such as web video and VoIP, is far more sensitive to network congestion than typical IP
data traffic. To be successful, a converged network must exhibit predictable behavior under all
circumstances.
In this example, devices within the network cloud experience varying levels of congestion. Consequently,
some packets in the real
real-time
time data stream are delayed
delayed.
The outcome of the congestion is a variation in the interval between packet arrival, known as jitter,
which results in a choppy voice or video stream.
Network users who experience high jitter levels are likely to be dissatisfied with the performance of
voice and video applications, producing the perception that the network is not functioning properly.
Host 1 Host 2
Traffic sent by this IP phone must reach the receiver in a timely manner. However, a certain amount of
delay is inevitable as a message is sent through the network. One-way delay is defined as the interval
between the time the first bit in a packet is sent and the time it is received.
Congestion can cause levels of delay that are unacceptable for IP telephony and video-conferencing
applications A converged infrastructure must employ measures that limit delay
applications. delay.
Phone 1 Phone 2
To minimize the effects of congestion on real-time traffic, a converged infrastructure requires intelligent
devices at the edge and core layers.
An HP networking edge switch and an IP phone negotiate parameters using a standardized mechanism
known as Link Layer Discovery Protocol for Media Endpoint Devices (LLDP-MED).
LLDP-MED
• The phone identifies itself as a VOIP • The switch dynamically places the IP
device,, p
providing
g manufacturer and phone in appropriate
p pp p VLAN and
other inventory information reports the VLAN ID to the phone.
• The phone adds appropriate • Switch applies policies that will ensure
802.1Q tag and priority settings to voice quality.
the traffic it generates.
You will learn more about LLDP-MED and other topics relating to Quality of Service in Module 6.
Module 1 Summary
In this module, you learned about traffic control and high availability features required to
successfully support a converged network.
Lesson 1 Introduction: 1
All destinations
outside
While the Layer 3 header on the packets from Host1 10.1.10.0/24
to the Server contains the actual source and
destination IP addresses, the Layer 2 header Router1
indicates that traffic is destined for the Host1’s
default gateway, Router1.
10.1.10.1/24
Lesson 1 Introduction: 2
If this router, or the path between the host and the router, becomes unavailable, the
host’s open sessions terminate.
Even if an alternate path to remote destinations is available, the host may be
unable to detect it. Regardless of the IP address assigned to the second router
interface, its physical MAC address is different from that of the failed router
interface.
i t f 10 119215
10.1.192.15
10.1.10.2/24
Host 1
10.1.10.100/24
Gateway: 10.1.10.1
VRRP Terminology
Version 2 of the Virtual Router Redundancy Protocol (VRRP) , which is specified in RFC 3768, provides
an industry standard for automatic default gateway failover.
A VRRP virtual router is a set of router interfaces on the same network with a common:
• Virtual Router Identifier (VRID)
• Virtual IP Address
The Owner is the router interface whose actual IP address matches the virtual IP address.
Switch1
VLAN 10 Host: 10.1.10.10/24
Default gateway: 10.1.10.1
Switch1
VLAN 10 Host: 10.1.10.10/24
Default gateway: 10.1.10.1
Ethernet header:
Destination: Broadcast ff:ff:ff:ff:ff:ff)
Source: IETF-VRRP-Virtual-Router-VRID-01
IETF VRRP Virtual Router VRID 01 (00:00:5e:00:01:01)
Type: ARP (0x0806)
VRRP Advertisements
The VRRP Master indicates its availability by sending periodic advertisements to the VRRP multicast
address, which is 224.0.0.18.
The VRRP Master broadcasts a gratuitous ARP request that causes hosts on the VLAN to create an ARP
cache entry associating the virtual IP address with the virtual MAC address.
VLAN 10 VRRP
Advertisement
Switch1
VLAN 10 Host: 10.1.10.10/24
Default gateway: 10.1.10.1
Ethernet header:
Destination: 01:00:5e:00:00:12
Source: 00:00:5e:00:01:01
Type: IP (0x0800)
IP datagram header:
Protocol: VRRP (0x70) This advertisement is sent to the
Source: 10.1.10.1 Destination: 224.0.0.18 multicast address assigned to VRRP
in RFC 3768
Virtual Router Redundancy Protocol header:
Version: 2
Packet type: Advertisement (1)
Virtual Router ID: 1 This priority level indicates that the
P i it 255
Priority: originator of this message is the
Count IP Addrs: 1 owner of the Virtual IP Address.
Auth Type: No authentication (0)
Advertisement Interval: 1 (sec) A copy if this advertisement is sent
IP Address: 10.1.10.1 once per second.
Load Sharing
VRRP routers often support multiple VRIDs. In this implementation shown in the diagram, either router
can be Owner of any of the VRIDs.
While the VRRP Backup for a given VLAN does not act as gateway for its hosts, the router interface is
fully functional. Traffic that enters a router through a VRRP Master interface can be forwarded onto a
different VLAN through a Backup interface.
Switch1
VLAN 10 Host: 10.1.10.10/24 VLAN 20 Host: 10.1.20.10/24
Default gateway: 10.1.10.1 Default gateway: 10.1.20.1
Router1 Router2
Switch1
VLAN 10 Host: 10.1.10.10/24 VLAN 20 Host: 10.1.20.10/24
Default gateway: 10.1.10.1 Default gateway: 10.1.20.1
Router1 Router2
Switch1
VLAN 10 Host: 10.1.10.10/24 VLAN 20 Host: 10.1.20.10/24
Default gateway: 10.1.10.1 Default gateway: 10.1.20.1
Lesson 2 Introduction
To enhance default gateway availability for client PCs, network designers often specify the use of
redundant uplinks from edge switches to routers.
Hosts in two VLANs are distributed over two edge switches. The edge switches have redundant uplinks
to a pair of routing switches that will support VRRP.
All switch-to-switch links are members of both user VLANs.
This lesson will describe some challenges and solutions that arise when VRRP and the Spanning Tree
Protocol (STP) are combined within the same domain.
10 20
10 Tagged 10
Tagged Tagged
20 10 20 20
Tagged
Switch1 Switch2
VLAN 10 Hosts: VLAN 20 Hosts: VLAN 10 Hosts: VLAN 20 Hosts:
10.1.10.0/24 10.1.20.0/24 10.1.10.0/24 10.1.20.0/24
B B
Switch1 Switch2
B B
Switch1 Switch2
Host A: Host B:
10.1.10.10/24 10.1.20.10/24
Gateway: 10.1.10.1 Gateway: 10.1.20.1
B B
Switch1 Switch2
Host A: Host B:
10.1.10.10/24 10.1.20.10/24
Gateway: 10.1.10.1 Gateway: 10.1.20.1
Module 2 Summary
In this module, you learned the elements involved in the configuration of VRRP and MSTP.
Topics included:
• The roles of Master and Backup routers in transmitting and receiving VRRP v2 advertisements
• Interactions
I t ti among VRRP advertisements
d ti t and
d links
li k blocked
bl k d b
by S
Spanning
i TTree
• How the configuration of Multiple Spanning Tree instances enables routers to share gateway
responsibilities
Module 3: IP Routing
Objectives
A routing switch forwards traffic between its interfaces to enable communication among any
combination of local and remote networks.
After completing this module, you will be able to:
• Categorize the possible sources of routing information.
information
• Describe how an IP router makes a forwarding decision when a packet’s destination matches
with multiple route table entries.
• List the differences between automatic and manual summarization of remote IP address space.
• Describe how a router determines which route to place in its route table when the same
address range is advertised by different routing protocols or methods.
Lesson 1 Introduction
While Layer 2 switches enable connectivity among
devices within a network, the function of a router or Layer
3 switch is to interconnect networks. It uses a packet’s
Layer 3 information to determine which of its interfaces
leads to the destination, and creates a new Layer 2 HostB:
header for each packet it forwards
forwards. S it h2
Switch2 Network 2
A router forwards traffic destined for local networks using the interface indicated in the IP route table.
The router drops traffic destined for address ranges not in the table.
R
RouterA
A
Router interface 1: Router interface 2:
IP address: 10.1.10.1/24 IP address: 10.1.20.1/24
Subnet mask: 255.255.255.0 Subnet mask: 255.255.255.0
• Loopback interfaces, which are always considered “up” because they are not bound to any physical
interfaces
Switch1
10.1.30.0/24
10.1.40.0/24
10.1.0.26/32
This command,
Th d issued
d at the
h CLI off RouterB,
R B provides
d
information the router will use to forward traffic toward
the destination network 10.1.10.0/24
VLAN 100:
ip route 10.1.10.0/24 10.1.100.1 1 10.1.100.2/24
VLAN 30: 10.1.30.1/24 RouterB
VLAN 40: 10.1.40.1/24
VLAN 100: 10.1.100.2/24
Network topology, including Internet and intranet connectivity, Loop 0: 10.1.0.26/32
determine appropriate methods for each situation.
Route table
Destination
D ti ti C t Next
Cost N th hop
Network 1 3 Router2
Network 2 3 Router2
Network 3 2 Router2
Network 4 1 connected
Lesson 2 Introduction
Each router reports its known routes and their cost, to its
neighbors The information is passed from one router to
neighbors.
another, with costs incrementing at every hop.
RIP Advertisements: 1
The Routing Information Protocol (RIP) uses a distance-
vector algorithm to determine the best path to each
destination. VLAN 10: 10.1.10.1/24
VLAN 20: 10.1.20.1/24 RouterA
Routers periodically advertise their route table entries VLAN 100: 10.1.100.1/24
g , or p
to RIP neighbors, peers. Loop 0: 10.1.0.25/32
10.1.100.1/24
The advertisements contain a list of known address
ranges (vectors), each of which is paired with the cost
(distance) of the entire path to the address range.
10.1.100.2/24
RIP Advertisements: 2
Command: Response (2) Version: RIPv2 (2) include 10.1.100.0/24, which is the
Network: 10.1.0.25 Mask: 255.255.255.255 Metric: 1 address range associated with the I
P
network that carries this RIP update.
Network: 10.1.10.0 Mask: 255.255.255.0 Metric: 1
Network: 10.1.20.0 Mask: 255.255.255.0 Metric: 1 M
A
C
Ethernet trailer: <Checksum value> 10.1.100.2/24
10.1.100.2/24
10.1.100.1/24
IP Route Table: RouterB
10.1.100.2/24
Connected networks:
VLAN 50: 10.1.50.1/24
VLAN 60: 10.1.60.1/24 RouterC RouterB
.1 .2
VLAN 101: 10.1.101.1/24 10.1.101.0/24
Loop 0: 10.1.0.27/32
Ethernet header:
Dest: 01005e-000009 Source: <RouterB MAC>
10.1.100.1/24
IP datagram header:
Protocol: UDP IP Route Table: RouterB
Source: 10.1.101.2 Dest: 224.0.0.9
Destination
UDP header: Gateway VLAN Type Metric
10.1.0.25/32 10.1.100.1 100 rip 2
Source: 520 (RIP) Dest: 520 (RIP)
10.1.0.26/32 lo0 connected 1
Routing
10.1.10.0/24 Information Protocol:
10.0.100.1 100 rip 2
Command: Response
10.1.20.0/24 (2) Version:
10.0.100.1 100RIPv2 rip
(2) 2
Network: 10.1.0.25
10.1.30.0/24 VLAN30Mask: 255.255.255.255
30 Metric: 21
connected
Network: 10.1.0.26
10.1.40.0/24 VLAN40Mask: 255.255.255.255
40 Metric: 11
connected
Network:
/
10.1.100.0/24 10.1.10.0 Mask: 255.255.255.0
VLAN100 100 Metric: 2 1
connected
Network: 10.1.20.0 Mask: 255.255.255.0 Metric: 2
Network: 10.1.30.0 Mask: 255.255.255.0 Metric: 1
Network: 10.1.40.0 Mask: 255.255.255.0 Metric: 1 10.1.100.2/24
Connected networks: Network: 10.1.100.0 Mask: 255.255.255.0 Metric: 1
VLAN 50: 10.1.50.1/24
VLAN 60: 10.1.60.1/24 RouterC RouterB
.1 .2
VLAN 101: 10.1.101.1/24 10.1.101.0/24
Loop 0: 10.1.0.27/32
RouterA
IP Route Table: RouterC
Destination Gateway VLAN Type Metric
10.1.0.25/32 10.1.101.2 100 rip 3 10.1.100.1/24
10.1.0.26/32 l0.1.101.2 100 rip 2
10.1.0.27/32 lo0 connected 1
10.1.10.0/24 10.1.101.2 100 rip 3
10.1.20.0/24 10.0.101.2 100 rip 3
10.1.30.0/24 10.0.101.2 100 rip 2
10.1.40.0/24 10.0.101.2 100 rip 2
10.1.50.0/24 VLAN50 50 connected 1
10.1.60.0/24 VLAN60 60 connected 1
10.1.100.0/24 10.0.101.2 100 rip 2
10.1.101.0/24 VLAN101 101 connected 1
10.1.100.2/24
Connected networks:
VLAN 50: 10.1.50.1/24
VLAN 60: 10.1.60.1/24 RouterC RouterB
.1 .2
VLAN 101: 10.1.101.1/24 10.1.101.0/24
Loop 0: 10.1.0.27/32
.1 .2
Connected networks: RouterC RouterB Connected networks:
VLAN 50: 10.1.50.1/24 VLAN 30: 10.1.30.1/24
VLAN 60: 10.1.60.1/24 10.1.101.0/24 VLAN 40: 10.1.40.1/24
.1 .2
VLAN 101: 10.1.101.1/24 VLAN 100: 10.1.100.2/24
VLAN 102: 10.1.102.1/24 VLAN 101: 10.1.101.2/24
Loop 0: 10.1.0.27/32 Loop 0: 10.1.0.26/32
.1 .2
Connected networks: RouterC RouterB Connected networks:
VLAN 50: 10.1.50.1/24 VLAN 30: 10.1.30.1/24
VLAN 60: 10.1.60.1/24 10.1.101.0/24 VLAN 40: 10.1.40.1/24
.1 .2
VLAN 101: 10.1.101.1/24 VLAN 100: 10.1.100.2/24
VLAN 102: 10.1.102.1/24 VLAN 101: 10.1.101.2/24
Loop 0: 10.1.0.27/32 Loop 0: 10.1.0.26/32
.1 .2
Connected networks: RouterC RouterB Connected networks:
VLAN 50: 10.1.50.1/24 VLAN 30: 10.1.30.1/24
VLAN 60: 10.1.60.1/24 10.1.101.0/24 VLAN 40: 10.1.40.1/24
.1 .2
VLAN 101: 10.1.101.1/24 VLAN 100: 10.1.100.2/24
VLAN 102: 10.1.102.1/24 VLAN 101: 10.1.101.2/24
Loop 0: 10.1.0.27/32 Loop 0: 10.1.0.26/32
.2
Connected networks: RouterC RouterB Connected networks:
.1
VLAN 50: 10.1.50.1/24 VLAN 30: 10.1.30.1/24
VLAN 60: 10.1.60.1/24 10.1.101.0/24
.1 .2 VLAN 40: 10.1.40.1/24
VLAN 101: 10.1.101.1/24 VLAN 100: 10.1.100.2/24
VLAN 102: 10.1.102.1/24 VLAN 101: 10.1.101.2/24
Loop 0: 10.1.0.27/32 Loop 0: 10.1.0.26/32
Rev. 10.41 3 - 10
HP Switching and Routing Technologies IP Routing
Rev. 10.41 3 - 11
HP Switching and Routing Technologies IP Routing
Rev. 10.41 3 - 12
HP Switching and Routing Technologies IP Routing
When it sends RIP updates over VLAN 101,101 Router D uses RIP advertisement : RouterC int 172.16.101.2
172 16 101 2
a single advertisement to summarize the address space 10.0.100.0/24
Network: 10.0.0.0 Mask: 255.0.0.0 Metric: 1
within 10.0.0.0/8. It advertises individual networks …
within the 172.16.0.0/16 range because the address Network: 172.16.0.25 Mask: 255.255.255.255 Metric: 1
Network: 172.16.0.26 Mask: 255.255.255.255 Metric: 16
associated with the VLAN 101 is within that range. Network: 172.16.0.27 Mask: 255.255.255.255 Metric: 16
Network: 172.16.10.0 Mask: 255.255.255.0 Metric:
RouterC RouterB 1
Network: 172.16.20.0 Mask: 255.255.255.0 Metric: 1
Network: 172.16.30.0 Mask: 255.255.255.0 Metric: 16
…
Network: 172.16.102.0 Mask: 255.255.255.0 Metric: 16
Lesson 3 Introduction
Dynamic routing protocols may need to be selectively enabled to control the flow of routing updates.
Static routes may be selectively used in place of dynamic updates to minimize unnecessary
overhead.
In this lesson, you will learn how to summarize contiguous address space using static routes.
Rev. 10.41 3 - 13
HP Switching and Routing Technologies IP Routing
Dynamic routing updates have the benefit of providing routers with the information they need to find the
best path to a given destination. However, the unrestricted flow of a large number of dynamic routing
updates can impact performance in two important ways:
Rev. 10.41 3 - 14
Technet24.ir
HP Switching and Routing Technologies IP Routing
Summarization by Location
The intranet core routers in this example can also use a static routes to summarize remote address space.
Rev. 10.41 3 - 15
HP Switching and Routing Technologies IP Routing
Many routers and routing switches support configuration of multiple static routes that specify the same
destination.
If static routes are defined with different
costs, the router will send all traffic to the
next hop defined in the lowest
lowest-cost
cost route
route.
Higher-cost routes will be used only after Intranet core range:
10.0.0.0/16 RC2 Location C range:
failure of lower cost routes.
10.3.0.0/16
RC1
A router’s use of equal-cost static routes
will depend on whether it supports a
feature typically referred to as “ECMP,”
or Equal-Cost MultiPath.
RB2
HP Networking E-series routing switches RA1 RA2
support load sharing for equal-cost static RB1
Location A range: Location B range:
routes. 10.2.0.0/16
10.1.0.0/16
Rev. 10.41 3 - 16
Technet24.ir
HP Switching and Routing Technologies IP Routing
Administrative Distance
Each routing protocol applies its own interpretation to the “metric” value.
Administrative distance provides a way for administrators to assign preference to one source of routing
information over another.
Administrative distances may be modified from the system defaults.
IP Route Table
Default administrative distances for
Destination Gateway VLAN Type Metric Distance this router:
0.0.0.0 10.0.100.100 100 static 1 1
10.0.100.0/24
10.1.0.0/16
VLAN100
10.0.102.1
100
102
connected
static
1
1
0
1
• Directly connected networks: 0
10.1.1.0/24
10.1.2.0/24
VLAN1
VLAN2
1
2
connected
connected
1
1
0
0
• Static routes: 1
10.1.10.0/24
10.1.20.0/24
10.1.64.2
10.1.64.2
64
64
rip
rip
3
3
120
120
• RIP-learned routes: 120
• OSPF-learned
OSPF learned routes: 110
10.1.30.0/24 VLAN30 30 connected 1 0
10.1.40.0/24 VLAN40 40 connected 1 0
10.1.64.0/24 VLAN64 64 connected 1 0
10.2.0.0/16 10.0.100.2 100 static 1 1
within
h its RIP update
d messages iff RIP
10 1 40 0/24
10.1.40.0/24 VLAN40 40 connected 1 0
...
redistribution is enabled. 10.1.64.0/24 VLAN64 64 connected 1 0
Address range:
10.0.0.0/16
Address range:
Static route was defined here: A1 10.1.0.0/16
ip route 0.0.0.0/0 10.0.100.100 A3
Rev. 10.41 3 - 17
HP Switching and Routing Technologies IP Routing
Module 3 Summary
This module described basic IP routing concepts as they apply to forwarding among local and
remote networks.
Topics included:
• IP route table interpretation
• The categories of IP routing protocols
• RIP advertisements
• Using static routes to summarize address space
Rev. 10.41 3 - 18
Technet24.ir
HP Switching and Routing Technologies Open Shortest Path First (OSPF)
Lesson 1 Introduction
OSPF has several advantages over RIP.
1. OSPF scales to larger intranets.
OSPF interfaces may be assigned metrics that are
sensitive to the supported bandwidth.
E h router
Each t iis able
bl tto consider
id lilinkk speed
d when
h
selecting the shortest path to a given destination. OSPF
does not place a specific limit on network diameter.
OSPF routers:
• Are uniquely identified by a 32-bit OSPF Router 10.0.0.32
dotted decimal value. VLAN 100: 10.1.100.1
p 0: 10.0.0.32
Loop
• Establish a formal relationship, known
10.0.0.32
as adjacency, with neighbors
All five routers
OSPF networks are identified by a starting are neighbors
address and mask. on this network.
10.0.100.0/24
DR BDR
10.1.65.0/24 10.1.66.0/24
10.1.68.0/24
OSPF Router 10.1.0.34 OSPF Router 10.1.0.35
Area 1.0.0.0 Networks: Area 1.0.0.0 Networks:
p 0: 10.1.0.34/32
Loop / oop 0: 10.1.0.35/32
Loop 0. .0.35/3
VLAN 65: 10.1.65.2/24 VLAN 66: 10.1.66.2/24
VLAN 68: 10.1.68.2/24 VLAN 67: 10.1.67.2/24
VLAN 10: 10.1.10.1/24 VLAN 30: 10.1.30.1/24
VLAN 20: 10.1.20.1/24 10.1.10.0/24 All interfaces of 10.1.30.0/24 VLAN 40: 10.1.40.1/24
each non-ABR are
10.1.20.0/24 located within the 10.1.40.0/24
same area.
RouterB
The networks are considered “Stub” type because the router has no
adjacent neighbors on these networks.
OSPF Header:
OSPF Version: 2 Message Type: Hello packet (1)
Source OSPF Router: 10.1.0.25
Area: 1.0.0.0
OSPF Hello Packet Header: ID: 10.1.0.26
Network Mask: 255.255.255.0
Hello interval: 10 seconds This router has no
Router Priority: 1 neighbors on this
Router Dead Interval: 40 seconds network. It assumes the RouterB
Designated Router: 10.1.64.1 role of Designated Router.
Backup Designated Router: 0.0.0.0
ID: 10.1.0.26
RouterB
ID: 10.1.0.26
RouterB
Ethernet header:
Dest: <RouterB MAC> Source: <RouterA MAC>
Link-state
R
Request t
Packet
Ethernet header:
Dest: <RouterA MAC> Source: <RouterB MAC>
IP datagram header:
Protocol: 89 (OSPF)
Source: 10.1.64.2 Dest: 10.1.64.1
OSPF Header:
OSPF Version: 2
Message Type: LS Request (3)
Source OSPF Router: 10.1.0.26
Area: 1.0.0.0
Link State Request Header:
LSA Type: Router LSA (1) RouterB includes header
Link State ID: 10.1.0.25
10 1 0 25 information for the LSAs
Advertising Router: 10.1.0.25 required to synchronize its
LS Sequence Number: 80000000 database with RouterA.
…
IP datagram header:
Protocol: 89 (OSPF)
Source: 10.1.64.1
10 1 64 1 Dest: 10.1.64.2
10 1 64 2
OSPF Header:
OSPF Version: 2
Message Type: LS Update (4)
Source OSPF Router: 10.1.0.25
Area: 1.0.0.0 While the Database Description and Link
LS Update Packet: State Request packets include only LSA
Number of LSAs: 1 headers, the Link State Update packet
LS Type: Router-LSA provides detail about the advertising
Link State ID: 10.1.0.25 router’s connected networks.
Advertising Router: 10.1.0.25
10 1 0 25
LS Sequence Number: 80000000
Number of Links: 4
Type: Stub ID: 10.1.0.25 Data: 255.255.255.255 Metric: 1
Type: Stub ID: 10.1.10.0 Data: 255.255.255.0 Metric: 1
Type: Stub ID: 10.1.20.0 Data: 255.255.255.0 Metric: 1
Type: Stub ID: 10.1.64.0 Data: 255.255.255.0 Metric: 1
Ethernet header:
Dest: <RouterA MAC> Source: <RouterB MAC>
IP datagram header:
Protocol: 89 (OSPF)
S
Source: 10 1 64 2 Dest:
10.1.64.2 D t 10.1.64.1
10 1 64 1
OSPF Header:
OSPF Version: 2
Message Type: LS Acknowledge (5)
Source OSPF Router: 10.1.0.26
Area: 1.0.0.0 Like the Link State Request, the
Link State Request Header: acknowledgment contains LSA header
LSA Type: Router LSA (1) information. If RouterA does not
Link State ID: 10.1.0.25 receive an acknowledgment, it will
Advertising Router: 10.1.0.25 retransmit the Link State Update.
LS S
Sequence N Number:
b 80000000
…
Ethernet header:
Dest: 01005e-000005 Source: <RouterA MAC> Hello
IP datagram header:
Protocol: 89 (OSPF)
Source: 10.1.64.1 Dest: 224.0.0.5
OSPF Header:
OSPF Version: 2 Message g Type:
yp Hello p
packet (1)
( )
Source OSPF Router: 10.1.0.25
Area: 1.0.0.0 Hello
OSPF Hello Packet Header:
Network Mask: 255.255.255.0 OSPF Area 1.0.0.0 Networks:
Hello interval: 10 seconds ID: 10.1.0.26
VLAN 30: 10.1.30.1/24
Router Priority: 1 VLAN 40: 10.1.40.1/24
Router Dead Interval: 40 seconds RouterA is the VLAN 64: 10.1.64.2/24
Designated Router: 10.1.64.1 Designated Router Loop 0: 10.1.0.26/32 RouterB
Backup Designated Router: 10.1.64.2 for this network.
Active Neighbor: 10.1.0.26
Rev. 10.41 4 - 10
Technet24.ir
HP Switching and Routing Technologies Open Shortest Path First (OSPF)
Rev. 10.41 4 - 11
HP Switching and Routing Technologies Open Shortest Path First (OSPF)
Hello
DB Description
Link State Request
RouterC Link State Update RouterB
ID: 10.1.0.27
10 1 0 27 Li k St
Link State
t Ack
A k ID: 10.1.0.26
10 1 0 26
13 3
OSPF Area 1.0.0.0 Networks: OSPF Area 1.0.0.0 Networks:
VLAN 50: 10.1.30.1/24 VLAN 30: 10.1.30.1/24
VLAN 60: 10.1.40.1/24 VLAN 40: 10.1.40.1/24
VLAN 65: 10.1.65.1/24 VLAN 64: 10.1.64.2/24
Loop 0: 10.1.0.26/32 VLAN 65: 10.1.65.2/24
Loop 0: 10.1.0.26/32
16 16
OSPF Area 1.0.0.0 Networks: OSPF Area 1.0.0.0 Networks:
VLAN 50: 10.1.30.1/24 VLAN 30: 10.1.30.1/24
VLAN 60: 10.1.40.1/24 VLAN 40: 10.1.40.1/24
VLAN 65: 10.1.65.1/24 VLAN 64: 10.1.64.2/24
Loop 0: 10.1.0.26/32 VLAN 65: 10.1.65.2/24
Loop 0: 10.1.0.26/32
Rev. 10.41 4 - 12
Technet24.ir
HP Switching and Routing Technologies Open Shortest Path First (OSPF)
16 16
OSPF Area 1.0.0.0 Networks: OSPF Area 1.0.0.0 Networks:
VLAN 50: 10.1.30.1/24 VLAN 30: 10.1.30.1/24
VLAN 60: 10.1.40.1/24 VLAN 40: 10.1.40.1/24
VLAN 65: 10.1.65.1/24 VLAN 64: 10.1.64.2/24
Loop 0: 10.1.0.26/32 VLAN 65: 10.1.65.2/24
Loop 0: 10.1.0.26/32
Rev. 10.41 4 - 13
HP Switching and Routing Technologies Open Shortest Path First (OSPF)
The multicast address to which LSAs are flooded on a multi- Non- Non-
access network depends on the state of the router interface DR 2 DR 3
flooding the advertisements.
The multicast address to which LSAs are flooded on a multi- Non- Non-
access network depends on the state of the router interface DR 2 DR 3
flooding the advertisements.
Rev. 10.41 4 - 14
Technet24.ir
HP Switching and Routing Technologies Open Shortest Path First (OSPF)
Rev. 10.41 4 - 15
HP Switching and Routing Technologies Open Shortest Path First (OSPF)
1. OSPF routers originate link-state advertisements and flood them to adjacent neighbors
within link-state update packets, following the rules described earlier. The advertisements
are stored in a database.
2 Each router uses the database contents to create a graph that consists of vertices and
2.
edges.
• A “vertex” may be a router or a multi-access network with two or more connected
routers.
• An “edge” is a line connecting a pair of vertices.
3. Each router runs the link-state algorithm to create a tree containing all paths to each
destination network and router, placing itself at the root. It uses the metrics associated with
each path segment to calculate the shortest path to each destination.
4. Having derived the cumulative cost of the shortest path to each destination, the router
places the cost and next hop in its IP route table.
Rev. 10.41 4 - 16
Technet24.ir
HP Switching and Routing Technologies Open Shortest Path First (OSPF)
Router:
10.1.0.35
Rev. 10.41 4 - 17
HP Switching and Routing Technologies Open Shortest Path First (OSPF)
Network10.1.129.0/24 Network10.1.130.0/24
Rev. 10.41 4 - 18
Technet24.ir
HP Switching and Routing Technologies Open Shortest Path First (OSPF)
Lesson 2 Introduction
Fast convergence is one of OSPF’s main benefits. However, the
mechanisms that enable OSPF routers to quickly respond to state
changes and maintain current information can negatively affect
performance if the scope of router and network link state
advertisements is too large.
Like intranets that use RIP, those that use OSPF will benefit from
the summarization of remote address space. However, OSPF
intranets are not limited to the use of static routes for
summarization.
In this lesson, you will learn the role of multiple OSPF areas in
solving these challenges.
Rev. 10.41 4 - 19
HP Switching and Routing Technologies Open Shortest Path First (OSPF)
A Single Area
IP address space in this intranet has been
hierarchically assigned to follow its physical topology.
LSAs
Location C
Location A
address range:
address range:
10.3.0.0/16
10.1.0.0/16
Location B
address range:
10.2.0.0/16
Rev. 10.41 4 - 20
Technet24.ir
HP Switching and Routing Technologies Open Shortest Path First (OSPF)
A
Area 0.0.0.2
0002
A
Area 0.0.0.2
0002
Rev. 10.41 4 - 21
HP Switching and Routing Technologies Open Shortest Path First (OSPF)
Router
R t with
ith one or more A
Area 0.0.0.2
0002
Backbone router
interfaces in the backbone.
Rev. 10.41 4 - 22
Technet24.ir
HP Switching and Routing Technologies Open Shortest Path First (OSPF)
Area 0.0.0.0
Summary LSAs from Area 0.0.0.2 Area 0.0.0.3
flow through the backbone into all
other non-backbone areas.
ABR
Summary LSAs
representing Area
Area 0.0.0.1 0.0.0.2 networks
ABR ABR
Area 0.0.0.2
Area 0.0.0.0
Summary LSAs from Area 0.0.0.2 Area 0.0.0.3
flow through the backbone into all
other non-backbone areas.
ABR
Summary LSAs
representing Area
Area 0.0.0.1 0.0.0.2 networks
ABR ABR
Area 0.0.0.2
Rev. 10.41 4 - 23
HP Switching and Routing Technologies Open Shortest Path First (OSPF)
g
The ABR originates one Summaryy LSA Router ID: 10.1.0.32
A
Area 0 0 0 0 interface:
0.0.0.0. i t f
for each network in the non-backbone Int. e2: 10.0.64.1/24
area and floods them over adjacencies Area 0.0.0.1 interfaces: Router ID: 10.1.0.33
Int. s1: unnumbered Area 0.0.0.1 interfaces:
in the backbone area. Int. s2: unnumbered Int. s1: unnumbered
Loop 0: 10.1.0.32/32 Int. s2: unnumbered
Int. e1: 10.1.128.1/24 Loop 0: 10.1.0.33/32
Int. e1: 10.1.129.1/24
Stub network Stub network
10.1.128.0/24 10.1.129.0/24
Stub network Stub network
10.1.0.32/32 10.1.0.33/32
0 03
Router ID: 10.1.0.34 Router ID: 10.1.0.35
0 03
Area 0.0.0.1 interfaces: Area 0.0.0.1 interfaces:
Int. s1: unnumbered Int. s1: unnumbered
Int. s2: unnumbered Int. s2: unnumbered
Loop 0: 10.1.0.34/32 Loop 0: 10.1.0.35/32
Int. e2: 10.1.130.1/24 Int. e2: 10.1.131.1/24
Area 0.0.0.1
Stub network Stub network
10.1.130.0/24 10.1.131.0/24
Rev. 10.41 4 - 24
Technet24.ir
HP Switching and Routing Technologies Open Shortest Path First (OSPF)
0 03
Router ID: 10.1.0.34 Router ID: 10.1.0.35
0 03
Area 0.0.0.1 interfaces: Area 0.0.0.1 interfaces:
Int. s1: unnumbered Int. s1: unnumbered
Int. s2: unnumbered Int. s2: unnumbered
Loop 0: 10.1.0.34/32 Loop 0: 10.1.0.35/32
Int. e2: 10.1.130.1/24 Area 0.0.0.1 Int. e2: 10.1.131.1/24
Stub network Stub network
10.1.130.0/24 10.1.131.0/24
Rev. 10.41 4 - 25
HP Switching and Routing Technologies Open Shortest Path First (OSPF)
0 03
Router ID: 10.1.0.34 Router ID: 10.1.0.35
0 03
Area 0.0.0.1 interfaces: Area 0.0.0.1 interfaces:
Int. s1: unnumbered Int. s1: unnumbered
Int. s2: unnumbered Int. s2: unnumbered
Loop 0: 10.1.0.34/32 Loop 0: 10.1.0.35/32
Int. e2: 10.1.130.1/24 Area 0.0.0.1 Int. e2: 10.1.131.1/24
Stub network Stub network
10.1.130.0/24 10.1.131.0/24
Rev. 10.41 4 - 26
Technet24.ir
HP Switching and Routing Technologies Open Shortest Path First (OSPF)
Rev. 10.41 4 - 27
HP Switching and Routing Technologies Open Shortest Path First (OSPF)
ASBR
RIP domain
Area 1
172.16.0.0/16
address range:
10.1.0.0/16
Rev. 10.41 4 - 28
Technet24.ir
HP Switching and Routing Technologies Open Shortest Path First (OSPF)
Rev. 10.41 4 - 29
HP Switching and Routing Technologies Open Shortest Path First (OSPF)
The ABR that connects Area 3 to the backbone translates the Type 7
LSAs into Type 5 LSAs and floods them into the backbone, at which
Internet
point they are handled as described earlier.
ASBR
Area 0.0.0.0
(Normal) ABR for a NSSA-type area
converts Type 7 LSAs to AS
External (Type 5) LSAs.
ABR
Area 0.0.0.1
(Stub) ASBR within a stub area
Area 0.0.0.3 advertises external routes by
(NSSA) originating NSSA (Type 7) LSAs
Area 0.0.0.2
ASBR
(Stub)
RIP domain
(172.16.0.0/16)
Module 4 Summary
This module described the operation of the OSPF routing protocol, and identified some of the
terms associated with it. Topics included:
• The content and scope of various types of OSPF messages, and the procedures OSPF routers
follow when theyy receive such messages
g
• The responsibilities associated with various OSPF router roles
• The effect that area type has on the advertisement of non-OSPF route information
Rev. 10.41 4 - 30
Technet24.ir
HP Switching and Routing Technologies IP Multicast Protocols
Lesson 1 Introduction: 1
10.4.32.50/24
/
10.4.10.10/24
10.4.10.50/24
Lesson 1 Introduction: 2
10.4.10.50/24
Lesson 1 Introduction: 3
10.4.10.50/24
Multicast Addresses
IGMP IGMP
IGMP IGMP
PIM
Group Source
members
IGMP hosts
.11 .12 .13 .14 .11 .12 .13 .14
Int. 1: Int. 2:
10.1.4.1/24 10.1.8.1/24
Ethernet header:
Dest: 01:00:5e:00:00:01 Source: <Router_MAC>
Type: IP (0x0800)
The multicast address
IP datagram header: 224.0.0.1 includes all
Protocol: IGMP (0x02) IP hosts.
h
Source: 10.1.4.1 Destination: 224.0.0.1
Querier
Int. 1: Int. 2:
10.1.4.1/24 10.1.8.1/24
Ethernet header:
Dest: 01:00:5e:40:0c:2a Source: <Host_MAC>
Type: IP (0x0800)
The IP destination of the
IP datagram header: Membership Report is the address
Protocol: IGMP (0x02) off the
h multicast
li group the
h IGMP
Source: 10.1.4.11 Dest: 239.192.12.42 Host wants to join.
When the data stream associated with this multicast group begins,
the router will forward the traffic through its interface 1.
Int. 3: 10.1.16.128/24
10.1.16.1/24
Int. 1: Int. 2:
10.1.4.1/24 10.1.8.1/24
IGMP Snooping
In an environment where Layer 2 and Layer 3 forwarding functionality is performed by separate devices,
successful multicast support requires that Layer 2 switches also be IGMP-aware.
If the Layer 2 switch is not IGMP aware, it floods the multicast traffic over all ports.
If the Layer 2 switch supports IGMP snooping, its initial
behavior is the same as a switch without IGMP support.
The
h switch
h eventually
ll stops flooding
fl d on non-
member ports based on detection of
Membership Reports sent by group members in IGMP-snooping switches respond to
response to Membership Requests. additional membership reports by
forwarding the traffic toward group
members.
Int. 1: Querier Int. 2:
10.1.4.1/24 10.1.8.1/24
Group
members
Lesson 2 Introduction
Routers use multicast routing protocols to create a loop-free path for IP multicast traffic.
Like unicast routing protocols, multicast routing protocols exchange period messages with neighbors to
build a multicast distribution tree.
Dense and sparse mode protocols approach this challenge from opposite perspectives, as outlined in the
chart. This lesson provides more information on dense and sparse modes of Protocol Independent Multicast.
PIM Dense Mode Senders and receivers are Multicast traffic is initially flooded to Routers dynamically create a
(PIM-DM) located in close proximity, all nodes, who eventually prune distribution tree for each multicast
or connected by links with themselves from the tree if they have group.
plentiful bandwidth. no downstream group members.
PIM Sparse Mode Senders and receivers are On protocol startup, one node is Routers define a shared tree that
(PIM SM)
(PIM-SM) separated by distance
distance, or identified as the root of the tree
tree. can carry traffic for multiple
connected by lower- Routers explicitly request the stream if groups.
bandwidth point-to-point they have downstream group
links. members.
Each PIM router begins neighbor detection as Refer to next page to view the Hello
soon as the protocol becomes active. It message Router 1 sends over this link.
originates a Hello message for each interface
and sends it on a configurable interval.
PIM routers store neighbor
g identities in a
table.
The format of Hello messages is the Router 1: Router 2:
same whether originated by PIM dense Int 1: 10.1.4.1/24 1 1 Int 1: 10.1.5.1/24
Int 2: 10.1.64.1/24 2 2 Int 2: 10.1.64.2/24
or sparse mode routers. However, routers
Int 3: 10.1.65.1/24 Int 3: 10.1.66.1/24
that share a network must be using the Int 4: 10.1.68.1/24 3 4 4 3 Int 4: 10.1.67.1/24
same mode if they are to become
neighbors.
Router 3: 2 2 Router 4:
Int 1: 10.1.6.1/24 3 3 Int 1: 10.1.7.1/24
Int
I t 2: 10.1.65.2/24
2 10 1 65 2/24 I 2:
Int 2 10
10.1.66.2/24
1 66 2/24
Int 3: 10.1.67.2/24 1
Int 3: 10.1.68.2/24
1
Ethernet header:
Dest: 01:00:5e:00:00:0d Source: <Router_MAC>
Type: IP (0x0800)
Rev. 10.41 5 - 10
Technet24.ir
HP Switching and Routing Technologies IP Multicast Protocols
Source:
When the server begins sending a multicast 10.1.5.37/24
stream, source node creates an entry in its PIM
route table containing the source and group
addresses.
Router 2:
The
Th source node d then
h flfloods
d the
h stream over R t 1
Router 1:
1 1
Int 1: 10.1.5.1/24
Int 1: 10.1.4.1/24
all other interfaces. This enables downstream Int 2: 10.1.64.1/24 2 2
Int 2: 10.1.64.2/24
Int 3: 10.1.66.1/24
routers to place the appropriate S,G pair in Int 3: 10.1.65.1/24 Int 4: 10.1.67.1/24
their PIM route tables. Int 4: 10.1.68.1/24 3 4 4 3
The multicast data stream is uniquely identified by the The metric in this table corresponds
Source of the multicast traffic and its Group, which is with the metric associated with the
also known as an S,G pair. source network in the IP route table.
Source = 10.1.5.37
Group = 239.192.12.42
Rev. 10.41 5 - 11
HP Switching and Routing Technologies IP Multicast Protocols
Rev. 10.41 5 - 12
Technet24.ir
HP Switching and Routing Technologies IP Multicast Protocols
Source:
PIM-Dense routers obey the rule of “Reverse 10.1.5.37/24
Path Forwarding” to prevent loops during the
initial flood of multicast traffic.
Each router floods multicast traffic that arrives Router 1: Router 2:
through its reverse path interface. It filters Int 1: 10.1.4.1/24 1 1 Int 1: 10.1.5.1/24
multicast traffic that arrives through other Int 2: 10.1.64.1/24 2 2 Int 2: 10.1.64.2/24
Int 3: 10.1.65.1/24 Int 3: 10.1.66.1/24
interfaces. Int 4: 10.1.68.1/24 Int 4: 10.1.67.1/24
3 4 4 3
As the source node, Router 2 floods the
multicast traffic over its PIM-enabled interfaces.
2 2
Router 3: 3 3 Router 4:
Int 1: 10.1.6.1/24 Int 1: 10.1.7.1/24
Int 2: 10.1.65.2/24 Int 2: 10.1.66.2/24
Int 3: 10.1.67.2/24 1 1 Int 3: 10.1.68.2/24
Reverse Path
interface
Filtered interface
Rev. 10.41 5 - 13
HP Switching and Routing Technologies IP Multicast Protocols
Source:
Populating the PIM route table is the primary 10.1.5.37/24
reason for the initial flood of multicast traffic.
PIM-Dense uses a multicast distribution model
known as “flood and prune.” After the initial Router 1: Router 2:
flood
fl d off traffic,
ffi a router b
begins
i to prune allll Int
I 1: 10.1.4.1/24
1 10 1 4 1/24 1 1 Int
I 1: 10.1.5.1/24
1 10 1 5 1/24
Int 2: 10.1.64.1/24 2 2 Int 2: 10.1.64.2/24
branches other than those leading to Int 3: 10.1.65.1/24 Int 3: 10.1.66.1/24
downstream group presence. Int 4: 10.1.68.1/24 Int 4: 10.1.67.1/24
3 4 4 3
The routers initially begin by pruning the
redundant links.
2 2
Router 3: 3 3 Router 4:
Int 1: 10.1.6.1/24 Int 1: 10.1.7.1/24
Int 2: 10.1.65.2/24 Int 2: 10.1.66.2/24
Int 3: 10.1.67.2/24 1 1 Int 3: 10.1.68.2/24
Rev. 10.41 5 - 14
Technet24.ir
HP Switching and Routing Technologies IP Multicast Protocols
Source:
IGMP Host
10.1.5.37/24
Membership Report
Router 1: Router 2:
Int 1: 10.1.4.1/24 1 Int 1: 10.1.5.1/24
.11 .12 .13 .14 1
Int 2: 10.1.64.1/24 2 2 Int 2: 10.1.64.2/24
Int 3: 10.1.65.1/24 Int 3: 10.1.66.1/24
Group members: Int 4: 10.1.68.1/24 Int 4: 10.1.67.1/24
S: 10.1.5.37 3 4 4 3
G: 239.192.12.42 PIM Prune
message
Router 3: 2 Router 4:
2
Int 1: 10.1.6.1/24 Int 1: 10.1.7.1/24
3 3
Int 2: 10.1.65.2/24 Int 2: 10.1.66.2/24
In its role as IGMP Querier, each router Int 3: 10.1.67.2/24 Int 3: 10.1.68.2/24
maintains tables that determine whether its user 1 1
VLANs contain group members
members.
Router 1 remains a part of the distribution tree
for this multicast group due to downstream No group No group
group presence. members members
Ethernet header:
Dest: 01:00:5e:00:00:0d Source: <Router_3_MAC>
Type: IP (0x0800) The Prune message is sent to the PIM reserved multicast
address
address.
IP datagram header:
Protocol: PIM (0x67) (Decimal: 103)
This message format is used for the Prune message as
Source: 10.1.67.2 Destination: 224.0.0.13 well as a Join message used by PIM Sparse.
Protocol Independent Multicast header:
Version: 2 On a multi-access network, this PIM router may have
Type: Join/Prune (3) multiple upstream neighbors. The message specifies
PIM parameters: the upstream neighbor to which this message applies.
Upstream Neighbor: 10.1.67.1
Groups: 1 This distribution tree carries the data stream for a
H ld
Holdtime: 121 (sec)
( ) single multicast group. However, this message could
Group 0: 239.192.12.42/32 include information relating to multiple groups.
Join: 0
Prune: 1
The message specifies the multicast source whose
IP address: 10.1.5.37
data stream should be pruned.
Rev. 10.41 5 - 15
HP Switching and Routing Technologies IP Multicast Protocols
Source:
10.1.5.37/24
Group members:
Router 1: Router 2:
S: 10
10.1.5.37
1 5 37 IIntt 1: 10.1.4.1/24
1 10 1 4 1/24 Int
I t 1: 10.1.5.1/24
1 10 1 5 1/24
1 1
G: 239.192.12.42 .11 .12 .13 .14 Int 2: 10.1.64.1/24 2 2 Int 2: 10.1.64.2/24
Int 3: 10.1.65.1/24 Int 3: 10.1.66.1/24
Int 4: 10.1.68.1/24 Int 4: 10.1.67.1/24
Router 2 maintains the “prune” state for its 4
4 3
downstream neighbors, Router 3 and Router 4, PIM Graft
until they send a message changing the state. message
Router 3: Router 4:
When Router 3’s IGMP tables indicate group Int 1: 10.1.6.1/24
2
Int 1: 10.1.7.1/24
3
presence, it sends a PIM Graft message Int 2: 10.1.65.2/24
3
Int 2: 10.1.66.2/24
upstream. Int 3: 10.1.67.2/24 Int 3: 10.1.68.2/24
1 1
No group
Group members: members
IGMP Host
S: 10.1.5.37
Membership Report
.11 .12 .13 .14 G: 239.192.12.42
Ethernet header:
Dest: <Router_2_MAC> Source: <Router_3_MAC>
Type: IP (0x0800)
The target of a PIM Graft message is a specific
IP datagram header: neighbor instead of the PIM reserved multicast
Protocol: PIM (0x67) (Decimal: 103) address.
dd
Source: 10.1.67.2 Destination: 10.1.67.1
Rev. 10.41 5 - 16
Technet24.ir
HP Switching and Routing Technologies IP Multicast Protocols
Source:
10.1.5.37/24
Group members:
Router 1: Router 2:
S: 10
10.1.5.37
1 5 37 IIntt 1: 10.1.4.1/24
1 10 1 4 1/24 Int
I t 1: 10.1.5.1/24
1 10 1 5 1/24
1 1
G: 239.192.12.42 .11 .12 .13 .14 Int 2: 10.1.64.1/24 2 2 Int 2: 10.1.64.2/24
Int 3: 10.1.65.1/24 Int 3: 10.1.66.1/24
Int 4: 10.1.68.1/24 Int 4: 10.1.67.1/24
Router 2 maintains the “prune” state for its 4 4 3
3
downstream neighbors, Router 3 and Router 4,
PIM Graft
until they send a message changing the state. Acknowledgment
Router 3: Router 4:
When Router 3’s IGMP tables indicate group Int 1: 10.1.6.1/24
2 2
Int 1: 10.1.7.1/24
3
presence, it sends a PIM Graft message Int 2: 10.1.65.2/24
3
Int 2: 10.1.66.2/24
upstream. Int 3: 10.1.67.2/24 Int 3: 10.1.68.2/24
1 1
Router 2 acknowledges
th G
the Graft
ft message.
No group
Group members: members
IGMP Host
S: 10.1.5.37
Membership Report
.11 .12 .13 .14 G: 239.192.12.42
Ethernet header:
Dest: <Router_3_MAC> Source: <Router_2_MAC>
Type: IP (0x0800)
The
e router
ou e receiving
ece v g a PIM
MG Graft
a message
essage from
o a
IP datagram header: downstream neighbor sends a Graft Acknowledgment
Protocol: PIM (0x67) (Decimal: 103) before sending the data stream.
Source: 10.1.67.1 Destination: 10.1.67.2
Rev. 10.41 5 - 17
HP Switching and Routing Technologies IP Multicast Protocols
Source:
10.1.5.37/24
Group members:
Router
R 1:
1 Router
R 2:
2
S: 10.1.5.37 Int 1: 10.1.4.1/24 Int 1: 10.1.5.1/24
1 1
G: 239.192.12.42 .11 .12 .13 .14 Int 2: 10.1.64.1/24 2 2 Int 2: 10.1.64.2/24
Int 3: 10.1.65.1/24 Int 3: 10.1.66.1/24
Int 4: 10.1.68.1/24 Int 4: 10.1.67.1/24
Router 1 and Router 3 remain on the distribution 4 4 3
3
tree as long as each has at least one group
member on its user network.
Router 3: 2 Router 4:
2
Int 1: 10.1.6.1/24 3 Int 1: 10.1.7.1/24
3
Int 2: 10.1.65.2/24 Int 2: 10.1.66.2/24
Int 3: 10.1.67.2/24 Int 3: 10.1.68.2/24
1 1
No group
Group members: members
S: 10.1.5.37
.11 .12 .13 .14 G: 239.192.12.42
Source:
IGMP Leave Group 10.1.5.37/24
No group
Group members: members
S: 10.1.5.37
.11 .12 .13 .14 G: 239.192.12.42
Rev. 10.41 5 - 18
Technet24.ir
HP Switching and Routing Technologies IP Multicast Protocols
(DR)
(DR). 10 1 5 0/24
10.1.5.0/24 R3 R4 R6
Rev. 10.41 5 - 19
HP Switching and Routing Technologies IP Multicast Protocols
Ethernet header:
Dest: 01:00:5e:00:00:0d Source: <R7_MAC>
Type: IP (0x0800)
Bootstrap messages are sent to the All PIM
IP datagram header: Routers multicast group. Each PIM router
Protocol: PIM (0x67) (Decimal: 103) changes the packet’s Layer 2 and Layer 3
Source: 10.1.64.1 Destination: 224.0.0.13 addresses as it forwards the Bootstrap
message.
Protocol Independent Multicast header:
Version: 2
Type: Bootstrap (4)
PIM parameters:
t These
h values
l determine
d which
h h BSRS Candidate
C dd willll
Hash mask len: 30 become the active BSR. The original BSR
BSR priority: 10 advertisement remains unchanged as the
BSR: 10.1.66.1 Bootstrap message PIM is propagated throughout
the domain.
Rev. 10.41 5 - 20
Technet24.ir
HP Switching and Routing Technologies IP Multicast Protocols
Ethernet header:
Dest: <R7_MAC> Source: <R2_MAC>
Type: IP (0x0800)
RP Candidates send their advertisements
IP datagram header: directly to the elected BSR, and not the PIM
Protocol: PIM (0x67) (Decimal: 103) multicast group.
Source: 10.1.65.2 Destination: 10.1.66.1
Rev. 10.41 5 - 21
HP Switching and Routing Technologies IP Multicast Protocols
As the
A h BBootstrap messages move through
h h the
h .2
.2
domain, each PIM-SM router stores this .2
Ethernet header:
Dest: 01:00:5e:00:00:0d Source: <R7_MAC>
Type: IP (0x0800) The BSR originates a copy of the Bootstrap
message for each of its interfaces that support
IP datagram
d t h
header:
d PIM neighbors.
i hb It is
i sentt tto th
the multicast
lti t address
dd
Protocol: PIM (0x67) (Decimal: 103) that includes all PIM routers.
Source: 10.1.64.1 Destination: 224.0.0.13
Rev. 10.41 5 - 22
Technet24.ir
HP Switching and Routing Technologies IP Multicast Protocols
Sharing RP Responsibilities
Rev. 10.41 5 - 23
HP Switching and Routing Technologies IP Multicast Protocols
Module 5 Summary
This module described the operation of three protocols that enable transmission of multicast
traffic within an intranet. In this module you learned:
• The format of IGMP messages, and how network devices use IGMP information to forward
multicast traffic to g
group
p members
• The behavior of routers using PIM Dense mode, including the messages they use to become
neighbors, and join and leave the distribution tree
• The similarities between PIM Dense and Sparse modes
• How the Rendezvous Point and Bootstrap Routers distribute information to other routers that
use PIM-Sparse
Rev. 10.41 5 - 24
Technet24.ir
HP Switching and Routing Technologies Delivering Quality of Service
Lesson 1 Introduction
Bandwidth is typically provisioned based on a calculated average percentage of utilization per client
computer. Adequate provisioning is the first step in providing QoS for time-sensitive traffic.
For example, an access switch supporting 20 gigabit clients at 5% utilization would require a 1-Gbps
uplink.
… …
[20 gigabit clients @ 5% average utilization]
Host1 Host2
Application Application
Transport
Among other items, the hosts negotiate a Transport
(TCP) window size (rollover text: limits the how (TCP)
many packets can be in transit and
unacknowledged) that hosts use to slow
down their transmission when they detect
congestion.
An acknowledgement timer defines the
Network (IP) length of time each host will wait for Network (IP)
Data Link acknowledgements from the other. Data Link
Physical Physical
Host1 Host2
Application Application
Physical Physical
Host1 Host2
Application If Host1 does not receive Host2 acknowledges receipt of Application
acknowledgement of packets 1 and 2 by including
packets 3 and 4 before its the highest received segment
Transport
4 (TCP) timer expires, it retransmits number in the TCP header of Transport (TCP)
3 them. packets it sends to Host1.
2
1
Physical Physical
Host1 Host2
Application Application
Physical Physical
UDP data
t ffi
traffic
Voice traffic
TCP data
traffic
For simplicity,
p y, we will use an example
p with four q
queues. Manyy QoS-capable
p switches support
pp eight
g
queues.
UDP data
4 ((highest
g es ppriority)
o y)
t ffi
traffic
3 (medium priority)
Voice traffic 2 (normal priority)
1 (lowest priority)
TCP data
traffic
Egress port
Ingress ports
queues
Packets that arrive in higher priority queues will interrupt servicing of packets in lower priority queues.
This creates the opportunity for starving lower priority queues to the point that data traffic can suffer.
UDP data
traffic
ff 4
3
Voice traffic 2
1
TCP data
traffic
In the example, the highest priority queue (4) is allocated 45% of the total bandwidth. Higher priority queues are always
serviced before lower priority queues. When a number of bytes equal to this bandwidth percentage have been
forwarded,, the next highest
g p
priorityy q
queue is serviced.
Queue 3 is allocated a bandwidth percentage; however, it contains no waiting packets. Servicing moves on to the
normal priority queue (2), and the low priority queue (1). At the end of the cycle, the remaining capacity is allocated to
the highest priority queue that has packets waiting.
UDP data
traffic
ff 4 45%
3 15%
Voice traffic 35%
2
1 5%
TCP data
traffic
000
001
010
011 8 possible values in
100 3-bit prioritization field
101
110
111
Most IP phones and many other devices sending time-sensitive traffic use Layer 2 markers to indicate
priority. Devices may also request priority handling by marking the Type of Service field in the IPv4
datagram header.
Priority Mechanisms: 1
Recognition of time-sensitive traffic and forwarding it ahead of normal traffic are two of the three formalized
steps involved in prioritization.
1. Classification
The switch reads the packet header to learn its priority and assigns it to a traffic class, which is also
known as internal forwarding priority.
2
2. Marking
If the switch will need to create a new header for the packet, it modifies the header to reflect the
appropriate priority value. Packets are marked for the benefit of other QoS-capable devices which may
handle the packet downstream.
3. Scheduling
The switch places the packet in the queue associated with its traffic class. The 802.1Q standard
specifies relative priority of the traffic classes.
Some switches require QoS support to be manually enabled. ProVision ASIC switches are able to classify,
mark, and schedule traffic as soon as you have configured VLANs.
Priority Mechanisms: 2
The switch does not need to mark the header because the packet is being forwarded at Layer 2. Specifically, the
destination port is in the same VLAN as the source port.
Note that the priority marker (110) remains intact in the header after the packet has been forwarded.
Inbound port:
VLAN 130
Priority (binary) VLAN ID (represented
in decimal))
Layer 2 switch
In the absence of a specific policy, this Layer 3 switch will forward the packet
with normal priority whether it is forwarded over tagged or untagged links
Version (4) HL (4 bits) Type of Service (8 bits) Total Length (16 bits)
Identifier (16 bits) Flags (3) Fragment Offset (13 bits)
Time to Live (8 bits) Protocol (8 bits) Header Checksum (16 bits)
Source Address (32 bits)
Destination Address (32 bits)
A packet decoder would display the hexadecimal value of the entire TOS field: A0.
Expedited Forwarding (EF) is assigned the highest user-defined value using the DiffServ definition: 46
Rev. 10.41 6 - 10
Technet24.ir
HP Switching and Routing Technologies Delivering Quality of Service
Lesson 2 Introduction
LLDP is a useful protocol that enables switches to dynamically learn the identity and other characteristics of their neighbors.
An LLDP extension for Media Endpoint Devices (LLDP-MED) enables phones and other endpoints to report their requirements
and capabilities to a connected switch.
LLDP
LLDP
LLDP-MED
To wiring
closet
2-port
MAC
relay
Rev. 10.41 6 - 11
HP Switching and Routing Technologies Delivering Quality of Service
MIB
Port Device Type Info
50 Switch2 Router xxxx
Switch1
50 Switch ID &
capabilities
Rev. 10.41 6 - 12
Technet24.ir
HP Switching and Routing Technologies Delivering Quality of Service
Module 6 Summary
This module described some of the technologies used to provide priorities for traffic generated
by time-sensitive applications.
Topics included:
• Classification and scheduling strategies employed by switches
• Marking Priority within the IEEE 802.1Q tag and IP datagram header
Rev. 10.41 6 - 13