Chapter 30 Protocol-Independent Configuration DGS-3610 Series Configuration Guide
At route redistribution, it is not necessary to convert the metric of one routing protocol into
that of another routing protocol, since different routing protocols use distinctively different
measurement methods. The RIP metric calculation is based on the hops, while the OSPF
metric calculation is based on the bandwidth, so their metrics are not comparable. However,
a symbolic metric must be set for route redistribution. Otherwise, route redistribution will fail.
When the route redistribution is configured in the OSPF routing process,
the metric of 20 is allocated to the redistributed routes with the type of
Type-2 by default. This type belongs to the least credible route of the
OSPF.
Route redistribution may easily cause loops, so you must be very careful
in using them.
30.2.2 Configuration of Route Filtering
Route filtering is the process to control the incoming/outgoing routes so that the router only
learns the necessary and predictable routes, and only advertise the necessary and
predictable routes to the external necessary and predictable routes. The divulgence and
chaos of the routes may affect the running of the network. Particularly for telecom operators
and financial service networks, it is essential to configure route filtering.
30.2.2.1 Controlling the LSA
To prevent other routers or routing protocols from dynamically learning one or more route
message, you can configure the control over the LSA to prevent the specified route update.
To prevent the LSA, execute the following commands in the routing process configuration
mode:
DGS-3610(config-router)# distribute-list
{[access-list-number | access-list-name] | prefix
prefix-list-name
[gateway prefix-list-name] | gateway
prefix-list-name} out
[interface-type interface-number]
Allow or not allow some LSAs to be
sent according to the access list rule.
Prefix: This keyword specifies the
prefix list for filtering the routes. The
prefix list should be separately
configured by using the ip prefix-list
command.
Gateway: Use the prefix list to filter the
outgoing routes according to the
source of the routes. Those filtered will
not be sent.