0% found this document useful (0 votes)
49 views

Pim DM

The document discusses the principles and configuration of PIM-DM (Protocol Independent Multicast - Dense Mode). PIM-DM is a multicast routing protocol that uses flooding to initially deliver multicast packets to all areas before pruning back connections without multicast members. Key aspects of PIM-DM covered include neighbor discovery using Hello messages, flooding and pruning mechanisms, and the graft mechanism for joining new multicast sources. Configuration and validation are also reviewed through commands to display multicast routing tables, neighbors, and interface settings.

Uploaded by

pedro henrique
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
49 views

Pim DM

The document discusses the principles and configuration of PIM-DM (Protocol Independent Multicast - Dense Mode). PIM-DM is a multicast routing protocol that uses flooding to initially deliver multicast packets to all areas before pruning back connections without multicast members. Key aspects of PIM-DM covered include neighbor discovery using Hello messages, flooding and pruning mechanisms, and the graft mechanism for joining new multicast sources. Configuration and validation are also reviewed through commands to display multicast routing tables, neighbors, and interface settings.

Uploaded by

pedro henrique
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 24

PIM-DM Protocol Principles

www.huawei.com

HUAWEI TECHNOLOGIES CO., LTD. All rights reserved


Foreword

Multicast routing protocols are used between multicast routers to


establish and maintain multicast routing, and forward of multicast
packets accurately and efficiently.
PIM (Protocol Independent Multicast) is a typical inter-domain Multicast
routing protocol, divided into DM (Dense Mode) and SM (Sparse Mode)
models.

HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 2


Objectives

Upon completion of this section, you will be able to:


⚫ Understand PIM-DM basic principles

⚫ Understand PIM-DM working mechanism

⚫ Master PIM-DM basic configuration

HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 3


Contents

PIM-DM overview and configuration


PIM-DM mechanism
PIM-DM configuration validation

HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 4


PIM-DM Overview

IGMP
Receiver

PC1
PIM-DM

Source
IGMP
PC2

HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 5


Packet Forwarding in PIM-DM

IGMP
Receiver

PC1
PIM-DM

Source Receiver
IGMP
PC2

HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 6


PIMv2 Packet Header Format

0 7 15 31
Version Type Reserved Checksum

⚫ Version
 The version field indicates the version information. It is 2 at
present.
⚫ Type
 0: Hello
 3: Join/Prune
 5: Assert
 6: Graft
 7: Graft response

HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 7


PIM-DM Basic Configuration
RTB RTC
IGMP

S0/0
PC1
S1/0 PIM-DM
S0/1
RTD RTE
RTA
Source
IGMP
PC2
[RTA]multicast routing-enable
[RTA]interface Serial0/0
[RTA-Serial0/0]pim dm
[RTA]interface Serial0/1
[RTA-Serial0/1]pim dm
[RTA]interface Serial1/0
[RTA-Serial1/0]pim dm

HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 8


Contents

PIM-DM overview and configuration


PIM-DM mechanism
PIM-DM configuration validation

HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 9


Neighbor Discovery Hello Message
RTB RTC

Hello
PIM-DM PIM-DM
Hello

RTB RTC
Hello

Hello

The router with highest


priority or biggest IP IGMPv1 PC1
address will become DR.

HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 10


Construct SPT — Flooding Receiver

Multicast source

multicast packet Every router in the


network will create
(S, G) items

Receiver

HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 11


Construct SPT — Prune
Receiver

Multicast source

If there is no multicast
Multicast packet member on down-stream
node, it will send Prune
Prune message message to up-stream
node

Receiver

HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 12


SPT Establishment

multicast packet

Multicast source

Every router in the


network will hold the
(S, G) item
Flooding & pruning occurs
periodically based on a prune
timer, the operation is repeated
every 3 minutes and 30 seconds. Receiver

HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 13


Graft Mechanism
Receiver

Multicast source

Multicast packet

Graft message
Receiver

HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 14


New SPT

Multicast source

Multicast packet

Receiver

HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 15


RPF Detection

Source
151.10.3.21

RPF detection fails!


Packet is received on the
wrong interface!
Multicast packet

HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 16


Assert Mechanism

Router A Router B Router C

Ethernet

SPT Router D

Receiver
Assert

HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 17


PIM-DM Protocol Mechanism Summary

⚫ PIM-DM working process:

 Neighbor discovery

 Flooding

 Pruning

 Graft

 Assert mechanism

HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 18


Contents

PIM-DM overview and configuration


PIM-DM mechanism
PIM-DM configuration validation

HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 20


Display PIM-DM Multicast Routing Table
RTB

E0/0 E0/1 PC1

E0/0

E1/0 IGMP
PIM-DM
E1/0
RTC RTE
RTA
Source E0/0 E0/1 PC2

[RTC]display pim routing-table


PIM-DM Routing Table
Total 1 (S,G) entry
(192.168.1.2, 224.1.1.1)
Protocol 0x40: PIMDM, Flag 0x4: SPT
Uptime: 00: 05: 54, Timeout in 204 sec
Upstream interface: Ethernet0/0, RPF neighbor: 10.2.2.1
Downstream interface list:
MP NBR, never timeout
Matched 1 (S,G) entry

HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 21


Display PIM Neighbor
RTB

E0/0 E0/1

E0/0
PC1
E1/0 IGMP
PIM-DM
E1/0
RTC RTE
RTA
Source E0/0 E0/1

PC2
<RTC>display pim neighbor
Neighbor's Address Interface Name Uptime Expires
10.2.2.1 Ethernet0/0 00: 17: 15 00:
01: 34
172.16.1.1 Ethernet0/1 00: 17: 11 00:
01: 39

HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 22


Display PIM Interface Configuration

[RTC]display pim interface


PIM information of interface Ethernet0/0:
IP address of the interface is 10.2.2.2
PIM is enabled
PIM version is 2
PIM mode is Dense
PIM query interval is 30 seconds
PIM neighbor limit is 128
PIM neighbor policy is none
Total 1 PIR (designated router) is 10.2.2.2
PIM information of interface Ethernet0/1:
IP address of the interface is 172.16.1.3
PIM is enabled
PIM version is 2
PIM mode is Dense
PIM query interval is 30 seconds
PIM neighbor limit is 1e
Total 1 PIM neighbor on interface
PIM DR (designated router) is 172.16.1.3

HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 23


Summary

⚫ What is the principle operation of


PIM-DM?
⚫ What is the function of graft in
PIM-DM?
⚫ What is the function of the Assert
mechanism in PIM-DM?

HUAWEI TECHNOLOGIES CO., LTD. All rights reserved Page 24


Thank you
www.huawei.com

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy