/
PIM-SSM Configuration Example
PIM-SSM Configuration Example
In the following topology, Host B is a multicast source that will send the multicast traffic.
You'll need to configure ge-1/1/2 as an IGMP interface in Switch A for Host A.
In this example, the static route in the RIB will be used by PIM-SSM.
Figure 8-1. PIM-SSM multicast routing configuration.
Configuring Switch A
For Switch A, configure ge-1/1/2 as an IGMP interface, and ge-1/1/1 as a PIM-SM interface.
admin@XorPlus# set vlans vlan-id 2 l3-interface vlan-2 admin@XorPlus# set vlans vlan-id 3 l3-interface vlan-3 admin@XorPlus# set interface gigabit-ethernet ge-1/1/1 family ethernet-switching native-vlan-id 2 admin@XorPlus# set interface gigabit-ethernet ge-1/1/2 family ethernet-switching native-vlan-id 3 admin@XorPlus# set vlan-interface interface vlan-2 vif vlan-2 address 10.10.1.1 prefix-length 24 admin@XorPlus# set vlan-interface interface vlan-3 vif vlan-3 address 10.10.3.1 prefix-length 24 admin@XorPlus# commit Waiting for merging configuration. Commit OK. Save done. admin@XorPlus# set multicast-interface interface vlan-2 vif vlan-2 disable false admin@XorPlus# set multicast-interface interface vlan-3 vif vlan-3 disable false admin@XorPlus# set protocols igmp interface vlan-3 vif vlan-3 admin@XorPlus# set protocols igmp interface vlan-3 vif vlan-3 version 3 admin@XorPlus# commit Waiting for merging configuration. Commit OK. Save done. admin@XorPlus# set protocols pimsm4 interface vlan-2 vif vlan-2 disable false admin@XorPlus# set protocols pimsm4 interface vlan-3 vif vlan-3 disable false admin@XorPlus# commit Waiting for merging configuration. Commit OK. Save done. admin@XorPlus#set protocols static route 10.10.2.0/24 next-hop 10.10.1.2 admin@XorPlus#set protocols static route 10.10.4.0/24 next-hop 10.10.1.2 admin@XorPlus# commit Waiting for merging configuration. Commit OK. Save done. admin@XorPlus# run show pim interface Interface State Mode V PIMstate Priority DRaddr Neighbors ---------- -------- ------ - -------- -------- --------------- --------- vlan-2 UP Sparse 2 DR 1 10.10.1.1 0 vlan-3 UP Sparse 2 DR 1 10.10.3.1 0 register_vif UP Sparse 2 DR 1 10.10.1.1 0 admin@XorPlus# admin@XorPlus# run show igmp interface Interface State Querier Timeout Version Groups ------------ -------- --------------- --------- --------- -------- vlan-2 DISABLED 10.10.1.1 None 2 0 vlan-3 UP 10.10.3.1 None 2 3
Configuring Switch B
Configure 2 PIM-SSM interfaces, ge-1/1/1 and ge-1/1/2.
admin@XorPlus# set vlans vlan-id 2 l3-interface vlan-2 admin@XorPlus# set vlans vlan-id 3 l3-interface vlan-3 admin@XorPlus# set interface gigabit-ethernet ge-1/1/1 family ethernet-switching native-vlan-id 2 admin@XorPlus# set interface gigabit-ethernet ge-1/1/2 family ethernet-switching native-vlan-id 3 admin@XorPlus# set vlan-interface interface vlan-2 vif vlan-2 address 10.10.1.2 prefix-length 24 admin@XorPlus# set vlan-interface interface vlan-3 vif vlan-3 address 10.10.2.2 prefix-length 24 admin@XorPlus# commit Waiting for merging configuration. Commit OK. Save done. admin@XorPlus# set multicast-interface interface vlan-2 vif vlan-2 disable false admin@XorPlus# set multicast-interface interface vlan-3 vif vlan-3 disable false admin@XorPlus# commit Waiting for merging configuration. Commit OK. Save done. admin@XorPlus# set protocols pimsm4 interface vlan-2vif vlan-2 disable false admin@XorPlus# set protocols pimsm4 interface vlan-3vif vlan-3 disable false admin@XorPlus# commit Waiting for merging configuration. Commit OK. Save done. admin@XorPlus#set protocols static route 10.10.3.0/24 next-hop 10.10.1.1 admin@XorPlus#set protocols static route 10.10.4.0/24 next-hop 10.10.2.1 admin@XorPlus# commit Waiting for merging configuration. Commit OK. Save done.
Configuring Switch C
Configure 2 PIM-SSM interfaces, ge-1/1/1 and ge-1/1/2.
admin@XorPlus# set vlans vlan-id 2 l3-interface vlan-2 admin@XorPlus# set vlans vlan-id 3 l3-interface vlan-3 admin@XorPlus# set interface gigabit-ethernet ge-1/1/1 family ethernet-switching native-vlan-id 2 admin@XorPlus# set interface gigabit-ethernet ge-1/1/2 family ethernet-switching native-vlan-id 3 admin@XorPlus# set vlan-interface interface vlan-2 vif vlan-2 address 10.10.2.1 prefix-length 24 admin@XorPlus# set vlan-interface interface vlan-3 vif vlan-3 address 10.10.4.1 prefix-length 24 admin@XorPlus# commit Waiting for merging configuration. Commit OK. Save done. admin@XorPlus# set multicast-interface interface vlan-2 vif vlan-2 disable false admin@XorPlus# set multicast-interface interface vlan-3 vif vlan-3 disable false admin@XorPlus# commit Waiting for merging configuration. Commit OK. Save done. admin@XorPlus# set protocols pimsm4 interface vlan-2 vif vlan-2 disable false admin@XorPlus# set protocols pimsm4 interface vlan-3 vif vlan-3 disable false admin@XorPlus# commit Waiting for merging configuration. Commit OK. Save done. admin@XorPlus# set protocols static route 10.10.1.0/24 next-hop 10.10.2.2 admin@XorPlus# set protocols static route 10.10.3.0/24 next-hop 10.10.2.2 admin@XorPlus# commit Waiting for merging configuration. Commit OK. Save done. admin@XorPlus# admin@XorPlus# run show pim interface Interface State Mode V PIMstate Priority DRaddr Neighbors ---------- -------- ------ - -------- -------- --------------- --------- vlan-2 UP Sparse 2 DR 1 10.10.2.1 0 vlan-3 UP Sparse 2 DR 1 10.10.4.1 0 register_vif UP Sparse 2 DR 1 10.10.2.1 0 admin@XorPlus#
Copyright © 2025 Pica8 Inc. All Rights Reserved.