Configuring IP Multicast Routing
Configuring IP Multicast Routing
DETAILED STEPS
Command
1.
configure terminal
2.
ip multicast-routing distributed
3.
interface interface-id
4.
no shutdown
5.
ip pim version [1 | 2]
6.
ip pim {dense-mode |
sparse-mode |
sparse-dense-mode}
7.
end
8.
show running-config
9.
copy running-config
startup-config
To disable multicasting, use the no ip multicast-routing distributed global configuration command. To return to the
default PIM version, use the no ip pim version interface configuration command. To disable PIM on an interface, use the
no ip pim interface configuration command.
Purpose
Enter global configuration mode.
Enable IP multicast distributed switching.
Specify the Layer 3 interface on which you want to enable
multicast routing, and enter interface configuration mode.
The specified interface must be one of the following:
A routed port: a physical port that has been configured as a
Layer 3 port by entering the no switchport interface
configuration command.
An SVI: a VLAN interface created by using the interface
vlan vlan-id global configuration command.
Enable the port, if necessary. By default, user network interfaces
(UNIs) and enhanced network interfaces (ENIs) are disabled,
and network node interfaces (NNIs) are enabled.
Configure the PIM version on the interface.
By default, Version 2 is enabled and is the recommended
setting.
An interface in PIMv2 mode automatically downgrades to PIMv1
mode if that interface has a PIMv1 neighbor. The interface
returns to Version 2 mode after all Version 1 neighbors are shut
down or upgraded.
For more information, see
page
686.
Enable a PIM mode on the interface.
By default, no mode is configured.
The keywords have these meanings:
dense-mode—Enables dense mode of operation.
sparse-mode—Enables sparse mode of operation. If you
configure sparse-mode, you must also configure an RP. For
more information, see
page
697.
sparse-dense-mode—Causes the interface to be treated in
the mode in which the group belongs. Sparse-dense-mode
is the recommended setting.
Return to privileged EXEC mode.
Verify your entries.
(Optional) Save your entries in the configuration file.
690
PIMv1 and PIMv2 Interoperability,
Configuring a Rendezvous Point,