27
Step Command
Remarks
2.
Create a RIP process and
enter RIP view.
rip
[
process-id
] [
vpn-instance
vpn-instance-name
]
By default, no RIP process is
created.
3.
Set the DSCP value for RIP
packets.
dscp
dscp-value
Optional.
By default, the DSCP value in RIP
packets is 48.
Configuring RIP route control
In complex networks, you must configure advanced RIP features.
Before you configure RIP routing feature, complete the following tasks:
•
Configure IP addresses for interfaces, and make sure that all neighboring routers can reach each
other.
•
Configure RIP basic functions.
Configuring an additional routing metric
An additional routing metric (hop count) can be added to the metric of an inbound or outbound RIP
route.
The outbound additional metric is added to the metric of a sent route, and the route’s metric in the routing
table is not changed.
The inbound additional metric is added to the metric of a received route before the route is added into
the routing table, and the route’s metric is changed. If the sum of the additional metric and the original
metric is greater than 16, the metric of the route will be 16.
To configure additional routing metrics:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter interface view.
interface
interface-type
interface-number
N/A
3.
Define an inbound additional
routing metric.
rip metricin
[
route-policy
route-policy-name
]
value
Optional.
0 by default.
4.
Define an outbound
additional routing metric.
rip metricout
[
route-policy
route-policy-name
]
value
Optional.
1 by default.
Configuring RIPv2 route summarization
Route summarization means that subnets in a natural network are summarized into a natural network that
is sent to other networks. This feature can reduce the size of routing tables.
After route summarization, the smallest metric among all the summarized routes is used as the metric of
the summary route.