PIM

Protocol Independent Multicast

1.6.c Multicast scopes (not on blueprint)

General information on “PIM Multicast scopes”:

1.6.c i Sparse Mode

General information on “PIM Sparse Mode”:

“PIM Sparse Mode” CLI configuration commands:

## ====
## IPv4
## ====

## Enabling multicast routing globally (IPv4)
Router(config)# ip multicast-routing

## Configuring PIM-SM on an interface (IPv4)
Router(config)# interface <if>
Router(config-if)# ip pim sparse-mode

## Modifying/Disabling the PIM SPT calculation behavior
Router(config)# ip pim spt-threshold [kbps | infinity] group-list [ACL]


## ====
## IPv6
## ====

## Enabling multicast routing globally (IPv6)
Router(config)# ipv6 multicast-routing

## Disabling PIMv6 on an interface (IPv6)
Router(config)# interface <if>
Router(config-if)# no ipv6 pim

“PIM Sparse Mode” CLI show commands:

## ====
## IPv4
## ====

## Showing IPv4 multicast routes
Router# show ip mroute

## Showing IPv4 PIM neighbors
Router# show ip pim neighbors

## Showing IPv4 PIM tunnel interfaces
Router# show ip pim tunnel


## ====
## IPv6
## ====

## Showing IPv6 multicast routes
Router# show ipv6 mroute

## Showing IPv6 PIM neighbors
Router# show ipv6 pim neighbors

## Showing IPv6 PIM tunnel interfaces
Router# show ipv6 pim tunnel

1.6.c ii Static RP, BSR, AutoRP

Rendezvous Point

Static RP

General information on “PIM Static RP”:

“PIM Static RP” CLI configuration commands:

## Configuring a static PIM RP (IPv4/v6)
Router(config)# [ip | ipv6] pim rp-address <ip>

“PIM Static RP” CLI show commands:

## ====
## IPv4
## ====

## Showing PIM RP-to-group mappings (IPv4)
Router# show ip pim rp mapping


## ====
## IPv6
## ====

## Showing PIMv6 RP-to-group mappings (IPv6)
Router# show ipv6 pim range-list

BSR

Bootstrap Router

General information on “PIM BSR”:

Configuration information:

“PIM BSR” CLI configuration commands:

## ====
## IPv4
## ====

## Configuring a PIM BSR candidate-RP (IPv4)
Router(config)# ip pim rp-candidate <if> interval <sec>

## Configuring a PIM BSR candidate-BSR (IPv4)
Router(config)# ip pim bsr-candidate <if>


## ====
## IPv6
## ====

## Configuring a PIMv6 BSR candidate-RP (IPv6)
Router(config)# ipv6 pim bsr candidate rp <ipv6-addr>

## Configuring a PIMv6 BSR candidate-BSR (IPv6)
Router(config)# ipv6 pim bsr candidate bsr <ipv6-addr>

“PIM BSR” CLI show commands:

## ====
## IPv4
## ====

## Showing the PIM BSR router (IPv4)
Router# show ip pim bsr-router

## Showing PIM RP-to-group mappings (IPv4)
Router# show ip pim rp mapping


## ====
## IPv6
## ====

## Showing the PIMv6 BSR state, election and timers (IPv6)
Router# show ipv6 pim bsr election

## Showing the PIMv6 BSR candidate-RPs states (IPv6)
Router# show ipv6 pim bsr candidate-rp

## Showing PIMv6 RP-to-group mappings (IPv6)
Router# show ipv6 pim range-list

AutoRP

General information on “PIM AutoRP”:

“PIM AutoRP” CLI configuration commands:

## Enabling PIM AutoRP listener mode
Router(config)# ip pim autorp listener

## Configuring a PIM AutoRP candidate
Router(config)# ip pim send-rp-announce <if> scope <ttl> interval <sec>

## Configuring a PIM AutoRP mapping agent
Router(config)# ip pim send-rp-discovery <if> scope <ttl> interval <sec>

“PIM Static RP” CLI show commands:

## Showing PIM RP-to-group mappings (IPv4)
Router# show ip pim rp mapping

1.6.c iii Group to RP Mapping

General information on “Group to RP Mapping”:

“PIM Group to RP Mapping” CLI configuration commands:

## ====
## IPv4
## ====

## Configuring a group-to-RP mapping for a static RP (IPv4)
Router(config)# ip pim rp-address <ip> [ACL]

## Configuring a group-to-RP mapping for a BSR RP (IPv4)
Router(config)# ip pim rp-candidate <if> group-list [ACL]

## Configuring a group-to-RP mapping for an AutoRP (IPv4)
Router(config)# ip pim send-rp-announce <if> scope <ttl> group-list [ACL]


## ====
## IPv6
## ====

## Configuring a group-to-RP mapping for a static RP (IPv6)
Router(config)# ipv6 pim rp-address <ip> [ACL]

## Configuring a group-to-RP mapping for a BSR RP (IPv6)
Router(config)# ipv6 pim bsr candidate rp <ipv6-addr> group-list [ACL]

“PIM Group to RP Mapping” CLI show commands:

## ====
## IPv4
## ====

## Showing PIM RP-to-group mappings (IPv4)
Router# show ip pim rp mapping


## ====
## IPv6
## ====

## Showing PIMv6 RP-to-group mappings (IPv6)
Router# show ipv6 pim range-list

1.6.c iv Bidirectional PIM

General information on “Bidirectional PIM”:

