Cisco Nexus 6000 Series NX-OS Unicast Routing Command Reference
C Commands
Downloads: This chapterpdf (PDF - 88.0KB) The complete bookPDF (PDF - 4.5MB) | Feedback

C Commands

Table Of Contents

C Commands

clear ip rip policy statistics redistribute

clear ip rip statistics


C Commands


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 {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.


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 [interface type instance] [vrf vrf-name]

Syntax Description

interface type instance

(Optional) Specifies the interface to clear topology entries.

vrf vrf-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

5.0(3)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.