936CHAPTER 71: IP ROUTING TABLE COMMANDS

Parameters ip-address: Destination IP address, in dotted decimal format.

mask-length: IP address mask length in the range 0 to 32.

mask: IP address mask in dotted decimal format.

longer-match: Displays the route with the longest prefix.

verbose: Displays detailed routing table information, including both active and inactive routes. With this keyword absent, the command displays only brief information about active routes.

Description Use the display ip routing-tableip-addresscommand to display information about routes to a specified destination address.

Executing the command with different parameters yields different output:

display ip routing-table ip-address

The system ANDs the input destination IP address with the subnet mask in each route entry; and ANDs the destination IP address in each route entry with its corresponding 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; and

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.

Only route entries that exactly match the input destination address and mask are displayed.

display ip routing-table ip-addresslonger-match

The system ANDs the input destination IP address with the subnet mask in each route entry; and ANDs the destination IP address in each route entry with its corresponding 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; and

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.

Page 936
Image 936
3Com MSR 30, MSR 50 manual Display ip routing-table ip-address mask, Display ip routing-table ip-addresslonger-match