Skip Navigation Links
Exit Print View
| Sun Ethernet Fabric Operating System ### PIM Administration Guide

Search Scope:

- This Document
- Entire Library

## Display PIM Multicast Information

You can view the component ID, the multicast group address used by the listed RP, the network address for the source of the multicast routing information, and a summary of the mroute information.

1. Enable PIM globally.

       SEFOS# configure terminal
       SEFOS(config)# set ip pim enable

2. Enter Interface Configuration mode for the interface.

       SEFOS(config)# interface vlan 5

3. Associate the VLAN interface with the PIM component.

       SEFOS(config-if)# ip pim componentId 1

4. Specify how often (in seconds) the switch sends PIM messages to the interface.

       SEFOS(config-if)# ip pim query-interval 60
       SEFOS(config-if)# exit
       SEFOS(config)#

5. Set the RP by either selecting the RP with BSR, or by enabling a static RP.
   - To enable RP using BSR:
     1. Configure the BSR.

            SEFOS(config)# interface vlan 5
            SEFOS(config-if)# ip pim bsr-candidate 30
            SEFOS(config-if)# exit

     2. Configure the rp-candidate.

            SEFOS(config)# ip pim component 1
            SEFOS(pim-comp)# rp-candidate holdtime 30
            SEFOS(pim-comp)# rp-candidate rp-address 224.1.0.0 255.255.0.0     10.1.0.1
            SEFOS(pim-comp)# exit

   - Alternatively, to enable static RP, use these steps:
     1. Enable static-rp.

            SEFOS(config)# interface vlan 5
            SEFOS(config)# set ip pim static-rp enable
            SEFOS(config)# ip pim component 1

     2. Configure the PIM component and the RP information.

            SEFOS(config)# ip pim component 1
            SEFOS(pim-comp)# rp-static rp-address 224.1.0.0 255.255.0.0 10.1.0.1
            SEFOS(pim-comp)# exit

6. Enable IGMP.

       SEFOS(config)# set ip igmp enable
       SEFOS(config)# interface vlan 5
       SEFOS(config-if)# set ip igmp enable
       SEFOS(config-if)# end

   Send the IGMP v2 report with a source IP of `10.1.0.10`.

7. View the mroute table.

       SEFOS# show ip pim mroute

       IP Multicast Routing Table
       --------------------------
       Route Flags S: SPT Bit W: Wild Card Bit R: RPT Bit
       Timers: Uptime/Expires
       Interface State: Interface, State/Mode

       PIM Multicast Routing Table For Component 1
       (*, 224.1.0.0) ,00:03:53/--- ,RP : 10.1.0.1
         Incoming Interface : Vlan5 ,RPF nbr : NULL ,Route Flags : WR
         Outgoing InterfaceList :
           Vlan5, Forwarding/Sparse ,00:03:53/---

   Alternatively, you can view the mroute table for specific component.

       SEFOS# show ip pim mroute 1 summary

       IP Multicast Routing Table
       --------------------------
       Route Flags S: SPT Bit W: Wild Card Bit R: RPT Bit
       Timers: Uptime/Expires
       Interface State: Interface, State/Mode

       PIM Multicast Routing Table For Component 1
       (*, 224.1.0.0) ,00:03:53/--- ,RP : 10.1.0.1
         Incoming Interface : Vlan5 ,RPF nbr : NULL ,Route Flags : WR
         Outgoing InterfaceList :
           Vlan5, Forwarding/Sparse ,00:03:53/---

   Or, you can also view the mroute table for a specific group.

       SEFOS# show ip pim mroute 224.1.0.0 summary

       IP Multicast Routing Table
       --------------------------
       Route Flags S: SPT Bit W: Wild Card Bit R: RPT Bit
       Timers: Uptime/Expires
       PIM Multicast Routing Table For Component 1
       (*, 224.1.0.0) ,00:11:44/--- ,RP : 10.1.0.1
        ,Route Flags : WR

8. Send the multicast data on `VLAN 2` to populate the (S,G) entry.

Copyright © 2010, 2012, Oracle and/or its affiliates. All rights reserved. Legal Notices |