OcNOS-RON : Layer 3 Guide : Routing Information Protocol Command Reference : Routing Information Protocol Commands : clear ip rip route
clear ip rip route
Use this command to clear specific data from the RIP routing tables.
Using this command with the all parameter, clears the RIP table of all the routes. If you do not want that your RIP network to be deleted, use the redistribute connected command and make the RIP network a connected route. To delete the RIP routes learned from neighbor and also keep the RIP network intact, use the rip (clear ip rip route rip) parameter with this command.
Command Syntax
clear ip rip route (A.B.C.D/M|rip|kernel|connected|static|ospf|isis|bgp|all)
Parameters
A.B.C.D/M
Removes entries which exactly match this destination address from RIP routing table.
bgp
Removes only BGP routes from the RIP routing table.
connected
Removes entries for connected routes from the RIP routing table.
isis
Removes only IS-IS routes from the RIP routing table
kernel
Removes kernel entries from the RIP routing table.
ospf
Removes only OSPF routes from the RIP routing table.
rip
Removes only RIP routes from the RIP routing table.
static
Removes static entries from the RIP routing table.
all
Removes the entire RIP routing table.
Default
None
Command Mode
Privileged Exec mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#clear ip rip route 10.0.0.0/8
#clear ip rip route ospf
Last modified date: 08/28/2023