EasyManua.ls Logo

Ruijie RG-S29 Series

Ruijie RG-S29 Series
1510 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Command Reference RIP Commands
Configuration
Examples
The following example enables the RIP routing protocol to redistribute the routes learned by the
OSPF routing protocol, whose initial RIP metric value is set to 3.
Ruijie (config)# router rip
Ruijie (config-router)# default-metric 3
Ruijie (config-router)# redistribute ospf 100
Related
Commands
Command
Description
redistribute
Redistributes the routes from one routing
domain to another routing domain.
Platform
Description
N/A
1.4 distance
Use this command to set the management distance of the RIP route. Use the no form of this
command to restore the default setting.
distance distance [ ip-address wildcard ]
no distance [ distance ip-address wildcard ]
Parameter
Description
Parameter
Description
distance
Sets the management distance of a RIP route, an integer in the range
from 1 to 255.
ip-address
Indicates the prefix of the source IP address of the route.
wildcard
Defines the comparison bit of the IP address, where 0 means
accurate matching and 1 means no comparison.
Defaults
The default is 120.
Command
Mode
Routing process configuration mode
Usage Guide
Use this command to set the management distance of the RIP route.
You can use this command to create several management distances with source address prefixes.
When the source address of the RIP route is within the range specified by the prefixes, the
corresponding management distance is applied; otherwise, the route uses the management distance
configured by the RIP.
Configuration
Examples
The following example sets the management distance of the RIP route to 160, and specifies the
management distance of the route learned from 192.168.2.1 as 123.
Ruijie(config)# router rip

Table of Contents

Related product manuals