clear ip pim route

To clear routes specific to Protocol Independent Multicast (PIM) for IPv4, use the clear ip pim route command.

clear ip pim route { * | group [ source ] | group-prefix } [ vrf { vrf-name | all | default | management }]

Syntax Description

*
Specifies all routes.
group
Group address in the format A . B . C . D .
source
(Optional) Source (S, G) route.
group-prefix
Group prefix in the format A . B . C . D / length .
vrf
(Optional) Clears the virtual routing and forwarding (VRF) instance information.
vrf-name
VRF name. The name can be a maximum of 32 alphanumeric characters and is case sensitive.
all
Specifies that all VRF entries be cleared from the multicast routing table.
default
Specifies that the default VRF entry be cleared from the multicast routing table.
management
Specifies that the management VRF entry be cleared from the multicast routing table.

Command Default

None

Command Modes

Any command mode

Command History

Release
Modification
5.0(3)N1(1)
This command was introduced.

Usage Guidelines

This command requires the LAN Base Services license.

Examples

This example shows how to clear the all the routes specific to PIM:

switch(config)# clear ip pim route *
switch(config)#
 

Related Commands

Command
Description
show ip pim route
Displays information about PIM specific routes.