Administrator Guide

Layer 3 Routing Commands 1660
Syntax
ip mroute
source-address mask rpf-address preference
no ip mroute
source-address mask
source-address
— The IP address of the multicast data source.
mask
— The IP subnet mask of the multicast data source.
rpf-address
— The IP address of the next hop towards the source.
preference
The cost of the route (Range: 1 - 255).
Default Configuration
There is no default configuration for this command.
Command Mode
Global Configuration mode
User Guidelines
There are no user guidelines for this command.
Example
console(config)#
console(config)#ip mroute 1.1.1.1 255.255.0.0 192.168.20.1 34
ip multicast-routing
Use the ip multicast-routing command in Global Configuration mode to set
the administrative mode of the IP multicast forwarder in the router to active.
It enables both IPv4 and IPv6 multicast routing. For multicast routing to
become operational, IGMP must be currently enabled. An error message is
displayed on the CLI if multicast routing is enabled while IGMP is disabled.
However, the IP multicast mode configuration is stored in the multicast
configuration file and is automatically enabled once IGMP is enabled. This
command is not affected by enabling/disabling PIM or DVMRP.
Syntax
ip multicast-routing
no ip multicast-routing
2CSNXXX_SWUM204.book Page 1660 Monday, January 25, 2016 1:25 PM