Specifications

Table Of Contents
Multiprotocol Label Switching Commands
clear ip route vrf
MP-23
Cisco IOS Multiprotocol Label Switching Command Reference
January 2010
clear ip route vrf
To remove routes from the Virtual Private Network (VPN) routing and forwarding(VRF) table, use the
clear ip route vrf command in user EXEC or privileged EXEC mode.
clear ip route vrf vr
f-name {* | network [mask]}
Syntax Description
Command Modes User EXEC
Privileged EXEC
Command History
Usage Guidelines Use this command to clear routes from the routing table. Use the ast
erisk (*) to delete all routes from
the forwarding table for a specified VRF, or enter the address and mask of a particular network to delete
the route to that network.
Examples The following command shows how to remove the route to the network 10.13.0.0 in the vpn1 routing
ta
ble:
Router# clear ip route vrf vpn1 10.13.0.0
Related Commands
vrf-name Name of the VRF for the static route.
* Indicates all routes for a given VRF.
network Destination to be removed, in dotted decimal format.
mask (Optional) Mask for the specified network destination, in dotted
d
ecimal format.
Release Modification
12.0(5)T This command was introduced.
12.0(21)ST This command was integrated into Cisco IOS 12.0(21)ST.
12.0(22)S This command was integrated into Cisco IOS 12.0(22)S.
12.0(23)S This command was integrated into Cisco IOS 12.0(23)S.
12.2(13)T This command was integrated into Cisco IOS 12.2(13)T.
12.2(14)S This command was integrated into Cisco IOS 12.2(14)S.
12.2(33)SRA This command was integrated into Cisco IOS Release 12.2(33)SRA.
12.2SX This command is supported in the Cisco IOS Release 12.2SX train. Support
i
n a specific 12.2SX release of this train depends on your feature set,
platform, and platform hardware.
Command Description
show ip route vrf Displays the IP routing table associated with a VRF.