[ Previous | Next | Contents | Search ]
AIXLink/X.25 1.1 for AIX: Guide and Reference

Configuration Commands

The X.25 Licensed Program can be configured directly from the command line if this is desired, though for most users the SMIT interface is preferable. A set of general system and specific X.25 commands allow the X.25 system to be configured.

Managing Device Driver

Instances of the adapter device driver twd are added and deleted through the system commands mkdev and rmdev. The port and adapter numbers used in the following examples would have to be replaced by those needed on a particular system.

Add a driver

mkdev -c driver -s artic -t star -w0 -p 'apm1'

This assumes a Portmaster adapter, but could equally be a coprocessor ampx. For more details, see the mkdev command.

Remove a driver

rmdev -l twd1

Moves the driver twd1 to the defined state. Using the -d option also removes the configured data from the database. For more details, see the rmdev command.

List drivers

lsdev -C -t star or lsx25

For more details, see the lsdev or lsx25 commands.

Managing X.25 Ports

To manage the X.25 ports, the X.25 commands listed should be used.

Add a port The appropriate command to use depends on which base device driver (twd or hdlc) is used by the port.
Note: The following is only an example.
If the port uses the hdlc device driver:
mksx25 -c port -s star -t stx25 -a nddname='hdlc2'
               -a local_nua='54663' -a network_id='5'
If the port uses the twd device driver:
mksx25 -c port -s star -t stx25 -p 'twd1' -w '4'
               -a local_nua='54663' -a network_id='5'
Change a port chsx25 -l sx25a0 -a...
Changes the attributes listed for the port given. This allows such things as VC ranges and packet sizes. to be modified. For more details, see the chsx25 command.
Remove a port rmsx25 -l sx25a0
Moves the port sx25a0 to the defined state. Using the -d option also removes the configured data from the database. For more details, see the rmsx25 command.
List ports lsdev -C -t stx25
Add a non-default PVC    mkpvc -U -l sx25a0 -n 4 -s 256
Adds a non-default PVC on port sx25a0 's logical channel number 4, itsnon-default characteristic being a transmit packet size of 256. For more details, see the mkpvc command.
List PVCs lspvc -l sx25a0
For more details, see the lspvc command.

[ Previous | Next | Contents | Search ]