TotalNET Advanced Server 5.2 Reference Manual

tnroute

This command allows you to configure static routes for the tnipx transport. You can list, read the attribute values of, create, modify, and delete static routes. Only the IPX/SPX (tnipx) transport offers the capability to specify a set of static routes that supplement the routes determined through the transport's dynamic routing protocols.

Location

TNHOME/usr/sbin

Usage

tnroute [-L -n transport]
tnroute [-R [-n transport [-o route [{-a attribute}]]]]
tnroute [(-A|-M) -n transport -o route {-a attribute=value}
tnroute [-D -n transport -o route]

Options

-n transport

Specify a transport section. 

-o route

Specify a static route to configure. 

Attribute

gateway

This attribute designates the router address for reaching the target IPX network address.

Usage:

tnroute -M -n transport -o route -a gateway=gateway-address

Examples

  1. Use one of the following commands to list all available static routes for the tnipx transport:


    tnroute
    tnroute -L
    tnroute -L -n tnipx

    Sample Output:


    ccf2080f
  2. Use the following command to list the value of attribute gateway for static route ccf2080f:


    tnroute -R -n tnipx -o ccf2080f -a gateway
  3. Use the following command to add the value of the gateway attribute at address 00000101:0000a517810 for static route ccf2080f:


    tnroute -A -n tnipx -o ccf2080f -a gateway=00000101:0000a517810
  4. Use the following command to delete the static route ccf2080f:


    tnroute -D -n tnipx -o ccf2080f