8
For command output, see
display ip routing-table
ip-address
Use
display ip routing-table
ip-address
to display information about routes to a specific destination
address.
Use
display ip routing-table
ip-address1
to
ip-address2
to
display information about routes to a range of
destination addresses.
Syntax
display ip routing-table
[
vpn-instance
vpn-instance-name
]
ip-address
[
mask
|
mask-length
]
[
longer-match
] [
verbose
]
display ip routing-table
[
vpn-instance
vpn-instance-name
]
ip-address1
to
ip-address2
[
verbose
]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
vpn-instance
vpn-instance-name
: Specifies an MPLS L3VPN instance by its name, a case-sensitive string
of 1 to 31 characters. Without this option, the command displays routing information for the public
network.
ip-address
: Specifies a destination IP address in dotted decimal notation.
mask
: Specifies the IP address mask in dotted decimal notation.
mask-length
: Specifies the mask length, an integer in the range of 0 to 32.
longer-match
: Displays the route entry with the longest mask.
ip-address1
to
ip-address2
: Specifies a destination IP address range.
verbose
: Displays detailed routing table information, including information about both active and
inactive routes. Without this keyword, the command displays brief information about active routes.
Usage guidelines
Executing the command with different parameters yields different outputs:
•
display ip routing-table
ip-address
:
{
The system ANDs the entered destination IP address with the subnet mask in each active route
entry.
{
The system ANDs the destination IP address in each active route entry with its own subnet mask.
If the two operations yield the same result for an entry, the entry is displayed.
•
display ip routing-table
ip-address
mask
:
{
The system ANDs the entered destination IP address with the entered subnet mask.
{
The system ANDs the destination IP address in each active route entry with the entered subnet
mask.