training man-e cisco_multicast.pdf

65
Project: Mở rộng mạng MAN-E Cisco 2015 IP Multicast Implementation

Upload: truong-mai-quang-anh

Post on 10-Dec-2015

214 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Training Man-E Cisco_Multicast.pdf

Project: Mở rộng mạng MAN-E Cisco 2015

IP Multicast Implementation

Page 2: Training Man-E Cisco_Multicast.pdf

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

Module 1: Multicast Introduction

Implement Multicast

Page 4: Training Man-E Cisco_Multicast.pdf

Why Multicast ?

Page 5: Training Man-E Cisco_Multicast.pdf

Multicast & Unicast

Page 6: Training Man-E Cisco_Multicast.pdf

Multicast Advantages

Page 7: Training Man-E Cisco_Multicast.pdf

Multicast Disadvantages

Page 8: Training Man-E Cisco_Multicast.pdf

Type of Multicast Application

Page 9: Training Man-E Cisco_Multicast.pdf

IP Multicast Application

Page 10: Training Man-E Cisco_Multicast.pdf

IP Multicast Basic Addressing

Page 11: Training Man-E Cisco_Multicast.pdf

IP Multicast Basic Addressing (cont.)

Page 12: Training Man-E Cisco_Multicast.pdf

Layer 2 Multicast Addressing

Page 13: Training Man-E Cisco_Multicast.pdf

Module 2: IGMP and Layer 2 Issue

Implement Multicast

Page 14: Training Man-E Cisco_Multicast.pdf

IP Multicast Protocol Suite

Page 15: Training Man-E Cisco_Multicast.pdf

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

IGMPv2 – Joining a Group

Page 17: Training Man-E Cisco_Multicast.pdf

IGMPv2 – Maintaining a Group

Page 18: Training Man-E Cisco_Multicast.pdf

IGMPv2 – Leaving a Group

Page 19: Training Man-E Cisco_Multicast.pdf

IGMPv3 – Joining a Group

Page 20: Training Man-E Cisco_Multicast.pdf

IGMPv3 – Changing a Group

Page 21: Training Man-E Cisco_Multicast.pdf

Determining IGMP version running

Page 22: Training Man-E Cisco_Multicast.pdf

Layer 2 Multicast Frame Switching

Page 23: Training Man-E Cisco_Multicast.pdf

Layer 2 Multicast Switching Solution

Page 24: Training Man-E Cisco_Multicast.pdf

Layer 2 Multicast Switching Solution - CGMP

Page 25: Training Man-E Cisco_Multicast.pdf

Layer 2 Multicast Switching Solution – IGMP Snooping

Page 26: Training Man-E Cisco_Multicast.pdf

Module 3: Multicast Routing Protocol

Implement Multicast

Page 27: Training Man-E Cisco_Multicast.pdf

Multicast Protocol Basic

Page 28: Training Man-E Cisco_Multicast.pdf

Shortest-Path Tree

Page 29: Training Man-E Cisco_Multicast.pdf

Shortest-Path Tree (cont.)

Page 30: Training Man-E Cisco_Multicast.pdf

Shared Distribution Tree

Page 31: Training Man-E Cisco_Multicast.pdf

Multicast Distribution Tree Identification

Page 32: Training Man-E Cisco_Multicast.pdf

Multicast Forwarding

Page 33: Training Man-E Cisco_Multicast.pdf

PIM-DM Flood and Prune

Page 34: Training Man-E Cisco_Multicast.pdf

PIM-DM Flood and Prune (cont.)

Page 35: Training Man-E Cisco_Multicast.pdf

PIM-DM Flood and Prune (cont..)

Page 36: Training Man-E Cisco_Multicast.pdf

PIM Sparse Mode

Page 37: Training Man-E Cisco_Multicast.pdf

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

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

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

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

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

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

Module 4: PIM SM Auto RP Announcement

Implement Multicast

Page 44: Training Man-E Cisco_Multicast.pdf

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

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

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

Simple Auto RP Configuration

Page 48: Training Man-E Cisco_Multicast.pdf

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

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

Module 5: PIM SM & PIM SSM Configuration

Implement Multicast

Page 51: Training Man-E Cisco_Multicast.pdf

PIM-SM Configuration Commands

Page 52: Training Man-E Cisco_Multicast.pdf

PIM-SM Configuration Commands (cont.)

Auto-RP configuration

BSR configuration

Page 53: Training Man-E Cisco_Multicast.pdf

PIM SSM Configuration Commands

Enable PIM SSM

Page 54: Training Man-E Cisco_Multicast.pdf

Inspect Multicast Routing Table

Page 55: Training Man-E Cisco_Multicast.pdf

Show ip mroute

Page 56: Training Man-E Cisco_Multicast.pdf

Finding PIM Neighbor

Page 57: Training Man-E Cisco_Multicast.pdf

Show ip pim interface

Page 58: Training Man-E Cisco_Multicast.pdf

Show ip pim neighbor

Page 59: Training Man-E Cisco_Multicast.pdf

Show ip pim rp

Page 60: Training Man-E Cisco_Multicast.pdf

IOS & IOS XR

Enable Multicast Routing

Static RP

Auto-RP Configuration

Page 61: Training Man-E Cisco_Multicast.pdf

IOS & IOS XR (cont.)

BSR Configuration Enable PIM SSM

Page 62: Training Man-E Cisco_Multicast.pdf

Module 6: Introduce IPTV Model For MAN-E

Implement Multicast

Page 63: Training Man-E Cisco_Multicast.pdf

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

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

THANK YOU FOR LISTENING !

Project: Mở rộng mạng MAN-E Cisco 2015