C613-50100-01 REV C Command Reference for x930 Series 1491
AlliedWare Plus™ Operating System - Version 5.4.6-1.x
VRF LITE COMMANDS
CLEAR
IP RIP ROUTE
clear ip rip route
Overview Use this command to clear specific data from the RIP routing table.
Syntax
clear ip rip route {<ip-dest-network/prefix-length>|
static|connected|rip|ospf|bgp|invalid-routes|all}
clear ip rip [vrf <vrf-name>] route
{<ip-dest-network/prefix-length>
|static|connected|rip|ospf|bgp|invalid-routes|all}
Mode Privileged Exec
Usage Using this command with the all parameter, clears the RIP table of all the routes.
Examples To clear the route 10.0.0.0/8 from the RIP routing table, use the following
command:
awplus# clear ip rip route 10.0.0.0/8
Examples (VRF
lite)
To clear RIP routes associated with the VRF instance red for OSPF routes, use the
following command:
awplus# clear ip rip vrf red route ospf
To clear the route 10.0.0.0/8 from the RIP routing table for the VRF instance red,
use the following command:
awplus# clear ip rip vrf red route 10.0.0.0/8
Parameter Description
vrf Apply this command to a VRF instance.
<vrf-name> The name of the VRF instance.
<ip-dest-network/
prefix-length>
Removes entries which exactly match this destination
address from RIP routing table. Enter the IP address and
prefix length of the destination network.
static Removes static entries from the RIP routing table.
connected Removes entries for connected routes from the RIP routing
table.
rip Removes only RIP routes from the RIP routing table.
ospf Removes only OSPF routes from the RIP routing table.
bgp Removes only BGP routes from the RIP routing table.
invalid-routes Removes routes with metric 16 immediately. Otherwise,
these routes are not removed until RIP times out the route
after 2 minutes.
all Clears the entire RIP routing table.