Configuring PIM-SM


 Configuration Notes

  • Enable IP routing function before using this feature, for details please refer to Configuring IP Routing.
  • Currently, only one scope zone is supported, configuring multiple multicast scope zones is not supported.、
  • Only PIM-SM and PIM-SSM are supported, PIM-DM is not supported.

Procedure

  Step1         Configure Layer 3 interface. PIM-SM can be enabled on VLAN interface or routed interface.

  • Configure VLAN interface.

    a)      Configure VLAN ID.

    set vlans vlan-id <vlan-id>

    b)     Configure the interface to VLAN.

    set interface gigabit-ethernet <port> family ethernet-switching native-vlan-id <vlan-id>

    c)      Configure the IP address of the VLAN.

    set l3-interface vlan-interface <interface-name> address <address> prefix-length <number>

    d)     Associate a Layer 3 interface with a VLAN.

    set vlans vlan-id <vlan-id> l3-interface <interface-name>

  • Configure routed interface.

     a)      Enable routed interface.

    set interface gigabit-ethernet <interface-name> routed-interface enable <true | false>

    set interface gigabit-ethernet <interface-name> routed-interface name <string>

    b)     Configure reserved-vlan for the routed interface.   

    set vlans reserved-vlan <reserved-vlan>

    c)      (Optional) Create the sub-interface and add it into a VLAN.

    set interface aggregate-ethernet <interface-name> routed-interface sub-interface <sub-interface-name> vlan-id <vlan-id>

    d)      Configure the IP address of the routed interface.

    set l3-interface routed-interface <interface-name> address <ip-address> prefix-length <prefix-number>

Step2         Enable IP routing.

                  set ip routing enable <true | false>

Step3         Enable IGMP on the L3 interfaces of the PIM router connected to the receiver.

                  set protocols igmp interface <interface-name>

Step4         Enable PIM-SM on the L3 interfaces.

           set protocols pim interface <interface-name> sm

Step5        Configure RPs.

  • When both static RP and dynamic RP are configured, the static RP is given priority and selected as the RP.
  • When the PIM-SM Bootstrap Router mechanism is enabled to dynamically elect an RP, the PICOS switch can receive C-RP advertisement messages sent by other PIM switches. It can then calculate and compare these messages to elect the RP for a specific group from multiple C-RPs. However, the PICOS switch itself does not participate in the election as a BSR or dynamic RP.
  • Configure static RPs.

                   a)      Configure the IP address of a static RP.

                  set protocols pim rp <rp-address>

                   b)     Assign the group prefix address served by the static RP.

                 set protocols pim rp <rp-address> group <IPv4Net>

  • Enable dynamic RPs.

   a)      Enable the PIM interface to process bootstrap messages.

  set protocols pim interface <interface-name> bsm <enable | disable>

                   b)     Enable the PIM interface to process unicast bootstrap messages.

 set protocols pim interface <interface-name> unicast-bsm <enable | disable>

Step6       (Optional) Adjust the PIM protocol parameters in Hello message.

                set protocols pim interface <interface-name> drpriority <dr-priority>

                set protocols pim interface <interface-name> hello interval<interval>

Step7      (Optional) Configure SPT switchover function.

                 a)      Enable the SPT switchover function.

                set protocols pim spt-switchover

  b)      Configure the SPT Switchover filter list to filter updates to/from this neighbor.

                set protocols pim spt-switchover infinity-and-beyond prefix-list <text>

Step8      Commit the configurations.

                commit


  




Copyright © 2024 Pica8 Inc. All Rights Reserved.