Displaying and maintaining a routing table
Execute display commands in any view and reset commands in user view.
Task | Command |
---|---|
Display the ECMP mode. | display ecmp mode |
Display routing table information. | display ip routing-table [ vpn-instance vpn-instance-name ] [ verbose ] [ standby slot slot-number ] |
Display information about routes permitted by an IPv4 basic ACL. | display ip routing-table [ vpn-instance vpn-instance-name ] acl acl-number [ verbose ] [ standby slot slot-number ] |
Display information about routes to a specific destination address. | display ip routing-table [ vpn-instance vpn-instance-name ] ip-address [ mask | mask-length ] [ longer-match ] [ verbose ] [ standby slot slot-number ] |
Display information about routes to a range of destination addresses. | display ip routing-table [ vpn-instance vpn-instance-name ] ip-address1 to ip-address2 [ verbose ] [ standby slot slot-number ] |
Display information about routes permitted by an IP prefix list. | display ip routing-table [ vpn-instance vpn-instance-name ] prefix-list prefix-list-name [ verbose ] [ standby slot slot-number ] |
Display information about routes installed by a protocol. | display ip routing-table [ vpn-instance vpn-instance-name ] protocol protocol [ inactive | verbose ] [ standby slot slot-number ] |
Display IPv4 route statistics. | display ip routing-table [ vpn-instance vpn-instance-name ] statistics [ standby slot slot-number ] |
Display the maximum number of ECMP routes. | display max-ecmp-num |
Display route attribute information in the RIB. | display rib attribute [ attribute-id ] [ standby slot slot-number ] |
Display RIB GR state information. | display rib graceful-restart |
Display next hop information in the RIB. | display rib nib [ self-originated ] [ nib-id ] [ verbose ] [ standby slot slot-number ] display rib nib protocol protocol-name [ verbose ] [ standby slot slot-number ] |
Display next hop information for direct routes. | display route-direct nib [ nib-id ] [ verbose ] |
Clear IPv4 route statistics. | reset ip routing-table statistics protocol [ vpn-instance vpn-instance-name ] { protocol | all } [ standby slot slot-number ] |
Display IPv6 routing table information. | display ipv6 routing-table [ vpn-instance vpn-instance-name ] [ verbose ] [ standby slot slot-number ] |
Display information about routes to an IPv6 destination address. | display ipv6 routing-table [ vpn-instance vpn-instance-name ] ipv6-address [ prefix-length ] [ longer-match ] [ verbose ] [ standby slot slot-number ] |
Display information about routes permitted by an IPv6 basic ACL. | display ipv6 routing-table [ vpn-instance vpn-instance-name ] acl acl6-number [ verbose ] [ standby slot slot-number ] |
Display information about routes to a range of IPv6 destination addresses. | display ipv6 routing-table [ vpn-instance vpn-instance-name ] ipv6-address1 to ipv6-address2 [ verbose ] [ standby slot slot-number ] |
Display information about routes permitted by an IPv6 prefix list. | display ipv6 routing-table [ vpn-instance vpn-instance-name ] prefix-list prefix-list-name [ verbose ] [ standby slot slot-number ] |
Display information about routes installed by an IPv6 protocol. | display ipv6 routing-table [ vpn-instance vpn-instance-name ] protocol protocol [ inactive | verbose ] [ standby slot slot-number ] |
Display IPv6 route statistics. | display ipv6 routing-table [ vpn-instance vpn-instance-name ] statistics [ standby slot slot-number ] |
Display route attribute information in the IPv6 RIB. | display ipv6 rib attribute [ attribute-id ] [ standby slot slot-number ] |
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 ] [ standby slot slot-number ] display ipv6 rib nib protocol protocol-name [ verbose ] [ standby slot slot-number ] |
Display next hop information for IPv6 direct routes. | display ipv6 route-direct nib [ nib-id ] [ verbose ] |
Clear IPv6 route statistics. | reset ipv6 routing-table statistics protocol [ vpn-instance vpn-instance-name ] { protocol | all } [ standby slot slot-number ] |