OcNOS-SP : Layer 3 Guide : Fundamental Layer 3 Command Reference : Fundamental Layer 3 Commands : clear ip route
clear ip route
Use this command to clear an all IPv4 routes or any specific prefix routes.
Command Syntax
clear ip route (*|A.B.C.D/M)
Parameters
*
Clears all routes
A.B.C.D/M
Prefix to be cleared
Command Mode
Exec mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#clear ip route *
#clear ip route 1.1.1.0/24
Last modified date: 10/16/2023