Technical data

SHOW ROUTE
SHOW ROUTE
Displays the permanent or volatile routes database. To display the permanent
database, use the /PERMANENT qualifier.
Looks up the destination you specify first in the hosts database and then, if this
lookup fails, in the networks database.
Displays the following routes and their types:
A Active route (created manually or associated with an interface)
D Dynamic route (created by ROUTED or GATED routing daemon)
H Host route (a route to a host)
N Network route (a route to a network)
P Permanent (from the routes database)
Related command: SET ROUTE
Format
SHOW ROUTE [ destination ]
[ /FULL ]
[ /GATEWAY=host ]
[ /LOCAL ]
[ /OUTPUT=file ]
[ /PERMANENT ]
Restrictions
Requires read access to the routes database.
Parameters
destination
Optional. Default: Displays all routes.
Destination host.
Qualifiers
/FULL
Optional. Default: Displays routes as specified in the routes database.
Displays mapping between destination addresses and names and gateway
addresses and names.
/GATEWAY=host
Optional. Default: All gateways.
Displays information for the specified host that performs as a gateway.
/LOCAL
Optional. Default: The command checks the hosts database; if a lookup fails, it
checks the BIND resolver.
Limits name-to-address lookups to the local hosts database.
2–186 Command Descriptions