Programmable Internetworking & Communication Operating System Docs ... Click Spaces -> Space Directory to see docs for all releases ...
Page tree
Skip to end of metadata
Go to start of metadata




Networking Requirements

PIM-SM is widely used on large-scale networks with sparsely distributed group members. The key mechanisms of PIM-SM include neighbor discovery, DR election, RP discovery, RPT tree building, multicast source registration, SPT switchover and assertion.

The PIM Source-Specific Multicast (PIM-SSM) model provides a solution for source-specific multicast. It maintains the relationship between the host and the router through IGMPv3 and uses part of the PIM-SM mode technology in practical deployment of the PIM-SSM model.

Since the receiver has already known the location of the multicast source in PIM-SSM mode, there is no need for an RP in the SSM model, no need to build an RPT tree, and the multicast source registration process is not required. The PIM-SSM model uses three working mechanisms: PM-SM neighbor discovery, DR election and SPT tree building to implement multicast forwarding tasks in the PIM domain.

In the following topology, a multicast Source sends the multicast traffic to the Receiver through Switch A, Switch B and Switch C.

  • Configure ge-1/1/2 as an IGMPv3 interface on Switch A which connects to the Receiver.
  • In this example, the static route in the RIB will be used by PIM-SSM. 
  • Enable IGMPv3 on the L3 VLAN interfaces of the PIM router connected to the receiver.
  • No need for RP configurations in PIM-SSM.

Figure 1. PIM-SSM Multicast Routing Configuration

Procedure

Switch A

Step1        Configure VLAN.

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

Step2        Enable IP routing.

admin@Xorplus# set ip routing enable true

Step3       Enable the VLAN interfaces as multicast interface.

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

Step4       Enable IGMPv3 on the L3 VLAN interfaces of the PIM router connected to the receiver.

admin@XorPlus# set protocols igmp interface vlan-3 vif vlan-3 version 3

Step5       Enable PIM-SM on the L3 VLAN interfaces.

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# set protocols pimsm4 interface loopback vif loopback disable false

Step6       Configure static routes to other switches.

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

Step7       Commit the configuration.

admin@Xorplus# commit

Step8       Verify the configuration.

  • Run run show pim interface command to show information about all interfaces on which PIM-SM is enabled.
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
  • Run run show igmp interface command to show IGMP interface information.
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 

Switch B

Step1      Configure VLAN.

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

Step2        Enable IP routing.

admin@Xorplus# set ip routing enable true

Step3       Enable the VLAN interfaces as multicast interface.

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

Step4       Enable PIM-SM on the L3 VLAN interfaces.

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

Step5      Configure static routes to other switches.

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

Step6      Commit the configuration.

admin@Xorplus# commit

Step7      Verify the configuration.

  • Run run show pim interface command to show information about all interfaces on which PIM-SM is enabled.
admin@XorPlus# run show pim interface
Interface State Mode V PIMstate Priority DRaddr Neighbors
---------- -------- ------ - -------- -------- --------------- ---------
vlan-2 UP Sparse 2 DR 1 10.10.1.2 0
vlan-3 UP Sparse 2 DR 1 10.10.2.2 0
register_vif UP Sparse 2 DR 1 10.10.1.1 0
  • Run run show igmp interface command to show IGMP interface information.
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 

Switch C

Step1      Configure VLAN.

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

Step2        Enable IP routing.

admin@Xorplus# set ip routing enable true

Step3       Enable the VLAN interfaces as multicast interface.

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

Step4       Enable PIM-SM on the L3 VLAN interfaces.

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# set protocols pimsm4 interface loopback vif loopback disable false

Step5      Configure static routes to other switches.

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

Step6      Commit the configuration.

admin@Xorplus# commit

Step7      Verify the configuration.

  • Run run show pim interface command to show information about all interfaces on which PIM-SM is enabled.
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
  • No labels