// Graphic missing - Coming soon //

High availability for BiDir PIM using Phantom RPs:

Configuration steps for Phantom RPs:

  1. Create the same loopback interface on different routers with the same IP address but different subnet mask (eg. Starting with /30, then /29, …)
  2. Advertise the created loopback interfaces into the IGP
  3. Announce/set the RP address to an IP address in the range of the loopback interface but NOT the actual loopback IP address itself (eg. if the loopback is 10.0.0.1/30 then the Phantom RP is 10.0.0.2)

Important for Phantom RPs:

“Bidirectional PIM” CLI configuration commands:

## ====
## IPv4
## ====

## Enabling bidirectional PIM on every multicast router (IPv4)
Router(config)# ip pim bidir-enable

## Configuring a static RP with bidirectional PIM enabled (IPv4)
Router(config)# ip pim rp-address <ip> bidir

## Configuring a BSR RP with bidirectional PIM enabled (IPv4)
Router(config)# ip pim rp-candidate <if> bidir

## Configuring a AutoRP with bidirectional PIM enabled (IPv4)
Router(config)# ip pim send-rp-announce <if> scope <ttl> bidir


## ====
## IPv6
## ====

## Configuring a static RP with bidirectional PIMv6 enabled (IPv6)
Router(config)# ipv6 pim rp-address <ipv6-addr> bidir

## Configuring a BSR RP with bidirectional PIM enabled (IPv6)
Router(config)# ipv6 pim bsr candidate rp <ipv6-addr> bidir

1.6.c v Source-Specific Multicast

General information on “PIM Source-Specific Multicast”:

“PIM Source-Specific Multicast” CLI configuration commands:

## Enabling PIM SSM globally
Router(config)# ip pim ssm [default | range]

## Configuring IGMPv3 on a specific interface
Router(config)# interface <if>
Router(config-if)# ip igmp version 3

1.6.c vi Multicast boundary, RP announcement filter

Multicast boundary

General information on “Multicast boundary”:

Configuration considerations:

“PIM Multicast boundary” CLI configuration commands:

## ====
## IPv4
## ====

## Configuring PIM multicast boundary on an interface (IPv4)
Router(config)# interface <if>
Router(config-if)# ip multicast boundary [ACL] [in | out]


## ====
## IPv6
## ====

## Configuring PIMv6 multicast boundary with block source option on an interface (IPv6)
Router(config)# interface <if>
Router(config-if)# ipv6 multicast boundary block source

## Configuring PIMv6 multicast boundary with scope option on an interface (IPv6)
Router(config)# interface <if>
Router(config-if)# ipv6 multicast boundary scope <type>

RP announcement filter

General information on “RP announcement filter”:

“PIM RP announcement filter” CLI configuration commands:

## ====
## IPv4
## ====

## Configuring a PIM AutoRP announcement filter (IPv4)
Router(config)# ip pim rp-announce-filter rp-list [ACL] group-list [ACL]

## Configuring a PIM BSR RP announcement filter (IPv4)
Router(config)# ip pim bsr-candidate <if> <hash> <priority> accept-rp-candidate [ACL]


## ====
## IPv6
## ====

## Configuring a PIMv6 BSR RP announcement filter (IPv6)
Router(config)# ipv6 pim bsr candidate bsr <ipv6-addr> accept-rp-candidate [ACL]

BSR border (not on blueprint)

General information on “BSR border (not on blueprint)":

“PIM BSR border” CLI configuration commands:

## Configuring the PIM BSR border feature
Router(config-if)# [ip | ipv6] pim bsr border

1.6.c vii PIMv6 Anycast RP

General information on “PIMv6 Anycast RP”:

Configuration steps:

  1. Configure a loopback interface with the same IP address on multiple routers
  2. Configure Anycast RP Peerings
  3. Important: Own loopback must also be set as Anycast RP peer!

“PIMv6 Anycast RP” CLI configuration commands:

## Configuring PIMv6 Anycast RP peers
Router(config)# ipv6 pim anycast-rp <rp-address> <rp-peer-address>

“PIMv6 Anycast RP” CLI show commands:

## Showing PIMv6 Anycast RP peers
Router# show ipv6 pim anycast-rp

1.6.c viii IPv4 Anycast RP using MSDP

Multicast Source Discovery Protocol

General information on “IPv4 Anycast RP using MSDP”:

Configuration steps:

  1. Configure a loopback interface with the same IP address on multiple routers
  2. Advertise the loopback interfaces via the IGP
  3. Configure MSDP peerings
  4. Important: The MSDP peering address must be different to the Anycast RP address! The originator-id is comparable to the router-id of EIGRP/OSPF/BGP and should be unique (= not the RP address)!

“PIM IPv4 Anycast RP using MSDP” CLI configuration commands:

## Configuring the MSDP peers
Router(config)# ip msdp peer <ip> connect-source <if>

## Configuring the MSDP originator ID
Router(config)# ip msdp originator-id <if>

“PIM IPv4 Anycast RP using MSDP” CLI show commands:

## Showing MSDP peers
Router# show ip msdp peer

1.6.c ix Multicast multipath

General information on “Multicast multipath”:

“PIM Multicast multipath” CLI configuration commands:

## Configuring multicast multipath globally with hashing (IPv4)
Router(config)# ip multicast multipath s-g-hash next-hop-based

## Configuring multicast multipath globally (IPv6)
Router(config)# ipv6 multicast multipath