
26
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.
Specify an inbound
additional routing metric.
rip metricin
[
route-policy
route-policy-name
]
value
The default setting is 0.
4.
Specify an outbound
additional routing metric.
rip metricout
[
route-policy
route-policy-name
]
value
The default setting is 1.
Configuring RIPv2 route summarization
Perform this task to summarize contiguous subnets into a summary network and sends the network to
neighbors. The smallest metric among all summarized routes is used as the metric of the summary route.
Enabling RIPv2 automatic route summarization
Automatic summarization enables RIPv2 to generate a natural network for contiguous subnets. For
example, suppose there are three subnet routes 10.1.1.0/24, 10.1.2.0/24, and 10.1.3.0/24. Automatic
summarization automatically creates and advertises a summary route 10.0.0.0/8 instead of the more
specific routes.
To enable RIPv2 automatic route summarization:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter RIP view.
rip
[
process-id
] [
vpn-instance
vpn-instance-name
]
N/A
3.
(Optional.) Enable RIPv2
automatic route
summarization.
summary
By default, RIPv2 automatic route
summarization is enabled.
If subnets in the routing table are
not contiguous, disable automatic
route summarization to advertise
more specific routes.
Advertising a summary route
Perform this task to manually configure a summary route.
For example, suppose contiguous subnets routes 10.1.1.0/24, 10.1.2.0/24, and 10.1.3.0/24 exist in the
routing table. You can create a summary route 10.1.0.0/16 on Ethernet 1/1 to advertise the summary
route instead of the more specific routes.
To configure a summary route:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter RIP view.
rip
[
process-id
] [
vpn-instance
vpn-instance-name
]
N/A