Configuring an additional ro uting metric, Configuring ripv2 route summarization – H3C Technologies H3C S12500-X Series Switches User Manual
Page 41
27
148B
Configuring an additional routing metric
An additional routing metric (hop count) can be added to the metric of an inbound or outbound RIP
route.
An outbound additional metric is added to the metric of a sent route, and it does not change the route's
metric in the routing table.
An 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 is 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.
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.
149B
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.
459B
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.
460B
Advertising a summary route
Perform this task to manually configure a summary route.