4
Route redistribution
Route redistribution enables routing protocols to learn routing information from each other. A dynamic
routing protocol can redistribute routes from other routing protocols, including direct and static routing.
For more information, see the respective chapters on those routing protocols in this configuration guide.
The RIB records redistribution relationships of routing protocols.
Extension attribute redistribution
Extension attribute redistribution enables routing protocols to learn route extension attributes from each
other, including BGP extended community attributes, OSPF area IDs, route types, and router IDs.
The RIB records extended attributes of each routing protocol and redistribution relationships of different
routing protocol extended attributes.
Configuring the maximum lifetime for routes and
labels in the RIB
Perform this task to prevent routes of a certain protocol from being aged out due to slow protocol
convergence resulting from a large number of route entries or long GR period.
The configuration takes effect at the next protocol or RIB process switchover.
To configure the maximum lifetime for routes and labels in the RIB (IPv4):
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter RIB view.
rib
N/A
3.
Create a RIB IPv4 address family and
enter RIB IPv4 address family view.
address-family ipv4
By default, no RIB IPv4 address
family is created.
4.
Configure the maximum lifetime for
IPv4 routes and labels in the RIB.
protocol
protocol
lifetime
seconds
By default, the maximum
lifetime for routes and labels in
the RIB is 480 seconds.
To configure the maximum route lifetime for routes and labels in the RIB (IPv6):
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter RIB view.
rib
N/A
3.
Create a RIB IPv6 address family
and enter RIB IPv6 address
family view.
address-family ipv6
By default, no RIB IPv6
address family is created.
4.
Configure the maximum lifetime
for IPv6 routes and labels in the
RIB.
protocol
protocol
lifetime
seconds
By default, the maximum
lifetime for routes and labels
in the RIB is 480 seconds.