96CHAPTER 5: IP ROUTING PROTOCOL OPERATION

Perform the following configurations in RIP view.

Table 94 Enabling RIP to Import Routes of Other Protocols

Operation

Command

 

 

Enable RIP to import routes of other protocols

import-route protocol [ cost value ]

 

[route-policyroute-policy-name ]

Disable route imports from other protocols

undo import-route protocol

 

 

By default, RIP does not import the route information of other protocols.

Configuring the Default Cost for the Imported Route

When you use the import-routecommand to import the routes of other protocols, you can specify their cost. If you do not specify the cost of the imported route, RIP will set the cost to the default cost, specified by the default cost parameter.

Perform the following configurations in RIP view.

Table 95 Configuring the Default Cost for the Imported Route

Operation

Command

 

 

Configure default cost for the imported route

default cost value

Restore the default cost of the imported

undo default cost

route.

 

 

 

By default, the cost value for the RIP imported route is 1.

Setting the RIP Preference

Each routing protocol has its own preference by which the routing policy selects the optimal one from the routes of different protocols. The greater the preference value, the lower the preference. The preference of RIP can be set manually.

Perform the following configurations in RIP view.

Table 96 Setting the RIP Preference

Operation

Command

 

 

Set the RIP Preference

preference value

Restore the default value of RIP preference

undo preference

 

 

By default, the preference of RIP is 100.

Setting Additional Routing Metrics

The additional routing metric, is the input or output routing metric added to a RIP route. It does not change the metric value of the route in the routing table, but adds a specified metric value when the interface receives or sends a route.

Perform the following configuration in VLAN interface view.

Table 97 Setting Additional Routing Metric

Operation

Command

 

 

Set the additional routing metric of the route

rip metricin value

when the interface receives an RIP packet

 

Page 96
Image 96
3Com 10014298 manual Configuring the Default Cost for the Imported Route, Setting the RIP Preference