Per-VLAN PIM-SM configuration

These steps configure PIM-SM in the VLAN interface context for each VLAN configured on the router (switch(vlan-vid)#_ ).

Procedure
  1. Enable IGMP. (Use ip igmp.) Repeat this action on every router (and switch) having membership in the VLAN.
    NOTE:

    You can use either IGMPv2 or v3. Ensure that PIM and IGMP are enabled for the VLAN in the PIM designated router, even if no clients are connected.

  2. For both the global and VLAN levels on the routers where there are connected multicast receivers that may issue joins or send multicast traffic, use the same routing method as Step 4 of this procedure.
  3. Enable PIM-SM on the VLAN interfaces where you want to allow routed multicast traffic. (Default: disabled)
    1. If these VLANs do not already have static IP addresses, then statically configure one or more IP addresses on each VLAN you want to support PIM-SM operation. (PIM-SM cannot be enabled on a VLAN that does not have a statically configured IP address. That is, PIM-SM cannot use an IP address acquired by DHCP/Bootp.)

    2. Use ip pim-sparse to enter the VLAN's pim-sparse context and do one of the following:
      • Enable PIM-SM on the VLAN and allow the default option (any) to dynamically determine the source IP address for the PIM-SM packets sent from this VLAN interface.

      • Enable PIM-SM on the VLAN and allow the default option (any) to dynamically determine the source IP address for the PIM-SM packets sent from this VLAN interface.

      • Enable PIM-SM on the VLAN and specify an IP address for the PIM-SM packets sent from this VLAN interface. (The specified IP address must already be statically configured on the VLAN.)

      NOTE: This step requires enabling Router PIM on the global configuration context. See Configuring global context commands.
    3. Option: Change the current DR priority, in the PIM Sparse context, to a value for the current router in the current VLAN by using Command dr-priority [0-4294967295].(DR Priority default = 1)

    NOTE:

    When you initially enable PIM-SM, Hewlett Packard Enterprise recommends that you leave the PIM-SM traffic control settings at their default settings. You can then assess performance and make configuration changes when needed.

  4. Option: Change one or more of the traffic control settings for the pim-sparse of a given VLAN on which PIM-SM is enabled. (Note that some VLAN context control settings apply to both PIM-SM and PIM-DM).

    Features accessed in VLAN- vid -pim-sparse context

    Operation

    ip-addr

    Sets or resets the source IP address for PIM-SM packets sent out on the interface. Also enables PIM-SM on the interface. (Default: any)

    hello-interval

    Resets the interval between transmitted PIM Hello packets on the interface. (Default: 30 seconds)

    hello-delay1

    Resets the maximum delay for transmitting a triggered PIM Hello packet on the interface. (Default: 5 seconds)

    lan-prune-delay1

    Enables or disables the LAN prune delay feature on the interface. (Default: on)

    override-interval1

    Resets the override interval of the LAN prune delay configured on the interface. (Default: 2500 milliseconds)

    propagation-delay1

    Resets the delay interval for triggering LAN prune delay packets on the interface. (Default: 500 milliseconds)

    dr-priority

    Resets the priority of the interface in the Designated Router election process. (Default: 1)If you want one router on a given VLAN to have a higher priority for DR than other routers on the same VLAN, use the dr-priority command to reconfigure the DR priority setting as needed. Otherwise, the highest DR priority among multiple routers on the same VLAN interface is assigned to the router having the highest source IP address for PIM-SM packets on that interface.

    1

    Applies to both PIM-SM and PIM-DM operations.