/
PIM-SM Configuration

PIM-SM Configuration


In L2/L3, PIM-SM is supported. 

PIM-SM Basic Configuration

Before configuring a PIM-SM interface, you should enable a multicast interface. You can then configure a candidate-RP and a candidate-BSR. For configuring the candidate-BSR, "scope-zone" denotes the zone of the multicast group, which is included in the multicast domain.

XorPlus# set vlans vlan-id 2 l3-interface vlan-2
XorPlus# set vlans vlan-id 3 l3-interface vlan-3
XorPlus# set interface gigabit-ethernet ge-1/1/1 family ethernet-switching native-vlan-id 2
XorPlus# set interface gigabit-ethernet ge-1/1/2 family ethernet-switching native-vlan-id 3
XorPlus# set vlan-interface interface vlan-2 vif vlan-2 address 10.10.60.10 prefix-length 24
XorPlus# set vlan-interface interface vlan-3 vif vlan-3 address 10.10.61.10 prefix-length 24
XorPlus# commit
Waiting for merging configuration.
Commit OK.
Save done.
XorPlus# set multicast-interface interface vlan-2 vif vlan-2 disable false
XorPlus# set multicast-interface interface vlan-3 vif vlan-3 disable false
XorPlus# commit
Waiting for merging configuration.
Commit OK.
Save done.
XorPlus# set protocols igmp interface vlan-3 vif vlan-3
XorPlus# commit
Waiting for merging configuration.
Commit OK.
Save done.
XorPlus# set protocols pimsm4 interface vlan-2 vif vlan-2 disable false
XorPlus# set protocols pimsm4 interface vlan-3 vif vlan-3 disable false
XorPlus# commit
Waiting for merging configuration.
Commit OK.
Save done.
XorPlus# set protocols pimsm4 bootstrap cand-bsr scope-zone 224.0.0.0/4 cand-bsr-by-vif-name vlan-3
XorPlus# set protocols pimsm4 bootstrap cand-rp group-prefix 237.0.0.0/8 cand-rp-by-vif-name vlan-2
XorPlus# set protocols pimsm4 bootstrap cand-rp group-prefix 231.0.0.0/8 cand-rp-by-vif-name vlan-3
XorPlus# commit
Waiting for merging configuration.
Commit OK.
Save done.
XorPlus# 


Static RP Configuration

You can also configure static RP instead of BSR or dynamic RP.

XorPlus# set protocols pimsm4 static-rps rp 10.10.60.10 group-prefix 238.0.0.0/8 rp-priority 10
XorPlus# commit
Waiting for merging configuration.
Commit OK.
Save done.
XorPlus# 

Copyright © 2025 Pica8 Inc. All Rights Reserved.