Send document comments to nexus7k-docfeedback@cisco.com.
15-13
Cisco Nexus 7000 Series NX-OS Unicast Routing Configuration Guide, Release 4.x
OL-20002-02
Chapter 15 Managing the Unicast RIB and FIB
Verifying the Unicast RIB and FIB
Clearing Routes in the Unicast RIB
You can clear one or more routes from the unicast RIB.
Caution The * keyword is severely disruptive to routing.
To clear one or more entries in the unicast RIB, use the following commands in any mode:
Verifying the Unicast RIB and FIB
To verify the unicast RIB and FIB information, use the following commands:
Command Purpose
clear {ip | ipv4 | ipv6} route {* |
{
route
|
prefix/length
}[
next-hop
interface
]} [vrf
vrf-name
]
Example:
switch(config)# clear ip route
10.2.2.2
Clears one or more routes from both the unicast RIB and
all the module FIBs. The route options are as follows:
• *—All routes.
• route—An individual IP or IPv6 route.
• prefix/length—Any IP or IPv6 prefix.
• next-hop—The next-hop address
• interface—The interface to reach the next-hop
address.
The vrf-name can be any case-sensitive alphanumeric
string up to 64 characters.
clear routing [multicast | unicast]
[ip | ipv4 | ipv6] {* | {
route
|
prefix/length
}[
next-hop
interface
]}
[vrf
vrf-name
]
Example:
switch(config)# clear routing ip
10.2.2.2
Clears one or more routes from the unicast RIB. The
route options are as follows:
• *—All routes.
• route—An individual IP or IPv6 route.
• prefix/length—Any IP or IPv6 prefix.
• next-hop—The next-hop address
• interface—The interface to reach the next-hop
address.
The vrf-name can be any case-sensitive alphanumeric
string up to 64 characters.
Command Purpose
show forwarding adjacency Displays the adjacency table on a module.
show forwarding distribution {clients |
fib-state}
Displays the FIB distribution information.
show forwarding interfaces module slot Displays the FIB information for a module.
show forwarding {ip | ipv4 | ipv6} route Displays routes in the FIB.