The documentation set for this product strives to use bias-free language. For the purposes of this documentation set, bias-free is defined as language that does not imply discrimination based on age, disability, gender, racial identity, ethnic identity, sexual orientation, socioeconomic status, and intersectionality. Exceptions may be present in the documentation due to language that is hardcoded in the user interfaces of the product software, language used based on RFP documentation, or language that is used by a referenced third-party product. Learn more about how Cisco is using Inclusive Language.
This chapter describes the Cisco NX-OS unicast Routing Information Base (RIB) and the Forwarding Information Base (FIB) commands that begin with C.
To clear forwarding information, use the clear forwarding route command.
clear forwarding { ip | ipv4 } route [ * | prefix ] [ vrf vrf-name ]
(Optional) Specifies a particular virtual routing and forwarding (VRF) instance. The VRF name can be any case-sensitive, alphanumeric string up to 32 characters. |
|
|
---|---|
This example shows how to clears a route from the FIB:
To clear the Layer 3 inconsistency checker for the Forwarding Information Base (FIB), use the clear forwarding inconsistency command.
clear forwarding inconsistency
|
|
---|---|
This example shows how to clear the Layer 3 inconsistency checker for all modules:
|
|
---|---|
To clear adjacency statistics, use the clear ip adjacency statistics command.
|
|
---|---|
This example shows how to clear the adjacency statistics:
|
|
---|---|
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 ]
|
|
---|---|
Use the clear ip route command to clear individual routes from the route table.
This example shows how to clear the individual route:
|
|
---|---|
To clear the socket statistics, use the clear sockets statistics command.
clear sockets statistics [ all | raw | tcp | udp ]
|
|
---|---|
This example shows how to clear the TCP socket statistics:
|
|
---|---|