Example PIM configuration that uses BSR to find the RP
This example shows how to configure a multicast routing network for a network consisting of four FortiGate-500A units (FortiGate-500A_1 to FortiGate-550A_4). A multicast sender is connected to FortiGate-500A_2. FortiGate-500A_2 forwards multicast packets in two directions to reach Receiver 1 and Receiver 2.
The configuration uses a Boot Start Router (BSR) to find the Rendezvous Points (RPs) instead of using static RPs. Under interface configuration, the loopback interface lo0 must join the 236.1.1.1 group (source). This example describes:
- Commands used in this example
- Configuration steps
- Example debug commands
PIM network topology using BSR to find the RP
Commands used in this example
This example uses CLI commands for the following configuration settings:
- Adding a loopback interface (lo0)
- Defining the multicast routing
- Adding the NAT multicast policy
Adding a loopback interface (lo0)
Where required, the following command is used to define a loopback interface named lo0.
config system interface edit lo0
set vdom root
set ip 1.4.50.4 255.255.255.255
set allowaccess ping https ssh snmp http telnet set type loopback
next end
Defining the multicast routing
In this example, the following command syntax is used to define multicast routing.
The example uses a Boot Start Router (BSR) to find the Rendezvous Points (RPs) instead of using static RPs. Under interface configuration, the loopback interface lo0 must join the 236.1.1.1 group (source).
config router multicast config interface
edit port6
set pim-mode sparse-mode next
edit port1
set pim-mode sparse-mode next
edit lo0
set pim-mode sparse-mode set rp-candidate enable
config join-group edit 236.1.1.1 next
end
set rp-candidate-priority 1 next
end
set multicast-routing enable config pim-sm-global
set bsr-allow-quick-refresh enable set bsr-candidate enable
set bsr-interface lo0 set bsr-priority 200
end end