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]
None
Any command mode
|
|
---|---|
6.0(2)N1(1) |
This command was introduced. |
This example shows how to clears a route from the FIB:
switch# clear forwarding ip 10.0.0.1/8
To clear the Layer 3 inconsistency checker for the Forwarding Information Base (FIB), use the clear forwarding inconsistency command.
clear forwarding inconsistency
This command has no arguments or keywords.
None
Any command mode
|
|
---|---|
6.0(2)N1(1) |
This command was introduced. |
This example shows how to clear the Layer 3 inconsistency checker for all modules:
switch# clear forwarding inconsistency module all
|
|
---|---|
show forwarding inconsistency |
Displays information about the FIB inconsistencies. |
test forwarding inconsistency |
Triggers the forwarding inconsistency checker. |
To clear adjacency statistics, use the clear ip adjacency statistics command.
clear ip adjacency statistics
This command has no arguments or keywords.
None
Any command mode
|
|
---|---|
6.0(2)N1(1) |
This command was introduced. |
This example shows how to clear the adjacency statistics:
switch# clear ip adjacency statistics
|
|
---|---|
show ip adjacency |
Displays adjacency information. |
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]
None
Any command mode
|
|
---|---|
6.0(2)N1(1) |
This command was introduced. |
Use the clear ip route command to clear individual routes from the route table.
This example shows how to clear the individual route:
switch(config)# clear ip route 192.0.2.1
|
|
---|---|
show ip route |
Displays entries in the route table. |
To clear the socket statistics, use the clear sockets statistics command.
clear sockets statistics [all | raw | tcp | udp]
None
Any command mode
|
|
---|---|
6.0(2)N1(1) |
This command was introduced. |
This example shows how to clear the TCP socket statistics:
switch# clear sockets statistics tcp