training man-e cisco_multicast.pdf
TRANSCRIPT
![Page 1: Training Man-E Cisco_Multicast.pdf](https://reader030.vdocuments.net/reader030/viewer/2022032515/563db9b8550346aa9a9f4b27/html5/thumbnails/1.jpg)
Project: Mở rộng mạng MAN-E Cisco 2015
IP Multicast Implementation
![Page 2: Training Man-E Cisco_Multicast.pdf](https://reader030.vdocuments.net/reader030/viewer/2022032515/563db9b8550346aa9a9f4b27/html5/thumbnails/2.jpg)
Nội dung
Module 1 : Multicast Introduction
Module 2: IGMP and Layer 2 Issue
Module 3: Multicast Routing Protocol
Module 4: PIM SM Auto RP Announcement
Module 5: PIM SM and PIM SSM Configuration
Module 6: Introduce IPTV Model for MAN-E
![Page 3: Training Man-E Cisco_Multicast.pdf](https://reader030.vdocuments.net/reader030/viewer/2022032515/563db9b8550346aa9a9f4b27/html5/thumbnails/3.jpg)
Module 1: Multicast Introduction
Implement Multicast
![Page 4: Training Man-E Cisco_Multicast.pdf](https://reader030.vdocuments.net/reader030/viewer/2022032515/563db9b8550346aa9a9f4b27/html5/thumbnails/4.jpg)
Why Multicast ?
![Page 5: Training Man-E Cisco_Multicast.pdf](https://reader030.vdocuments.net/reader030/viewer/2022032515/563db9b8550346aa9a9f4b27/html5/thumbnails/5.jpg)
Multicast & Unicast
![Page 6: Training Man-E Cisco_Multicast.pdf](https://reader030.vdocuments.net/reader030/viewer/2022032515/563db9b8550346aa9a9f4b27/html5/thumbnails/6.jpg)
Multicast Advantages
![Page 7: Training Man-E Cisco_Multicast.pdf](https://reader030.vdocuments.net/reader030/viewer/2022032515/563db9b8550346aa9a9f4b27/html5/thumbnails/7.jpg)
Multicast Disadvantages
![Page 8: Training Man-E Cisco_Multicast.pdf](https://reader030.vdocuments.net/reader030/viewer/2022032515/563db9b8550346aa9a9f4b27/html5/thumbnails/8.jpg)
Type of Multicast Application
![Page 9: Training Man-E Cisco_Multicast.pdf](https://reader030.vdocuments.net/reader030/viewer/2022032515/563db9b8550346aa9a9f4b27/html5/thumbnails/9.jpg)
IP Multicast Application
![Page 10: Training Man-E Cisco_Multicast.pdf](https://reader030.vdocuments.net/reader030/viewer/2022032515/563db9b8550346aa9a9f4b27/html5/thumbnails/10.jpg)
IP Multicast Basic Addressing
![Page 11: Training Man-E Cisco_Multicast.pdf](https://reader030.vdocuments.net/reader030/viewer/2022032515/563db9b8550346aa9a9f4b27/html5/thumbnails/11.jpg)
IP Multicast Basic Addressing (cont.)
![Page 12: Training Man-E Cisco_Multicast.pdf](https://reader030.vdocuments.net/reader030/viewer/2022032515/563db9b8550346aa9a9f4b27/html5/thumbnails/12.jpg)
Layer 2 Multicast Addressing
![Page 13: Training Man-E Cisco_Multicast.pdf](https://reader030.vdocuments.net/reader030/viewer/2022032515/563db9b8550346aa9a9f4b27/html5/thumbnails/13.jpg)
Module 2: IGMP and Layer 2 Issue
Implement Multicast
![Page 14: Training Man-E Cisco_Multicast.pdf](https://reader030.vdocuments.net/reader030/viewer/2022032515/563db9b8550346aa9a9f4b27/html5/thumbnails/14.jpg)
IP Multicast Protocol Suite
![Page 15: Training Man-E Cisco_Multicast.pdf](https://reader030.vdocuments.net/reader030/viewer/2022032515/563db9b8550346aa9a9f4b27/html5/thumbnails/15.jpg)
IGMPv2
Multicast routers use IGMP to maintain information for each router interface about which multicast group traffic they should forward and which hosts want to receive it
![Page 16: Training Man-E Cisco_Multicast.pdf](https://reader030.vdocuments.net/reader030/viewer/2022032515/563db9b8550346aa9a9f4b27/html5/thumbnails/16.jpg)
IGMPv2 – Joining a Group
![Page 17: Training Man-E Cisco_Multicast.pdf](https://reader030.vdocuments.net/reader030/viewer/2022032515/563db9b8550346aa9a9f4b27/html5/thumbnails/17.jpg)
IGMPv2 – Maintaining a Group
![Page 18: Training Man-E Cisco_Multicast.pdf](https://reader030.vdocuments.net/reader030/viewer/2022032515/563db9b8550346aa9a9f4b27/html5/thumbnails/18.jpg)
IGMPv2 – Leaving a Group
![Page 19: Training Man-E Cisco_Multicast.pdf](https://reader030.vdocuments.net/reader030/viewer/2022032515/563db9b8550346aa9a9f4b27/html5/thumbnails/19.jpg)
IGMPv3 – Joining a Group
![Page 20: Training Man-E Cisco_Multicast.pdf](https://reader030.vdocuments.net/reader030/viewer/2022032515/563db9b8550346aa9a9f4b27/html5/thumbnails/20.jpg)
IGMPv3 – Changing a Group
![Page 21: Training Man-E Cisco_Multicast.pdf](https://reader030.vdocuments.net/reader030/viewer/2022032515/563db9b8550346aa9a9f4b27/html5/thumbnails/21.jpg)
Determining IGMP version running
![Page 22: Training Man-E Cisco_Multicast.pdf](https://reader030.vdocuments.net/reader030/viewer/2022032515/563db9b8550346aa9a9f4b27/html5/thumbnails/22.jpg)
Layer 2 Multicast Frame Switching
![Page 23: Training Man-E Cisco_Multicast.pdf](https://reader030.vdocuments.net/reader030/viewer/2022032515/563db9b8550346aa9a9f4b27/html5/thumbnails/23.jpg)
Layer 2 Multicast Switching Solution
![Page 24: Training Man-E Cisco_Multicast.pdf](https://reader030.vdocuments.net/reader030/viewer/2022032515/563db9b8550346aa9a9f4b27/html5/thumbnails/24.jpg)
Layer 2 Multicast Switching Solution - CGMP
![Page 25: Training Man-E Cisco_Multicast.pdf](https://reader030.vdocuments.net/reader030/viewer/2022032515/563db9b8550346aa9a9f4b27/html5/thumbnails/25.jpg)
Layer 2 Multicast Switching Solution – IGMP Snooping
![Page 26: Training Man-E Cisco_Multicast.pdf](https://reader030.vdocuments.net/reader030/viewer/2022032515/563db9b8550346aa9a9f4b27/html5/thumbnails/26.jpg)
Module 3: Multicast Routing Protocol
Implement Multicast
![Page 27: Training Man-E Cisco_Multicast.pdf](https://reader030.vdocuments.net/reader030/viewer/2022032515/563db9b8550346aa9a9f4b27/html5/thumbnails/27.jpg)
Multicast Protocol Basic
![Page 28: Training Man-E Cisco_Multicast.pdf](https://reader030.vdocuments.net/reader030/viewer/2022032515/563db9b8550346aa9a9f4b27/html5/thumbnails/28.jpg)
Shortest-Path Tree
![Page 29: Training Man-E Cisco_Multicast.pdf](https://reader030.vdocuments.net/reader030/viewer/2022032515/563db9b8550346aa9a9f4b27/html5/thumbnails/29.jpg)
Shortest-Path Tree (cont.)
![Page 30: Training Man-E Cisco_Multicast.pdf](https://reader030.vdocuments.net/reader030/viewer/2022032515/563db9b8550346aa9a9f4b27/html5/thumbnails/30.jpg)
Shared Distribution Tree
![Page 31: Training Man-E Cisco_Multicast.pdf](https://reader030.vdocuments.net/reader030/viewer/2022032515/563db9b8550346aa9a9f4b27/html5/thumbnails/31.jpg)
Multicast Distribution Tree Identification
![Page 32: Training Man-E Cisco_Multicast.pdf](https://reader030.vdocuments.net/reader030/viewer/2022032515/563db9b8550346aa9a9f4b27/html5/thumbnails/32.jpg)
Multicast Forwarding
![Page 33: Training Man-E Cisco_Multicast.pdf](https://reader030.vdocuments.net/reader030/viewer/2022032515/563db9b8550346aa9a9f4b27/html5/thumbnails/33.jpg)
PIM-DM Flood and Prune
![Page 34: Training Man-E Cisco_Multicast.pdf](https://reader030.vdocuments.net/reader030/viewer/2022032515/563db9b8550346aa9a9f4b27/html5/thumbnails/34.jpg)
PIM-DM Flood and Prune (cont.)
![Page 35: Training Man-E Cisco_Multicast.pdf](https://reader030.vdocuments.net/reader030/viewer/2022032515/563db9b8550346aa9a9f4b27/html5/thumbnails/35.jpg)
PIM-DM Flood and Prune (cont..)
![Page 36: Training Man-E Cisco_Multicast.pdf](https://reader030.vdocuments.net/reader030/viewer/2022032515/563db9b8550346aa9a9f4b27/html5/thumbnails/36.jpg)
PIM Sparse Mode
![Page 37: Training Man-E Cisco_Multicast.pdf](https://reader030.vdocuments.net/reader030/viewer/2022032515/563db9b8550346aa9a9f4b27/html5/thumbnails/37.jpg)
PIM-SM Shared Tree Join
1. The leaf routers knows the IP
address of the RP for group G
and sends a (*,G) Join for this
group towards the RP
2. Building a branch of the Shared
Tree that extends from the RP
to the last-hop router directly
connected to the receiver
![Page 38: Training Man-E Cisco_Multicast.pdf](https://reader030.vdocuments.net/reader030/viewer/2022032515/563db9b8550346aa9a9f4b27/html5/thumbnails/38.jpg)
PIM-SM Source Registration
1. Source encapsulates
multicast data in Register
Message and unicasts to
RP
2. RP encapsulates the
multicast data packet
inside of the Register
message and forwards it
down the Shared Tree
3. The RP also sends an
(S,G) Join back to the
source network S to
create a branch of an
(S,G) Shortest Path Tree
![Page 39: Training Man-E Cisco_Multicast.pdf](https://reader030.vdocuments.net/reader030/viewer/2022032515/563db9b8550346aa9a9f4b27/html5/thumbnails/39.jpg)
PIM-SM Source Registration (cont.)
1. As soon as the SPT is
build from teh Source
router to the RP,
multicast traffic begins to
flow natively from the
souce S to the RP
2. Once the RP begins
receiving data natively (ie
down the SPT) from
source S, it sends a
Register Stop to the
source's first hop router
to inform it that it can
stop sending the unicast
Register messages
![Page 40: Training Man-E Cisco_Multicast.pdf](https://reader030.vdocuments.net/reader030/viewer/2022032515/563db9b8550346aa9a9f4b27/html5/thumbnails/40.jpg)
PIM-SM Source Registration (cont..)
At this point, multicast traffic from the source is flowing down the SPT
to the RP and from there, down the Shared Tree to the receiver
![Page 41: Training Man-E Cisco_Multicast.pdf](https://reader030.vdocuments.net/reader030/viewer/2022032515/563db9b8550346aa9a9f4b27/html5/thumbnails/41.jpg)
PIM-SM SPT Switchover
The default behavior for the PIM-
SM leaf routers attached to active
receivers is to immediate join the
SPT to the source as soon as the
first packet arrives via the (*,G)
Shared Tree.
Can change SPT-Threshold –
meaning multicast traffic rate
before switchover
![Page 42: Training Man-E Cisco_Multicast.pdf](https://reader030.vdocuments.net/reader030/viewer/2022032515/563db9b8550346aa9a9f4b27/html5/thumbnails/42.jpg)
PIM SSM
• Source-Specific Multicast (SSM), defined in RFC 4607, extends this concept to identify a set of multicast hosts not only by group address but also by source.
• IANA has reserved for SSM the IPv4 address range 232.0.0.0/8
• PIM SSM uses PIM SM work with IGMPv3 to build SPT only toward to Source.
• Advantages of PIM SSM
– SSM channel is defined by both a source and a group address, group addresses can be re-used by multiple sources while keeping channels unique.
– SSM does not rely on the designation of a rendezvous point (RP) to establish a multicast tree.
![Page 43: Training Man-E Cisco_Multicast.pdf](https://reader030.vdocuments.net/reader030/viewer/2022032515/563db9b8550346aa9a9f4b27/html5/thumbnails/43.jpg)
Module 4: PIM SM Auto RP Announcement
Implement Multicast
![Page 44: Training Man-E Cisco_Multicast.pdf](https://reader030.vdocuments.net/reader030/viewer/2022032515/563db9b8550346aa9a9f4b27/html5/thumbnails/44.jpg)
Auto RP Discovery Overview
Router can use one of the following three methods to learn the IP address of an RP:
The RP address can be statically configured on all the PIM-SM.
The Cisco-proprietary Auto-RP protocol can be used to designate the RP and advertise its IP address so that all PIM-SM routers can learn its IP address automatically.
A standard BootStrap Router (BSR) protocol can be used to designate the RP and advertise its IP address so that all the PIM-SM routers can learn its IP address automatically.
![Page 45: Training Man-E Cisco_Multicast.pdf](https://reader030.vdocuments.net/reader030/viewer/2022032515/563db9b8550346aa9a9f4b27/html5/thumbnails/45.jpg)
Auto-RP Protocol
Step 1:
The RP sends RP-Announce messages to the reserved multicast address 224.0.1.39 stating that the router is an RP.
The RP-Announce message also allows the router to advertise the multicast groups for which it is the RP, thereby allowing some load-balancing of the RP workload among different routers.
![Page 46: Training Man-E Cisco_Multicast.pdf](https://reader030.vdocuments.net/reader030/viewer/2022032515/563db9b8550346aa9a9f4b27/html5/thumbnails/46.jpg)
Step 2:
One router be configured as a mapping agent.
The mapping agent multicasts another message, called RP-Discovery 224.0.1.40 to informs the general router population as to which routers they should use as RPs.
Auto-RP Protocol
![Page 47: Training Man-E Cisco_Multicast.pdf](https://reader030.vdocuments.net/reader030/viewer/2022032515/563db9b8550346aa9a9f4b27/html5/thumbnails/47.jpg)
Simple Auto RP Configuration
![Page 48: Training Man-E Cisco_Multicast.pdf](https://reader030.vdocuments.net/reader030/viewer/2022032515/563db9b8550346aa9a9f4b27/html5/thumbnails/48.jpg)
BSR Protocol
1. The candidate-RPs send their
candidate-RP advertisements
directly to the elected BSR
2. The bootstrap message sent by
the BSR includes information about
all the candidate-RPs. BSR
message uses PIM Message hop-
by-hop on each router.
3. Each router uses a common
algorithm to select the same RP
address for a given multicast group
![Page 49: Training Man-E Cisco_Multicast.pdf](https://reader030.vdocuments.net/reader030/viewer/2022032515/563db9b8550346aa9a9f4b27/html5/thumbnails/49.jpg)
Simple BSR Configuration
On each router: ip multicast-routing
On each interface: ip pim sparse-mode
On Router A,C: ip pim rp-candidate loopback 0
On Router B: ip pim bsr-candidate loopback 0
![Page 50: Training Man-E Cisco_Multicast.pdf](https://reader030.vdocuments.net/reader030/viewer/2022032515/563db9b8550346aa9a9f4b27/html5/thumbnails/50.jpg)
Module 5: PIM SM & PIM SSM Configuration
Implement Multicast
![Page 51: Training Man-E Cisco_Multicast.pdf](https://reader030.vdocuments.net/reader030/viewer/2022032515/563db9b8550346aa9a9f4b27/html5/thumbnails/51.jpg)
PIM-SM Configuration Commands
![Page 52: Training Man-E Cisco_Multicast.pdf](https://reader030.vdocuments.net/reader030/viewer/2022032515/563db9b8550346aa9a9f4b27/html5/thumbnails/52.jpg)
PIM-SM Configuration Commands (cont.)
Auto-RP configuration
BSR configuration
![Page 53: Training Man-E Cisco_Multicast.pdf](https://reader030.vdocuments.net/reader030/viewer/2022032515/563db9b8550346aa9a9f4b27/html5/thumbnails/53.jpg)
PIM SSM Configuration Commands
Enable PIM SSM
![Page 54: Training Man-E Cisco_Multicast.pdf](https://reader030.vdocuments.net/reader030/viewer/2022032515/563db9b8550346aa9a9f4b27/html5/thumbnails/54.jpg)
Inspect Multicast Routing Table
![Page 55: Training Man-E Cisco_Multicast.pdf](https://reader030.vdocuments.net/reader030/viewer/2022032515/563db9b8550346aa9a9f4b27/html5/thumbnails/55.jpg)
Show ip mroute
![Page 56: Training Man-E Cisco_Multicast.pdf](https://reader030.vdocuments.net/reader030/viewer/2022032515/563db9b8550346aa9a9f4b27/html5/thumbnails/56.jpg)
Finding PIM Neighbor
![Page 57: Training Man-E Cisco_Multicast.pdf](https://reader030.vdocuments.net/reader030/viewer/2022032515/563db9b8550346aa9a9f4b27/html5/thumbnails/57.jpg)
Show ip pim interface
![Page 58: Training Man-E Cisco_Multicast.pdf](https://reader030.vdocuments.net/reader030/viewer/2022032515/563db9b8550346aa9a9f4b27/html5/thumbnails/58.jpg)
Show ip pim neighbor
![Page 59: Training Man-E Cisco_Multicast.pdf](https://reader030.vdocuments.net/reader030/viewer/2022032515/563db9b8550346aa9a9f4b27/html5/thumbnails/59.jpg)
Show ip pim rp
![Page 60: Training Man-E Cisco_Multicast.pdf](https://reader030.vdocuments.net/reader030/viewer/2022032515/563db9b8550346aa9a9f4b27/html5/thumbnails/60.jpg)
IOS & IOS XR
Enable Multicast Routing
Static RP
Auto-RP Configuration
![Page 61: Training Man-E Cisco_Multicast.pdf](https://reader030.vdocuments.net/reader030/viewer/2022032515/563db9b8550346aa9a9f4b27/html5/thumbnails/61.jpg)
IOS & IOS XR (cont.)
BSR Configuration Enable PIM SSM
![Page 62: Training Man-E Cisco_Multicast.pdf](https://reader030.vdocuments.net/reader030/viewer/2022032515/563db9b8550346aa9a9f4b27/html5/thumbnails/62.jpg)
Module 6: Introduce IPTV Model For MAN-E
Implement Multicast
![Page 63: Training Man-E Cisco_Multicast.pdf](https://reader030.vdocuments.net/reader030/viewer/2022032515/563db9b8550346aa9a9f4b27/html5/thumbnails/63.jpg)
IPTV & VoD Service Model VoD:
1. STB unicasts to EPG and VoD
Server
2. U-PE relays STB’s DHCP
message to DHCP server
3. User isolation at Metro
switches , DSLAM and
Bridge-domain split horison
IPTV:
1. IP Multicast from BTV server
to STB
2. Using PIM SSM for multicast
routing. U-PE & PE-AGG must
have routes to BTV server in
IP routing table.
3. U-PE must map IGMPv2 to
IGMPv3 in case of STB
doesn’t support IGMPv3
![Page 64: Training Man-E Cisco_Multicast.pdf](https://reader030.vdocuments.net/reader030/viewer/2022032515/563db9b8550346aa9a9f4b27/html5/thumbnails/64.jpg)
PIM SSM Mapping on U-PE
Example of configuring PIM SSM and SSM Mapping on U-PE
![Page 65: Training Man-E Cisco_Multicast.pdf](https://reader030.vdocuments.net/reader030/viewer/2022032515/563db9b8550346aa9a9f4b27/html5/thumbnails/65.jpg)
THANK YOU FOR LISTENING !
Project: Mở rộng mạng MAN-E Cisco 2015