PurposeCommand or Action
Example:
Device> enable
•
Enter your password if prompted.
Enters global configuration mode.configure terminal
Example:
Device# configure terminal
Step 2
Enables IP multicast routing.ip multicast-routing [distributed]
Step 3
Example:
Device(config)# ip multicast-routing
•
Use the distributed keyword to enabled Multicast Distributed
Switching.
--Either perform Steps 5 through 7 or perform
Steps 6 and 8.
Step 4
Causes IP multicast traffic for the two Auto-RP groups 224.0.1.39 and
224.0.1.40 to be PIM dense mode flooded across interfaces operating in
PIM sparse mode.
ip pim autorp listener
Example:
Device(config)# ip pim autorp listener
Step 5
•
Skip this step if you are configuring sparse-dense mode in Step 8.
Selects an interface that is connected to hosts on which PIM can be
enabled.
interface type number
Example:
Device(config)# interface
Gigabitethernet 1/0/0
Step 6
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.
ip pim sparse-mode
Example:
Device(config-if)# ip pim sparse-mode
Step 7
•
Skip this step if you are configuring sparse-dense mode in Step 8.
Enables PIM sparse-dense mode on an interface.ip pim sparse-dense-mode
Step 8
Example:
Device(config-if)# ip pim
sparse-dense-mode
•
Skip this step if you configured sparse mode in Step 7.
Exits interface configuration mode and returns to global configuration
mode.
exit
Example:
Device(config-if)# exit
Step 9
IP Multicast Routing Configuration Guide, Cisco IOS XE Release 3.6E (Catalyst 3850 Switches)
164 OL-32598-01
Configuring PIM
Configuring Sparse Mode with Auto-RP(CLI)