Skip to content

PIM

PIM (Protocol Independent Multicast) is a family of multicast routing protocols that enables efficient delivery of multicast traffic by building distribution trees independent of the underlying unicast routing protocol, supporting various operational modes including Dense Mode, Sparse Mode, and Source-Specific Multicast (SSM). It uses Rendezvous Points (RPs) in Sparse Mode to establish shared trees and supports features like Auto-RP and Bootstrap Router (BSR) for dynamic RP discovery and election. PIM provides scalable multicast forwarding for applications such as video streaming, software distribution, and real-time communications while optimizing bandwidth utilization through intelligent tree pruning and grafting mechanisms.

Diagram

Diagram

Classes

configuration (iosxe.devices)

NameTypeConstraintMandatoryDefault Value
pimClass[pim]No

pim (iosxe.devices.configuration)

NameTypeConstraintMandatoryDefault Value
autorpBooleantrue, falseNo
autorp_listenerBooleantrue, falseNo
bsr_candidate_interface_typeChoiceLoopbackNo
bsr_candidate_interface_idStringNo
bsr_candidate_maskIntegermin: 0, max: 32No
bsr_candidate_priorityIntegermin: 0, max: 255No
bsr_candidate_accept_rp_candidateStringNo
ssm_rangeStringNo
ssm_defaultBooleantrue, falseNo
rp_addressStringNo
rp_address_overrideBooleantrue, falseNo
rp_address_bidirBooleantrue, falseNo
rp_addressesList[rp_addresses]No
rp_candidatesList[rp_candidates]No
vrfsList[vrfs]No

rp_addresses (iosxe.devices.configuration.pim)

NameTypeConstraintMandatoryDefault Value
access_listStringYes
rp_addressIPNo
overrideBooleantrue, falseNo
bidirBooleantrue, falseNo

rp_candidates (iosxe.devices.configuration.pim)

NameTypeConstraintMandatoryDefault Value
interfaceStringYes
group_listStringNo
intervalIntegermin: 1, max: 16383No
priorityIntegermin: 0, max: 255No
bidirBooleantrue, falseNo

vrfs (iosxe.devices.configuration.pim)

NameTypeConstraintMandatoryDefault Value
vrfStringYes
autorpBooleantrue, falseNo
autorp_listenerBooleantrue, falseNo
bsr_candidate_interface_typeChoiceLoopbackNo
bsr_candidate_interface_idStringNo
bsr_candidate_maskIntegermin: 0, max: 32No
bsr_candidate_priorityIntegermin: 0, max: 255No
bsr_candidate_accept_rp_candidateStringNo
cache_rpf_oifBooleantrue, falseNo
ssm_rangeStringNo
ssm_defaultBooleantrue, falseNo
rp_addressStringNo
rp_address_overrideBooleantrue, falseNo
rp_address_bidirBooleantrue, falseNo
rp_addressesList[rp_addresses]No
rp_candidatesList[rp_candidates]No

Examples

iosxe:
devices:
- name: Device1
configuration:
pim:
autorp: true
autorp_listener: true
bsr_candidate_interface_type: Loopback
bsr_candidate_interface_id: "0"
bsr_candidate_mask: 30
bsr_candidate_priority: 100
bsr_candidate_accept_rp_candidate: ACCEPT-RP-ACL
ssm_range: 232.0.0.0/8
ssm_default: false
rp_address: 192.168.1.100
rp_address_override: true
rp_address_bidir: false
rp_addresses:
- access_list: MULTICAST-GROUPS
rp_address: 10.1.1.1
override: false
bidir: false
- access_list: BIDIR-GROUPS
rp_address: 10.2.2.2
override: true
bidir: true
rp_candidates:
- interface: Loopback0
group_list: 224.0.0.0
interval: 60
priority: 100
bidir: false
vrfs:
- vrf: MULTICAST-VRF
autorp: true
ssm_range: 232.0.0.0/8
rp_address: 172.16.1.1
rp_addresses:
- access_list: VRF-GROUPS
rp_address: 172.16.2.2