5
Configuring the maximum lifetime for routes in the
FIB
When GR is disabled, FIB entries must be retained for some time after a protocol process switchover or
RIB process switchover. When GR is enabled, FIB entries must be removed immediately after a protocol
or RIB process switchover to avoid routing issues. Perform this task to meet such requirements.
To configure the maximum lifetime for routes in the FIB (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 its view.
address-family ipv4
By default, no RIB IPv4
address family is created.
4.
Configure the maximum
lifetime for IPv4 routes in the
FIB.
fib lifetime
seconds
By default, the maximum
lifetime for routes in the FIB is
600 seconds.
To configure the maximum lifetime for routes in the FIB (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 its view.
address-family ipv6
By default, no RIB IPv6
address family is created.
4.
Configure the maximum
lifetime for IPv6 routes in the
FIB.
fib lifetime
seconds
By default, the maximum
lifetime for routes in the FIB is
600 seconds.
Displaying and maintaining a routing table
Execute
display
commands in any view and
reset
commands in user view.
Task Command
Display routing table information.
display ip routing-table
[
vpn-instance
vpn-instance-name
]
[
verbose
]
Display information about routes
permitted by an IPv4 basic ACL.
display ip routing-table
[
vpn-instance
vpn-instance-name
]
acl
acl-number
[
verbose
]
Display information about routes to a
specific destination address.
display ip routing-table
[
vpn-instance
vpn-instance-name
]
ip-address
[
mask
|
mask-length
] [
longer-match
] [
verbose
]
Display information about routes to a
range of destination addresses.
display ip routing-table
[
vpn-instance
vpn-instance-name
]
ip-address1
to
ip-address2
[
verbose
]