3
recovers, the route selection process is performed again and the main route is selected again to forward
packets.
Displaying and maintaining a routing table
To do…
Use the command…
Remarks
Display information about the
routing table
display ip routing-table
[
verbose
] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
Available in any view
Display information about routes to
the specified destination
display ip routing-table
ip-address
[
mask
|
mask-length
] [
longer-match
]
[
verbose
]
[
|
{
begin
|
exclude
|
include
}
regular-expression
]
Available in any view
Display information about routes
with destination addresses in the
specified range
display ip routing-table
ip-address1
{
mask
|
mask-length
}
ip-address2
{
mask
|
mask-length
} [
verbose
]
[
|
{
begin
|
exclude
|
include
}
regular-expression
]
Available in any view
Display routes of a routing protocol
display ip routing-table
protocol
protocol
[
inactive
|
verbose
] [
|
{
begin
|
exclude
|
include
}
regular-expression
] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
[
|
{
begin
|
exclude
|
include
}
regular-expression
]
Available in any view
Display statistics about the routing
table
display ip routing-table
statistics
[
|
{
begin
|
exclude
|
include
}
regular-expression
]
Available in any view
Clear statistics for the routing table
reset ip routing-table statistics protocol
{
protocol
|
all
}
Available in user view
Display IPv6 routing table
information
display ipv6 routing-table
[
verbose
] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
Available in any view
Display routing information for a
specified destination IPv6 address
display ipv6 routing-table
ipv6-address
prefix-length
[
longer-match
] [
verbose
]
[
|
{
begin
|
exclude
|
include
}
regular-expression
]
Available in any view
Display IPv6 routing information
for an IPv6 address range
display ipv6 routing-table
ipv6-address1
prefix-length1
ipv6-address2
prefix-length2
[
verbose
] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
Available in any view
Display IPv6 routing information of
a routing protocol
display ipv6 routing-table protocol
protocol
[
inactive
|
verbose
] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
Available in any view
Display IPv6 routing statistics
display ipv6 routing-table statistics
[
|
{
begin
|
exclude
|
include
}
regular-expression
]
Available in any view
Clear specified IPv6 routing
statistics
reset ipv6 routing-table statistics protocol
{
protocol
|
all
}
Available in user view