clear ip rip policy statistics redistribute

To clear policy statistics for routes redistributed into the Routing Information Protocol (RIP) topology table, use the clear ip rip policy statistics redistribute command in any mode.

clear ip rip policy statistics redistribute {bgp id | direct | eigrp id | ospf id | static} [vrf vrf-name]

Syntax Description

bgp

Clears policy statistics for the Border Gateway Protocol (BGP).

direct

Clears policy statistics for directly connected routes only.

eigrp

Clears policy statistics for the Enhanced Interior Gateway Routing Protocol (EIGRP).

ospf

Clears policy statistics for the Open Shortest Path First (OSPF) protocol.

static

Clears policy statistics for IP static routes.

id

For the bgp keyword, an autonomous system number. The range for 2-byte numbers is from 1 to 65535. The range for 4-byte numbers is from 1.0 to 65535.65535.

For the eigrp keyword, an EIGRP instance name from which routes are to be redistributed. The value takes the form of a string. You can enter a decimal number, but Cisco NX-OS stores it internally as a string.

For the ospf keyword, an OSPF instance name from which routes are to be redistributed. The value takes the form of a string. You can enter a decimal number, but Cisco NX-OS stores it internally as a string.

vrf vrf-name

(Optional) Specifies a particular virtual routing and forwarding (VRF) instance. The VRF name can be a maximum of 32 alphanumeric characters and is case-sensitive.


Command Default

This command has no default settings.

Command Modes

Any command mode

Command History

Release
Modification

5.0(3)N1(1)

This command was introduced.


Examples

This example shows how to clear policy statistics for EIGRP:

switch# clear ip rip policy statistics redistribute eigrp 201

Related Commands

Command
Description

show ip rip policy statistics

Displays policy statistics for RIP.