246 CHAPTER 24: IP ROUTING OVERVIEW
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 ]
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 ]
Display information about
routes permitted by an IPv4
basic ACL
display ip routing-table acl
acl-number [ verbose ]
Display routing information
permitted by an IPv4 prefix list
display ip routing-table ip-prefix
ip-prefix-name [ verbose ]
Available in any view
Display routes of a routing
protocol
display ip routing-table protocol
protocol [ inactive | verbose ]
Display statistics about the
network routing table
display ip routing-table statistics
Clear statistics for the routing
table
reset ip routing-table statistics
protocol { all | protocol }
Available in user view
Display the information of
recursive routes
display ip relay-route Available in any view
Display IPv6 recursive route
information
display ipv6 relay-route
Display brief IPv6 routing
table information
display ipv6 routing-table
Display verbose IPv6 routing
table information
display ipv6 routing-table
verbose
Display routing information
for a specified destination
IPv6 address
display ipv6 routing-table
ipv6-address prefix-length
[ longer-match ] [ verbose ]
Display routing information
permitted by an IPv6 ACL
display ipv6 routing-table acl
acl6-number [ verbose ]
Display routing information
permitted by an IPv6 prefix list
display ipv6 routing-table
ipv6-prefix ipv6-prefix-name
[ verbose ]
Display IPv6 routing
information of a routing
protocol
display ipv6 routing-table
protocol protocol [ inactive |
verbose ]
Display IPv6 routing statistics display ipv6 routing-table
statistics
Display IPv6 routing
information for an IPv6
address range
display ipv6 routing-table
ipv6-address1 prefix-length1
ipv6-address2 prefix-length2
[ verbose ]
Clear specified IPv6 routing
table statistics
reset ipv6 routing-table statistics
protocol { all | protocol }
Available in user view