C Commands
This chapter describes the Cisco NX-OS unicast Routing Information Base (RIB) and the Forwarding Information Base (FIB) commands that begin with C.
clear forwarding route
To clear forwarding information, use the clear forwarding route command.
clear forwarding {ip | ipv4} route [* | prefix] [vrf vrf-name]
Syntax Description
Command Default
None
Command Modes
Command HistoryAny command mode
|
|
---|---|
5.0(3)N1(1) |
This command was introduced. |
Examples
This example shows how to clears a route from the FIB:
switch# clear forwarding ip 10.0.0.1/8
clear forwarding inconsistency
To clear the Layer 3 inconsistency checker for the Forwarding Information Base (FIB), use the clear forwarding inconsistency command.
clear forwarding inconsistency
Syntax Description
This command has no arguments or keywords.
Command Default
None
Command Modes
Command HistoryAny command mode
|
|
---|---|
5.0(3)N1(1) |
This command was introduced. |
Examples
This example shows how to clear the Layer 3 inconsistency checker for all modules:
switch# clear forwarding inconsistency module all
Related Commands
|
|
---|---|
show forwarding inconsistency |
Displays information about the FIB inconsistencies. |
test forwarding inconsistency |
Triggers the forwarding inconsistency checker. |
clear ip adjacency statistics
To clear adjacency statistics, use the clear ip adjacency statistics command.
clear ip adjacency statistics
Syntax Description
This command has no arguments or keywords.
Command Default
None
Command Modes
Command HistoryAny command mode
|
|
5.0(3)N1(1) |
This command was introduced. |
Examples
This example shows how to clear the adjacency statistics:
switch# clear ip adjacency statistics
Related Commands
|
|
---|---|
show ip adjacency |
Displays adjacency information. |
clear ip route
To clear individual routes from the unicast Routing Information Base (RIB), use the clear ip route command.
clear ip route [* | addr | prefix]] [vrf vrf-name]
Syntax Description
Command Default
None
Command Modes
Command HistoryAny command mode
|
|
5.0(3)N1(1) |
This command was introduced. |
Usage Guidelines
Use the clear ip route command to clear individual routes from the route table.


Examples
This example shows how to clear the individual route:
switch(config)# clear ip route 192.0.2.1
Related Commands
|
|
---|---|
show ip route |
Displays entries in the route table. |
clear sockets statistics
To clear the socket statistics, use the clear sockets statistics command.
clear sockets statistics [all | raw | tcp | udp]
Syntax Description
Command Default
None
Command Modes
Command HistoryAny command mode
|
|
5.0(3)N1(1) |
This command was introduced. |
Examples
This example shows how to clear the TCP socket statistics:
switch# clear sockets statistics tcp
Related Commands