Configuring PIM-SM
Configuration Notes
- Enable IP routing function before using this feature, for details please refer to Configuring IP Routing.
- Currently, only one scope zone is supported, configuring multiple multicast scope zones is not supported.、
- Only PIM-SM and PIM-SSM are supported, PIM-DM is not supported.
Procedure
Step1 Configure VLAN interface.
a) Configure VLAN ID.
set vlans vlan-id <vlan-id>
b) Assign VLAN to physical port.
set interface gigabit-ethernet <port> family ethernet-switching native-vlan-id <vlan-id>
c) Associate a Layer 3 interface with a VLAN.
set vlans vlan-id <vlan-id> l3-interface <interface-name>
d) Configure the IP address of the Layer 3 VLAN interface.
set vlan-interface interface <interface-name> vif <vif-name> address <address> prefix-length <number>
Step2 Enable IP routing.
set ip routing enable <true | false>
Step3 Enable the VLAN interfaces as multicast interface.
set multicast-interface interface <interface-name> vif <vif-name> disable <true | false>
Step4 Enable IGMP on the L3 VLAN interfaces of the PIM router connected to the receiver.
set protocols igmp interface <interface-name> vif <vif-name> disable <true | false>
Step5 Enable PIM-SM on the L3 VLAN interfaces.
set protocols pimsm4 interface <interface-name> vif <vif-name> disable <true | false>
Step6 Configure static RPs.
a) Configure the IP address of a static RP.
set protocols pimsm4 static-rps rp <rp-address>
b) Assign the group prefix address served by the static RP.
set protocols pimsm4 static-rps rp <rp-address> group-prefix <IPv4Net>
c) Configure parameters of static RP.
set protocols pimsm4 static-rps rp <rp-address> group-prefix <IPv4Net> rp-priority <rp-priority>
set protocols pimsm4 static-rps rp <rp-address> group-prefix <IPv4Net> hash-mask-len <hash-length>
Step7 Configure dynamic RP.
a) Enable bootstrap function.
set protocols pimsm4 bootstrap disable <true | false>
b) Configure C-BSR.
• Configure a range of multicast scope zone that can serve on the C-RP.
set protocols pimsm4 bootstrap cand-bsr scope-zone <IPv4Net>
• Configure a VLAN interface or loopback interface to use as the C-BSR.
set protocols pimsm4 bootstrap cand-bsr scope-zone <IPv4Net> cand-bsr-by-vif-name <vif-interface-name>
set protocols pimsm4 bootstrap cand-bsr scope-zone <IPv4Net> cand-bsr-by-vif-addr <IP-address>
c) Configure C-RP.
• Configure a range of multicast scope zone that can serve on the C-BSR.
set protocols pimsm4 bootstrap cand-rp group-prefix <IPv4Net>
• Configure a VLAN interface or loopback interface to use as the C-RP.
set protocols pimsm4 bootstrap cand-rp group-prefix <IPv4Net> cand-rp-by-vif-addr <IP-address>
set protocols pimsm4 bootstrap cand-rp group-prefix <IPv4Net> cand-rp-by-vif-name <vif-interface-name>
Step8 (Optional) Adjust the PIM protocol parameters in Hello message.
set protocols pimsm4 interface <interface-name> vif <vif-name> dr-priority <dr-priority>
set protocols pimsm4 interface <interface-name> vif <vif-name> hello-period <interval>
set protocols pimsm4 interface <interface-name> vif <vif-name> hello-triggered-delay < interval>
Step9 (Optional) Configure SPT switchover function.
a) Enable the SPT switchover function.
set protocols pimsm4 switch-to-spt-threshold disable <true | false>
b) Configure the SPT Switchover Condition.
set protocols pimsm4 switch-to-spt-threshold bytes <traffic-rate>
set protocols pimsm4 switch-to-spt-threshold interval <value>
Step10 (Optional) Configure the subnet of an indirect Source.
set protocols pimsm4 interface <interface-name> vif <vif-name> alternative-subnet <IPv4Net>
Copyright © 2025 Pica8 Inc. All Rights Reserved.