Technical data

Configuring Routing
4.2 Configuring Static Routes
4.2.3 Displaying Manually Defined Routes
To display static routes, use the SHOW ROUTE command. To see the permanent
database, specify the /PERMANENT qualifier.
The display shows the following types of routes:
A Active route (A route that was created manually or associated with an
interface.)
D Dynamic route. (A route that was dynamically created by the ROUTED
or GATED routing daemon.)
H Host route (A route to a host.)
N Network route (A route to a network.)
P Permanent route (A route from the route database.)
To display a route that was defined by an address, specify either its address or a
wildcard.
Some examples of displaying routes are listed below.
1. The following example displays information about all the manually defined
routes.
TCPIP> SHOW ROUTE /FULL
DYNAMIC
Type Destination Gateway
AN 11.111.0.0 destin_host1 11.110.5.118 gate_host
AH 22.111.4.10 destin_host2 22.110.5.120 gate_host_2
2. The following example displays the permanent static routes that were defined
with SET ROUTE/PERMANENT.
TCPIP> SHOW ROUTE /PERMANENT
PERMANENT
Type Destination Gateway
PN 0.0.0.0 11.20.208.100 pterodactyl.extinct.com
PN 1.1.1.1 22.2.2.2
Another way to display route information is by using the
netstat
UNIX
command. For example, to display the routes, and suppress conversion of
network numbers to names, enter the following commands:
$ @SYS$MANAGER:TCPIP$DEFINE_COMMANDS.COM
$ netstat -rn
Routing tables
Destination Gateway Flags Refs Use Interface
Route Tree for Protocol Family 26:
Route Tree for Protocol Family 2:
default 16.20.0.173 UG 0 0 WE1
default 16.20.0.173 UG 0 0 WE0
16.20/16 16.20.208.161 U 2 56 WE1
16.20/16 16.20.208.160 U 1 9 WE0
16.20.208.160 16.20.208.160 UHL 0 0 WE0
16.20.208.161 16.20.208.161 UHL 0 0 WE1
127.0.0.1 127.0.0.1 UHL 1 1 LO0
Configuring Routing 4–5