R3303-HP HSR6800 Routers Layer 3 - IP Routing Command Reference
9
Parameters
multiple-topology topology-name: Specifies a topology. topology-name is a case-sensitive string of 1 to
31 characters.
vpn-instance vpn-instance-name: Specifies an MPLS L3VPN. vpn-instance-name is a case-sensitive string
of 1 to 31 characters. If no VPN is specified, the information of the public network is displayed.
ip-address: Specifies a destination IP address in dotted decimal notation.
mask | mask-length: Specifies the IP address mask or mask length, in dotted decimal notation or
represented by an integer in the range of 0 to 32.
longer-match: Displays the route with the longest mask.
verbose: Displays detailed information about all routes. With this argument absent, the command
displays only brief information about active routes.
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Usage guidelines
Executing the command with different parameters yields different outputs:
• display ip routing-table ip-address
{ The system ANDs the input destination IP address with the subnet mask in each route entry.
{ The system ANDs the destination IP address in each route entry with its own subnet mask.
{ If the two operations yield the same result for an entry and this entry is active, it is displayed.
• display ip routing-table ip-address mask
{ The system ANDs the input destination IP address with the input subnet mask;
{ The system ANDs the destination IP address in each route entry with the input subnet mask.
{ If the two operations yield the same result for an entry and the entry is active with a subnet mask
less than or equal to the input subnet mask, the entry is displayed.
• display ip routing-table ip-address longer-match
{ The system ANDs the input destination IP address with the subnet mask in each route entry.
{ The system ANDs the destination IP address in each route entry with its own subnet mask.
{ If the two operations yield the same result for multiple entries that are active, the one with longest
mask length is displayed.
• display ip routing-table ip-address mask longer-match
{ The system ANDs the input destination IP address with the input subnet mask.
{ The system ANDs the destination IP address in each route entry with the input subnet mask.
{ If the two operations yield the same result for multiple entries with a mask less than or equal to
the input subnet mask, the one that is active with longest mask length is displayed.
Examples
# Display brief information about the routes with destination IP address 11.0.0.1.