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
(Optional) Specifies a particular virtual routing and forwarding (VRF) instance. The VRF name can be any case-sensitive, alphanumeric string up to 32 characters. |
Command Default
Command Modes
Command History
|
|
---|---|
Examples
This example shows how to clears a route from the FIB:
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
Command Default
Command Modes
Command History
|
|
---|---|
Examples
This example shows how to clear the Layer 3 inconsistency checker for all modules:
Related Commands
|
|
---|---|
clear ip adjacency statistics
To clear adjacency statistics, use the clear ip adjacency statistics command.
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Examples
This example shows how to clear the adjacency statistics:
Related Commands
|
|
---|---|
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
Command Modes
Command History
|
|
---|---|
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:
Related Commands
|
|
---|---|
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
Command Modes
Command History
|
|
---|---|
Examples
This example shows how to clear the TCP socket statistics:
Related Commands
|
|
---|---|