clear ip mroute

Removes multicast routes from the IP multicast routing table .
Syntax
clear ip mroute [ vrf vrf-name ] [ ip-address { ip-mask | mask-bits } ]
Parameters
vrf vrf-name
Specifies a VRF.
ip-address
Specifies an IP address.
ip-mask
Specifies an IP subnet mask.
mask-bits
Specifies a subnet mask in bits.
Modes

Global configuration mode

Usage Guidelines

After multicast routes are cleared from an IP multicast routing table, the best static multicast routes are added back to the routing table.

When used without specifying a vrfvrf-name this command clears multicast routes from the multicast routing table.

Examples

The following example removes all mroutes from the IP multicast routing table:

Device# configure terminal
Device(config)# clear ip mroute

The following example removes all mroutes from the vrf green IP multicast routing table:

Device# configure terminal
Device(config)# clear ip mroute vrf green

The following example removes mroute 10.0.0.2/24 from the IP multicast routing table:

Device# configure terminal
Device(config)# clear ip mroute 10.0.0.2/24
History
Release version Command history

08.0.10a

This command was introduced.