ip mroute (Next Hop)

Configures a static IPv4 multicast route (mroute) with a next hop..
Syntax
ip mroute [ vrf vrf-name ] ip-address ip-address mask next-hop address [ cost ] [ distance distance-value ] [ name name ]
no ip mroute [ vrf vrf-name ] ip-address ip-address mask next-hop address [ cost ] [ distance distance-value ] [ name name ]
Command Default

No next-hop static IPv4 multicast route is configured.

Parameters
vrf vrf-name
Configures a static mroute for this virtual routing and forwarding (VRF) route.
ip-address ip-address mask
Configures the destination IPv4 address and prefix for which the route should be added.
next-hop address
Configures a next-hop address as the route path.
cost
Configures a metric for comparing the route to other static routes in the static route table that have the same destination. The range is 1-16; the default is 1.
distance distance-value
Configures the route's administrative distance. The range is 1 through 255; the default is 1.
name name
Name for this static route.
Modes

VRF configuration mode

Usage Guidelines

The no form of this command deletes a previously configured next-hop static IPv4 multicast route.

Examples

The following example configures a next-hop static multicast IPv4 route to network 10.1.1.0/24 with next hop 10.2.1.1.

Device(config-vrf)# ip mroute 10.1.1.0 255.255.255.0 10.2.1.1
History
Release version Command history
08.0.10a This command was introduced.