Technical data
102 CHAPTER 5: IP ROUTING PROTOCOL OPERATION
Configuring the Default Cost for the Imported Route
When you use the import-route command 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.
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.
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.
By default, the additional routing metric added to the route when RIP sends the
packet is 1. The additional routing metric when RIP receives the packet is 0.
Tab le 18 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
route.
undo default cost
Tab le 19 Setting the RIP Preference
Operation Command
Set the RIP Preference preference value
Restore the default value of RIP preference undo preference
Tab le 20 Setting Additional Routing Metric
Operation Command
Set the additional routing metric of the route
when the interface receives an RIP packet
rip metricin value
Disable the additional routing metric of the
route when the interface receives an RIP
packet
undo rip metricin
Set the additional routing metric of the route
when the interface sends an RIP packet
ip metricout value
Disable the additional routing metric of the
route when the interface sends an RIP packet
undo rip metricout