Configuring PIM snooping


[IMPORTANT: ]

IMPORTANT:

  • Do not configure PIM snooping in secondary VLANs because PIM snooping does not take effect on secondary VLANs. For more information about secondary VLANs, see Layer 2—LAN Switching Configuration Guide.

  • Make sure the maximum size of a PIM join or prune message is smaller than the path MTU of devices connected to PIM snooping devices. Otherwise, fragmented PIM join or prune messages prevent PIM snooping from correctly forwarding multicast data. For more information about setting the maximum size of a join or prune message, see "Configuring PIM."


To configure PIM snooping for a VLAN, you must enable the IGMP snooping feature on the Layer 2 device, and then enable IGMP snooping and PIM snooping for the VLAN.

After you enable PIM snooping for a VLAN, PIM snooping works only on the member interfaces of the VLAN.

To configure PIM snooping:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enable the IGMP snooping feature and enter IGMP-snooping view.

igmp-snooping

By default, the IGMP snooping feature is disabled.

3. Return to system view.

quit

N/A

4. Enter VLAN view.

vlan vlan-id

N/A

5. Enable IGMP snooping for the VLAN.

igmp-snooping enable

By default, IGMP snooping is disabled in a VLAN.

6. Enable PIM snooping for the VLAN.

pim-snooping enable

By default, PIM snooping is disabled in a VLAN.

7. (Optional.) Set the aging time for global neighbor ports on the new master device after a master/subordinate switchover.

pim-snooping graceful-restart neighbor-aging-time seconds

The default setting is 105 seconds.

A global neighbor port is a Layer 2 aggregate interface that acts as a neighbor port.

8. (Optional.) Set the aging time for global downstream ports and global router ports on the master device after a master/subordinate switchover.

pim-snooping graceful-restart join-aging-time seconds

The default setting is 210 seconds.

A global downstream port or a global router port is a Layer 2 aggregate interface that acts as a downstream port or router port.