This command gives you the ability to manage transport advertisements for the IPX/SPX transport. You can list, read the attribute values of, create, modify, and delete advertisements.
For special cases, the IPX/SPX transport tnipx allows you to specify a static set of services for the IPX Service Advertisement Protocol (SAP) to advertise, regardless of whether you have enabled or disabled the NetWare realm.
Advertisement names, similar to service names, consist of two parts separated by a colon (:). A valid service name for the NetWare realm precedes the colon. A hexadecimal number--made up of digits and lowercase letters a through f, with no leading zeroes--that specifies the physical service type follows the colon. It has the same meaning as the type attribute of a service type object (see "tnstype""tnstype).
TNHOME/usr/sbin
tnadvert -L [-n transport] tnadvert [-R [-n transport [-d service:type [{-a attribute=value}]]]] tnadvert [(-A|-M) -n transport -d service:type {-a attribute=value}] tnadvert [-D -n transport -d service:type]
-n transport |
Specify the IPX/SPX transport. |
-d service:type |
Specify the advertisement. |
This attribute designates the fixed-socket number for a service. It sets the IPX socket number for the service types requested. The value for fixed-socket consists of a hexadecimal number up to four digits long. It defaults to 0. Any other indicated value represents a protocol-dependent numeric socket designation.
tnadvert -M -n transport -d service:type -a fixed-socket=number
Use one of the following commands to list all available advertisements for the tnipx transport:
tnadvert tnadvert -L tnadvert -L -n tnipx |
Use the following command to list the value of the fixed-socket attribute for the tnipx transport and advertisement service1:4:
tnadvert -R -n tnipx -d service1:4 -a fixed-socket |
Use the following command to modify the value of the fixed-socket attribute of the newservice:4 advertisement of the tnipx transport by changing it to 0x20:
tnadvert -M -n tnipx -d newservice:4 -a fixed-socket=0x20 |
Use the following command to delete the tnipx advertisement newservice:4:
tnadvert -D -n tnipx -d newservice:4 |