Displaying and maintaining a routing table – H3C Technologies H3C S12500-X Series Switches User Manual
Page 20
6
26B
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 [ vpn-instance vpn-instance-name ]
[ verbose ]
Display information about routes
permitted by an IPv4 basic ACL.
display ip routing-table [ vpn-instance vpn-instance-name ] acl
acl-number [ verbose ]
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 ]
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 ]
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 ]
Display information about routes
installed by a protocol.
display ip routing-table [ vpn-instance vpn-instance-name ] protocol
protocol [ inactive | verbose ]
Display IPv4 route statistics.
display ip routing-table [ vpn-instance vpn-instance-name ] statistics
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-name [ 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 [ vpn-instance
vpn-instance-name ] { protocol | all }
Display IPv6 routing table information.
display ipv6 routing-table [ vpn-instance vpn-instance-name ]
[ verbose ]
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 ]
Display information about routes
permitted by an IPv6 basic ACL.
display ipv6 routing-table [ vpn-instance vpn-instance-name ] acl
acl6-number [ verbose ]
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 ]
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 ]
Display information about routes
installed by an IPv6 protocol.
display ipv6 routing-table [ vpn-instance vpn-instance-name ]
protocol protocol [ inactive | verbose ]
Display IPv6 route statistics.
display ipv6 routing-table [ vpn-instance vpn-instance-name ]
statistics
Display route attribute information in
the IPv6 RIB.
display ipv6 rib attribute [ attribute-id ]