Chapter 7 Firewall for FortiOS 5.0 : Multicast forwarding : Multicast routing examples : Example PIM configuration that uses BSR to find the RP : Example debug commands
  
Example debug commands
You can use the following CLI commands to view information about and status of the multicast configuration. This section includes get and diagnose commands and some sample output.
get router info multicast pim sparse-mode table 236.1.1.1
get router info multicast pim sparse-mode neighbor
  Neighbor        Interface        Uptime/Expires    Ver   DR
Address                                                  Priority/Mode
83.97.1.2        port6           02:22:01/00:01:44 v2    1 / DR
diagnose ip multicast mroute
  grp=236.1.1.1 src=19.2.1.1 intf=7 flags=(0x10000000)[ ] status=resolved
        last_assert=171963 bytes=1766104 pkt=1718 wrong_if=1 num_ifs=2
        index(ttl)=[6(1),10(1),]
grp=236.1.1.1 src=1.4.50.4 intf=10 flags=(0x10000000)[ ] status=resolved
        last_assert=834864 bytes=4416 pkt=138 wrong_if=0 num_ifs=2
        index(ttl)=[7(1),6(1),]
grp=238.1.1.1 src=1.4.50.4 intf=10 flags=(0x10000000)[ ] status=resolved
        last_assert=834864 bytes=1765076 pkt=1717 wrong_if=0 num_ifs=1
        index(ttl)=[7(1),]
get router info multicast igmp groups
  IGMP Connected Group Membership
Group Address    Interface            Uptime Expires Last Reporter
236.1.1.1        lan                  00:45:48 00:03:21 10.4.1.1
236.1.1.1        lo0                  02:19:31 00:03:23 1.4.50.4
get router info multicast pim sparse-mode interface
  Address          Interface VIFindex Ver/ Nbr DR DR
                                    Mode   Count Prior
10.4.1.2         lan       2        v2/S   0      1     10.4.1.2
83.97.1.1        port6     0        v2/S   1      1     83.97.1.2
1.4.50.4         lo0       3        v2/S   0      1     1.4.50.4
get router info multicast pim sparse-mode rp-mapping
  PIM Group-to-RP Mappings
This system is the Bootstrap Router (v2)
Group(s): 224.0.0.0/4
  RP: 1.4.50.4
    Info source: 1.4.50.4, via bootstrap, priority 1
         Uptime: 02:20:32, expires: 00:01:58
  RP: 1.4.50.3
    Info source: 1.4.50.3, via bootstrap, priority 255
         Uptime: 02:20:07, expires: 00:02:24
Group(s): 228.1.1.1/32
  RP: 1.4.50.1
    Info source: 1.4.50.1, via bootstrap, priority 192
       Uptime: 02:18:24, expires: 00:02:06
Group(s): 237.1.1.1/32
  RP: 1.4.50.1
    Info source: 1.4.50.1, via bootstrap, priority 192
       Uptime: 02:18:24, expires: 00:02:06
Group(s): 238.1.1.1/32
  RP: 1.4.50.1
    Info source: 1.4.50.1, via bootstrap, priority 192
       Uptime: 02:18:24, expires: 00:02:06
get router info multicast pim sparse-mode bsr-info
  PIMv2 Bootstrap information
This system is the Bootstrap Router (BSR)
  BSR address: 1.4.50.4
  Uptime: 02:23:08, BSR Priority: 1, Hash mask length: 10
  Next bootstrap message in 00:00:18
  Role: Candidate BSR
  State: Elected BSR

  Candidate RP: 1.4.50.4(lo0)
    Advertisement interval 60 seconds
    Next Cand_
RP_advertisement in 00:00:54