cisco — Configuring Sparse Mode with Auto-RP

Note • If a group has no known RP and the interface is configured to be sparse-dense mode, the interface is treated as if it were in dense mode, and data is flooded over the interface. To avoid this data flooding, configure the Auto-RP listener and then configure the interface as sparse mode. • When configuring Auto-RP, you must either configure the Auto-RP listener feature (Step 5) and specify sparse mode (Step 7). • When you configure sparse-dense mode, dense mode failover may result in a network dense-mode flood. To avoid this condition, use PIM sparse mode with the Auto-RP listener feature. Follow this procedure to configure auto-rendezvous point (Auto-RP).

Auto-RP can also be optionally used with anycast RP. Procedure Configuring Protocol Independent Multicast (PIM) Configuring Sparse Mode with Auto-RP Command or Action Purpose Step 1 enable Example: Device> enable Enables privileged EXEC mode. • Enter your password if prompted. Step 2 configure terminal Example: Device# configure terminal Enters global configuration mode. Step 3 ip multicast-routing Example: Device(config)# ip multicast-routing Enables IP multicast routing. Step 4 Either perform Steps 5 through 7 or perform Steps 6 and 8. -- Step 5 interface type number Example:

Device(config)# interface Gigabitethernet 1/0/0 Selects an interface that is connected to hosts on which PIM can be enabled. Step 6 ip pim sparse-mode Example: Device(config-if)# ip pim sparse-mode Enables PIM sparse mode on an interface. When configuring Auto-RP in sparse mode, you must also configure the Auto-RP listener in the next step. • Skip this step if you are configuring sparse-dense mode in Step 8. Configuring Protocol Independent Multicast (PIM) 39