This chapter describes the Cisco NX-OS Routing Information Protocol (RIP) commands that begin with C.
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{bgpid|direct|eigrpid|ospfid|static}[vrfvrf-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 Nexus 6000 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 Nexus 6000 stores it internally as a string.
vrfvrf-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
6.0(2)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.
clear ip rip statistics
To clear the Routing Information Protocol (RIP) statistics, use the clear ip rip statistics command in any mode.
clear ip rip statistics[interfacetype instance] [vrfvrf-name]
Syntax Description
interface type instance
(Optional) Specifies the interface to clear topology entries.
vrfvrf-name
(Optional) Specifies a particular virtual routing and forwarding (VRF) instance. The VRF name can be up to 32 alphanumeric characters.
Command Default
This command has no default settings.
Command Modes
Any command mode
Command History
Release
Modification
6.0(2)N1(1)
This command was introduced.
Examples
This example shows how to clear all RIP statistics:
switch# clear ip rip statistics
Related Commands
Command
Description
show rip statistics
Displays database and interface entry information for the RIP process.