1-4
Routing approach Priority
DIRECT
0
STATIC 60
UNKNOWN 256
z The smaller the priority value, the higher the priority.
z The priority for a direct route is always 0, which you cannot change. Any other type of routes can
have their priorities manually configured.
z Each static route can be configured with a different priority.
z 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