3Com 10014298 Switch User Manual


 
96 CHAPTER 5: IP ROUTING PROTOCOL OPERATION
Perform the following configurations in RIP view.
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-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.
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-policy route-policy-name ]
Disable route imports from other protocols undo import-route protocol
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
route.
undo default cost
Table 96 Setting the RIP Preference
Operation Command
Set the RIP Preference preference value
Restore the default value of RIP preference undo preference
Table 97 Setting Additional Routing Metric
Operation Command
Set the additional routing metric of the route
when the interface receives an RIP packet
rip metricin value