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:
o A - Active route (created manually or associated with an
interface)
o D - Dynamic route (created by ROUTED or GATED routing daemon)
o H - Host route (a route to a host)
o N - Network route (a route to a network)
o P - Permanent (from the routes database)
Related command: SET ROUTE
Format
SHOW ROUTE [ destination ]
[ /FULL ]
[ /GATEWAY=host ]
[ /LOCAL ]
[ /OUTPUT=file ]
[ /PERMANENT ]
1 – Restrictions
Requires read access to the routes database.
2 – Parameters
destination
Optional. Default: Displays all routes.
Destination host.
3 – Qualifiers
3.1 /FULL
Optional. Default: Displays routes as specified in the routes
database.
Displays mapping between destination addresses and names and
gateway addresses and names.
3.2 /GATEWAY
/GATEWAY=host
Optional. Default: All gateways.
Displays information for the specified host that performs as a
gateway.
3.3 /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.
3.4 /OUTPUT
/OUTPUT=file
Optional. Default: Screen display.
Sends output to the specified file.
3.5 /PERMANENT
Optional.
Displays only the permanent routes database.
o If TCP/IP Services is running and you omit /PERMANENT, the
volatile database is displayed.
o If TCP/IP Services is not running, the permanent database is
displayed.
4 – Examples
1.TCPIP> SHOW ROUTE
DYNAMIC
Type Destination Gateway
AN 0.0.0.0 16.20.0.173
AN 16.20.0.0/16 16.20.208.100
AH 16.20.208.100 16.20.208.100
AH 127.0.0.1 127.0.0.1
Displays all defined routes.
2.TCPIP> SHOW ROUTE "robin"
Displays the network route to host robin.