To clear forwarding information, use the clear forwarding route command.
clear forwarding { ip | ipv4 } route [ * | prefix ] [ vrf vrf-name ]
|
ip
|
Clears an IPv4 route.
|
|
ipv4
|
Clears an IPv4 route.
|
|
*
|
(Optional) Clears all routes.
|
|
prefix
|
(Optional) IPv4 prefix. The IPv4 format is x.x.x.x/length.
|
|
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.
|
None
Any command mode
|
Release
|
Modification
|
|---|---|
|
5.0(3)N1(1)
|
This command was introduced.
|
This example shows how to clears a route from the FIB: