PIM (Protocol Independent Multicast) manages multicast traffic distribution across NX-OS networks, supporting VRF-aware deployments with configurable rendezvous points, anycast RP for redundancy, and SSM (Source-Specific Multicast) range definitions. It provides per-VRF control over RP address assignments, group ranges, bidirectional mode, and SSM group lists with prefix list and route map filtering for granular multicast policy enforcement. Dynamic RP discovery is supported through BSR (candidate BSR, candidate RP and filter policies) and Auto-RP (mapping agent, candidate RP and filter policies), and ASM settings cover pre-built SPTs, shared-tree-only group ranges, (S,G) expiry timers, register policies and the register source interface. Global settings include router isolation and the PIM syslog logging level. PIM interface-level configuration enables sparse mode, BFD integration, DR priority, passive mode, border designation, neighbor filtering, hello interval and hello authentication across loopback, VLAN, Ethernet, and port-channel interfaces, and Ethernet and port-channel subinterfaces.
Note
hello_authentication_ah_md5 takes the type-3 encrypted key, as shown by show running-config (for example ip pim hello-authentication ah-md5 3 a667d47acc18ea6b → hello_authentication_ah_md5: a667d47acc18ea6b). A cleartext key is not applied by the device. To get the encrypted value, configure the key once with ip pim hello-authentication ah-md5 <key> and read it back from the running configuration.
PIM (Protocol Independent Multicast) manages multicast traffic distribution across NX-OS networks, supporting VRF-aware deployments with configurable rendezvous points, anycast RP for redundancy, and SSM (Source-Specific Multicast) range definitions. It provides per-VRF control over RP address assignments, group ranges, bidirectional mode, and SSM group lists with prefix list and route map filtering for granular multicast policy enforcement. PIM interface-level configuration enables sparse mode, BFD integration, DR priority, passive mode, border designation, and neighbor filtering across loopback, VLAN, Ethernet, and port-channel interfaces.
Name Type Constraint Mandatory Default Value configuration Class configuration No
Name Type Constraint Mandatory Default Value configuration Class configuration No
Name Type Constraint Mandatory Default Value configuration Class configuration No
Name Type Constraint Mandatory Default Value configuration Class configuration No
Name Type Constraint Mandatory Default Value configuration Class configuration No
Name Type Constraint Mandatory Default Value routing Class routing No interfaces Class interfaces No
Name Type Constraint Mandatory Default Value subinterfaces List subinterfaces No pim Class pim No
Name Type Constraint Mandatory Default Value subinterfaces List subinterfaces No pim Class pim No
Name Type Constraint Mandatory Default Value pim Class pim No
Name Type Constraint Mandatory Default Value subinterfaces List subinterfaces No pim Class pim No
Name Type Constraint Mandatory Default Value pim Class pim No
Name Type Constraint Mandatory Default Value pim Class pim No
Name Type Constraint Mandatory Default Value pim Class pim No
Name Type Constraint Mandatory Default Value pim Class pim No
Name Type Constraint Mandatory Default Value pim Class pim No
Name Type Constraint Mandatory Default Value evpn_ border_ leaf Boolean true, falseNo extranet Boolean true, falseNo isolate Boolean true, falseNo logging_level Integer min: 0, max: 7 No bfd Boolean true, falseNo auto_enable Boolean true, falseNo flush_routes Boolean true, falseNo log_ neighbor_ changes Boolean true, falseNo mtu Integer min: 1500, max: 65536 No register_ rate_ limit Integer min: 0, max: 65535 No strict_ rfc_ compliant Boolean true, falseNo spt_ switch_ graceful Boolean true, falseNo pre_build_spt Boolean true, falseNo pre_ build_ spt_ force Boolean true, falseNo pre_ build_ spt_ route_ map String No pre_ build_ spt_ prefix_ list String No spt_ threshold_ infinity_ group_ list String No spt_ threshold_ infinity_ group_ list_ prefix_ list String No use_ shared_ tree_ only_ group_ list String No use_ shared_ tree_ only_ group_ list_ prefix_ list String No sg_expiry_timer Integer min: 180, max: 604801 No sg_ expiry_ timer_ sg_ list String No sg_ expiry_ timer_ prefix_ list String No register_policy String No register_ policy_ prefix_ list String No register_ source_ interface_ type Choice ethernet, loopback, mgmt, port-channel, vlan, vniNo register_ source_ interface_ id String No ssm Class ssm No rp_addresses List rp_addresses No anycast_rps List anycast_rps No bsr Class bsr No auto_rp Class auto_rp No vrfs List vrfs No
Name Type Constraint Mandatory Default Value evpn_ border_ leaf Boolean true, falseNo extranet Boolean true, falseNo bfd Boolean true, falseNo auto_enable Boolean true, falseNo flush_routes Boolean true, falseNo log_ neighbor_ changes Boolean true, falseNo mtu Integer min: 1500, max: 65536 No register_ rate_ limit Integer min: 0, max: 65535 No strict_ rfc_ compliant Boolean true, falseNo spt_ switch_ graceful Boolean true, falseNo ssm Class ssm No rps List rps No anycast_rps List anycast_rps No vrfs List vrfs No
Name Type Constraint Mandatory Default Value bfd_instance Boolean true, falseNo dr_priority Integer min: 1, max: 4294967295 No passive Boolean true, falseNo sparse_mode Boolean true, falseNo border Boolean true, falseNo dr_delay Integer min: 1, max: 65535 No jp_policy String No neighbor_policy String No neighbor_ policy_ prefix_ list String No strict_ rfc_ compliant Boolean true, falseNo hello_interval Integer min: 1, max: 18724286 No hello_ authentication_ ah_ md5 String No hello_ authentication_ keychain String No
Name Type Constraint Mandatory Default Value bfd_instance Boolean true, falseNo dr_priority Integer min: 1, max: 4294967295 No passive Boolean true, falseNo sparse_mode Boolean true, falseNo border Boolean true, falseNo dr_delay Integer min: 1, max: 65535 No jp_policy String No neighbor_policy String No neighbor_ policy_ prefix_ list String No strict_ rfc_ compliant Boolean true, falseNo
Name Type Constraint Mandatory Default Value range_1 IP No range_2 IP No range_3 IP No range_4 IP No prefix_list String No none Boolean true, falseNo route_map String No
Name Type Constraint Mandatory Default Value range_1 String No range_2 String No range_3 String No range_4 String No prefix_list String No none Boolean true, falseNo route_map String No
Name Type Constraint Mandatory Default Value address IP Yes group_list IP No bidir Boolean true, falseNo override Boolean true, falseNo route_map String No prefix_list String No
Name Type Constraint Mandatory Default Value address IP Yes set_address IP Yes
Name Type Constraint Mandatory Default Value listen Boolean true, falseNo forward Boolean true, falseNo bsr_ candidate_ interface_ type Choice ethernet, loopback, mgmt, port-channel, vlan, vniNo bsr_ candidate_ interface_ id String No bsr_ candidate_ hash_ len Integer min: 0, max: 65535 No bsr_ candidate_ priority Integer min: 1, max: 255 No bsr_ candidate_ interval Integer min: 1, max: 65535 No rp_ candidate_ interface_ type Choice ethernet, loopback, mgmt, port-channel, vlan, vniNo rp_ candidate_ interface_ id String No rp_ candidate_ group_ list IP No rp_ candidate_ route_ map String No rp_ candidate_ prefix_ list String No rp_ candidate_ priority Integer min: 0, max: 255 No rp_ candidate_ interval Integer min: 1, max: 65535 No rp_ candidate_ bidir Boolean true, falseNo bsr_policy String No rp_ candidate_ policy String No
Name Type Constraint Mandatory Default Value listen Boolean true, falseNo forward Boolean true, falseNo mapping_ agent_ interface_ type Choice ethernet, loopback, mgmt, port-channel, vlan, vniNo mapping_ agent_ interface_ id String No mapping_ agent_ scope Integer min: 1, max: 255 No rp_ candidate_ interface_ type Choice ethernet, loopback, mgmt, port-channel, vlan, vniNo rp_ candidate_ interface_ id String No rp_ candidate_ group_ list IP No rp_ candidate_ route_ map String No rp_ candidate_ prefix_ list String No rp_ candidate_ scope Integer min: 1, max: 255 No rp_ candidate_ interval Integer min: 1, max: 65535 No rp_ candidate_ bidir Boolean true, falseNo mapping_ agent_ policy String No rp_ candidate_ policy String No
Name Type Constraint Mandatory Default Value vrf String Yes bfd Boolean true, falseNo auto_enable Boolean true, falseNo flush_routes Boolean true, falseNo log_ neighbor_ changes Boolean true, falseNo mtu Integer min: 1500, max: 65536 No register_ rate_ limit Integer min: 0, max: 65535 No strict_ rfc_ compliant Boolean true, falseNo spt_ switch_ graceful Boolean true, falseNo pre_build_spt Boolean true, falseNo pre_ build_ spt_ force Boolean true, falseNo pre_ build_ spt_ route_ map String No pre_ build_ spt_ prefix_ list String No spt_ threshold_ infinity_ group_ list String No spt_ threshold_ infinity_ group_ list_ prefix_ list String No use_ shared_ tree_ only_ group_ list String No use_ shared_ tree_ only_ group_ list_ prefix_ list String No sg_expiry_timer Integer min: 180, max: 604801 No sg_ expiry_ timer_ sg_ list String No sg_ expiry_ timer_ prefix_ list String No register_policy String No register_ policy_ prefix_ list String No register_ source_ interface_ type Choice ethernet, loopback, mgmt, port-channel, vlan, vniNo register_ source_ interface_ id String No ssm Class ssm No rp_addresses List rp_addresses No anycast_rps List anycast_rps No bsr Class bsr No auto_rp Class auto_rp No
Name Type Constraint Mandatory Default Value vrf String Yes bfd Boolean true, falseNo auto_enable Boolean true, falseNo flush_routes Boolean true, falseNo log_ neighbor_ changes Boolean true, falseNo mtu Integer min: 1500, max: 65536 No register_ rate_ limit Integer min: 0, max: 65535 No strict_ rfc_ compliant Boolean true, falseNo spt_ switch_ graceful Boolean true, falseNo ssm Class ssm No rps List rps No anycast_rps List anycast_rps No
Name Type Constraint Mandatory Default Value address IP Yes group_list IP No bidir Boolean true, falseNo override Boolean true, falseNo
Example 1: Basic PIM sparse-mode with static RP for VXLAN fabric
Example 2: Spine with anycast RP set for redundant multicast rendezvous
Example 3: PIM with SSM, BFD, and multicast border configuration
log_neighbor_changes : true
Example 4: PIM router isolation for maintenance with reduced syslog verbosity
Example 5: BSR candidate RP with register source and hello authentication
register_source_interface_type : loopback
register_source_interface_id : " 0 "
register_policy : PIM-REGISTER
bsr_candidate_interface_type : loopback
bsr_candidate_interface_id : " 0 "
bsr_candidate_priority : 100
rp_candidate_interface_type : loopback
rp_candidate_interface_id : " 0 "
rp_candidate_group_list : 239.0.0.0/8
rp_candidate_priority : 10
bsr_policy : PIM-BSR-FILTER
hello_authentication_keychain : PIM-HELLO
hello_authentication_ah_md5 : a667d47acc18ea6b
Example 6: Auto-RP in a tenant VRF with ASM tuning
spt_threshold_infinity_group_list : PIM-SHARED-TREE
sg_expiry_timer_sg_list : PIM-SG-EXPIRY
mapping_agent_interface_type : loopback
mapping_agent_interface_id : " 10 "
rp_candidate_interface_type : loopback
rp_candidate_interface_id : " 10 "
rp_candidate_group_list : 238.0.0.0/8
Example 1: Basic PIM sparse-mode with static RP for VXLAN fabric
Example 2: Spine with anycast RP set for redundant multicast rendezvous
Example 3: PIM with SSM, BFD, and multicast border configuration
log_neighbor_changes : true