To configure RIP (Routing Information Protocol) on a virtual router, use the following command:
Admin@nodename# set network virtual-router <virtual-router-name> rip
Specify the parameters:
Parameter |
Description |
---|---|
enabled |
Enable/disable an RIP router:
|
version |
RIP protocol version:
Usually, the 2nd version of the protocol is used. |
metric |
RIP metric. Default value: 1; max value: 15. A value of 16 is considered infinite. |
distance |
The cost of routes received using the RIP protocol. Default value for RIP protocol: 120. This is used for route selection when routes can be received using multiple methods (OSPF, BGP, static). |
originate |
Sends itself as the router by default. |
networks-cidr |
Specify the network as a CIDR. Format: <ip/mask>. |
networks-interface |
Specify the network interface from which to send route information updates. Provide interfaces that belong to the virtual router. |
redistribute |
Route redistribution:
|
interfaces |
Configure interfaces where the RIP protocol is supported. The interfaces should be added to the virtual router. To add new interfaces or change data for existing ones, use the following commands: Admin@UGOS# set network virtual-router <virtual-router-name> rip interfaces new Admin@UGOS# set network virtual-router <virtual-router-name> rip interfaces <interface-name> Parameters:
|
To display RIP configuration in a virtual router, use the following command:
Admin@nodename# show network virtual-router <virtual-router-name> rip
Example command to configure RIP in a virtual router:
Admin@nodename# set network virtual-router test_router rip version 2 originate on Admin@nodename# show network virtual-router test_router name : test_router description : Test virtual router node-name : node_1 interfaces : port2; port3 ... rip : enabled : off distance : 120 metric : 1 originate : on interfaces : [] redistribute : {} version : 2 ... Admin@nodename# set network virtual-router test_router rip interfaces new interface port2 Admin@nodename# show network virtual-router test_router name : test_router description : Test virtual router node-name : node_1 interfaces : port2; port3 ... rip : enabled : off distance : 120 metric : 1 originate : on interfaces : port2 interface : port2 passive-mode : off poisoned-reverse : off receive-version : 0 send-version : 0 split-horizone : off redistribute : {} version : 2 ...
To delete RIP router parameters, use the following command:
Admin@nodename# delete network virtual-router <virtual-router-name> rip <parameter>
You can delete the following parameters:
-
RIP interfaces: interfaces.
-
RIP networks: networks-cidr.
-
Network interface from which route information updates will be sent: networks-interface.