![Cisco Nexus 3548 series Command Reference Manual Download Page 112](http://html.mh-extra.com/html/cisco/nexus-3548-series/nexus-3548-series_command-reference-manual_2609162112.webp)
92
Cisco Nexus 3548 Switch NX-OS Unicast Routing Command Reference
OL-27852-01
Chapter Unicast Routing Commands
clear ip route
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
Any command mode
Command History
Usage Guidelines
Use the
clear ip route
command to clear individual routes from the route table.
Caution
The
*
keyword is severely disruptive to routing.
This command does not require a license.
Examples
This example shows how to clear the individual route:
switch(config)#
clear ip route 192.0.2.1
Related Commands
*
(Optional) Clears all routes.
addr
(Optional) Clears this route. The format is x.x.x.x.
addr
(Optional) Clears this prefix. The format is x.x.x.x/length.
vrf
vrf-name
(Optional) Specifies the virtual routing and forwarding (VRF) context name. The
name can be any case-sensitive, alphanumeric string up to 32 characters.
Release
Modification
5.0(3)A1(1)
This command was introduced.
Command
Description
show ip route
Displays entries in the route table.