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 [ verbose ] |
Display information about routes permitted by an IPv4 basic ACL. | display ip routing-table acl ipv4-acl-number [ verbose ] |
Display information about routes to a specific destination address. | display ip routing-table ip-address [ mask-length | mask ] [ longer-match ] [ verbose ] |
Display information about routes to a range of destination addresses. | display ip routing-table ip-address1 to ip-address2 [ verbose ] |
Display information about routes permitted by an IP prefix list. | display ip routing-table prefix-list prefix-list-name [ verbose ] |
Display information about routes installed by a protocol. | display ip routing-table protocol protocol [ inactive | verbose ] |
Display IPv4 route statistics. | display ip routing-table statistics |
Display brief IPv4 routing table information. | display ip routing-table summary |
Display route attribute information in the RIB. | display rib attribute [ attribute-id ] |
Display RIB GR state information. | display rib graceful-restart |
Display next hop information in the RIB. | display rib nib [ self-originated ] [ nib-id ] [ verbose ] display rib nib protocol protocol [ verbose ] |
Display next hop information for direct routes. | display route-direct nib [ nib-id ] [ verbose ] |
Clear IPv4 route statistics. | reset ip routing-table statistics protocol { protocol | all } |
Display IPv6 routing table information. | display ipv6 routing-table [ verbose ] |
Display information about routes to an IPv6 destination address. | display ipv6 routing-table ipv6-address [ prefix-length ] [ longer-match ] [ verbose ] |
Display information about routes permitted by an IPv6 basic ACL. | display ipv6 routing-table acl ipv6-acl-number [ verbose ] |
Display information about routes to a range of IPv6 destination addresses. | display ipv6 routing-table ipv6-address1 to ipv6-address2 [ verbose ] |
Display information about routes permitted by an IPv6 prefix list. | display ipv6 routing-table prefix-list prefix-list-name [ verbose ] |
Display information about routes installed by an IPv6 protocol. | display ipv6 routing-table protocol protocol [ inactive | verbose ] |
Display IPv6 route statistics. | display ipv6 routing-table statistics |
Display brief IPv6 routing table information. | display ipv6 routing-table summary |
Display route attribute information in the IPv6 RIB. | display ipv6 rib attribute [ attribute-id ] |
Display IPv6 RIB GR state information. | display ipv6 rib graceful-restart |
Display next hop information in the IPv6 RIB. | display ipv6 rib nib [ self-originated ] [ nib-id ] [ verbose ] display ipv6 rib nib protocol protocol [ verbose ] |
Display next hop information for IPv6 direct routes. | display ipv6 route-direct nib [ nib-id ] [ verbose ] |
Display support for IPv6 routes with prefixes longer than 64 bits. | display switch-routing-mode status |
Clear IPv6 route statistics. | reset ipv6 routing-table statistics protocol { protocol | all } |