
12
The following table lists some routing protocols and the default priorities for routes found by them:
Routing approach
Priority
DIRECT
0
STATIC 60
UNKNOWN 256
•
The smaller the priority value, the higher the priority.
•
The priority for a direct route is always 0, which you cannot change. Any other type of routes can have their
priorities manually configured.
•
Each static route can be configured with a different priority.
•
IPv4 and IPv6 routes have their own respective routing tables.
Displaying and maintaining a routing table
To do…
Use the command…
Remarks
Display brief information about the
active routes in 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-length
| mask
] [
longer-match
] [
verbose
]
Available in
any view
Display information about routes with
destination addresses in the specified
range
display ip routing-table
ip-address1
{
mask-
length | mask
}
ip-address2
{
mask-length | mask
} [
verbose
]
Available in
any view
Display routes of a routing protocol
display ip routing-table
protocol
protocol
[
inactive
|
verbose
]
Available in
any view
Display statistics about the network
routing table
display ip routing-table
statistics
Available in
any view
Clear statistics for the routing table
reset ip routing-table statistics protocol
{
all
|
protocol
}
Available in
user view
Display brief IPv6 routing table
information
display ipv6 routing-table
Available in
any view
Display verbose IPv6 routing table
information
display ipv6 routing-table verbose
Available in
any view
Display routing information for a
specified destination IPv6 address
display ipv6 routing-table
ipv6-address
prefix-
length
[
longer-match
] [
verbose
]
Available in
any view
Display IPv6 routing information of a
routing protocol
display ipv6 routing-table
protocol
protocol
[
inactive
|
verbose
]
Available in
any view
Display IPv6 routing statistics
display ipv6 routing-table statistics
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
]
Available in
any view
Clear specified IPv6 routing table
reset ipv6 routing-table statistics protocol
{
Available in