ip mroute

Configures a directly connected static IPv4 multicast route.
Syntax
ip mroute [ vrf vrf-name ] ip-address ip-address mask { ethernet stackid / slot / portnum | ve num | tunnel num } [cost ] [ distance distance-value ] [ name name ]
no ip mroute [ vrf vrf-name ] ip-address ip-address mask { ethernet stackid / slot / portnum| ve num | tunnel num } [cost ] [ distance distance-value ] [ name name ]
Command Default

No 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.
ethernet stackid / slot /portnum
Configures an Ethernet interface as the route path.
ve num
Configures a virtual interface as the route path.
tunnel num
Configures a tunnel interface 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-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 directly connected static multicast route.

Connected routes on PIM enabled interfaces are automatically added to the mRTM table.

Examples

The following example configures a directly connected mroute to network 10.1.1.0/24 on interface ve 10.

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