OcNOS-SP : Layer 3 Guide : Routing Information Protocol Command Reference : Routing Information Protocol Commands : route
route
Use this command to configure static RIP routes.
Use the no parameter with this command to disable this function.
Command Syntax
route A.B.C.D/M
no route A.B.C.D/M
Parameter
A.B.C.D/M
Specify the IP address prefix and length.
Default
No route is added.
Command Mode
Router mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
Use this command to add a static RIP route. This command is used most often for debugging purposes and does not show up in the kernel routing table. After adding the RIP route, it can be checked in the RIP routing table.
#configure terminal
(config)#router rip
(config-router)#version 1
(config-router)#network 10.10.10.0/24
(config-router)#network 10.10.11.0/24
(config-router)#neighbor 10.10.10.10
(config-router)#route 10.10.10.0/24
 
(config-router)#version 1
(config-router)#network 10.10.10.0/24
(config-router)#network 10.10.11.0/24
(config-router)#no route 10.10.10.0/24
 
Last modified date: 08/28/2023