ip multicast-routing
To enable IP multicast routing, use the ip multicast-routing command in global configuration mode. To disable IP multicast routing, use the no form of this command.
ip multicast-routing [vrf vrf-name]
no ip multicast-routing [vrf vrf-name]
Syntax Description
vrf vrf-name |
(Optional) Enables IP multicast routing for the Multicast VPN routing and forwarding (MVRF) instance specified for the vrf-name argument. |
Command Default
IP multicast routing is disabled.
Command Modes
Global configuration (config).
Command History
Release |
Modification |
---|---|
Cisco IOS XE Denali 16.3.2 |
This command was introduced. |
Usage Guidelines
When IP multicast routing is disabled, the Cisco IOS software does not forward any multicast packets.
Note |
For IP multicast, after enabling IP multicast routing, PIM must be configured on all interfaces. Disabling IP multicast routing does not remove PIM; PIM still must be explicitly removed from the interface configurations. |
Examples
The following example shows how to enable IP multicast routing:
Switch(config)# ip multicast-routing
The following example shows how to enable IP multicast routing on a specific VRF:
Switch(config)#
ip multicast-routing vrf vrf1
The following example shows how to disable IP multicast routing:
Switch(config)#
no ip multicast-routing
The following example shows how to enable MDS in Cisco IOS XE Release 3.3S a specific VRF:
Switch(config)#
ip multicast-routing vrf vrf1