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

mksx25 Command


Initializes the attributes of an X.25 port.


General Use:

mksx25  {  [  -c  Class  ] [  -s  Subclass  ] [  -t  Type  ]  } [  -l  Name  ]  [  -a  Attribute=Value . . .  ] [  -d  |  -S  ] [  -p  ParentName  ] [  -q  ] [  -w  ConnectionLocation  ] [  -f  File  ]

To Prevent Device from Being Set to Available:

mksx25   -l  Name -S  ] [  -f  File  ]

To Display Command Usage:

mksx25  -h


The mksx25 command initializes the attributes of the X.25 port specified. The System Management Interface Tool (SMIT) fast path select may be used to run this command. To add a port to a parent configured on a Portmaster adapter, using SMIT, enter:

smit mksx25pm

To add a port to a parent configured on an X.25 CoProcessor adapter, using SMIT, enter:

smit mksx25c

This is a fast path to the SMIT screens that allow the port to be added to the system.


-a Attribute=Value Specifies the X.25 port attributes and their values. You can either use one -a flag for a string of Attribute=Value pairs and enclose the string in single quotation marks, or use one -a flag for each pair. Four attributes are accepted by the mksx25 command:
  • local_nua
  • network_id
  • country_prefix
  • nddname, the "Network Device Driver" name for the port driver. This attribute is used when the X.25 port is managed by the hdlc device driver.
local_nua The port's network user address is required.
network_id Network identifier. This attribute may have one of the following values:
1 Datex-P
2 Datapac
3 Telenet
5 Other public
6 Other private
7 PSS-1 Extended
country_prefix The data country/geographical area codes as defined in CCITT-X.121 Annex D. The AIX/V3 X.25 Communications Cookbook also contains a listing of the country codes under Appendix C.
-c Class Specifies the device class from the predefined devices object class.
-d Defines the device in the customized devices object class. If you specify the -d flag, the port will only be in the defined state and not available. This flag cannot be used with the -S flag.
-f File Reads the needed flags from the File parameter. The user should not include the -a Attribute=Value entries with in File. All attributes should be specified on the command line.
-h Displays the command usage message.
-l Name (lowercase L) Specifies the already defined device, indicated by the Name parameter, in the customized devices object class when not used with the -c, -s, and -t flags. The -a, -p, and -w flags cannot be used in this case.
-pParentName Specifies the parent device logical name from the customized devices object class.
-q Suppresses the command output messages from standard output and standard error.
-S Prevents the device from being set to the available state. This flag is only meaningful for those devices that support the stopped state. This flag cannot be used with the -d flag.
-sSubclass Specifies the device subclass from the predefined devices object class.
-tType Specifies the device type from the predefined devices object class.
-wConnectionLocation Specifies the connection location on the parent where this child device is defined.
Note: The -pParentName and -w ConnectionLocation parameters are used when configuring a port which uses the twd driver. The ConnectionLocation value corresponds to the port number where X.25 is configured, when the port is managed by the twd driver.

See Chapter 4, "Managing X.25 Ports" for more information.


To configure X.25 on port 2 of adapter driver twd0, with an NUA of 123456789, network ID of 5, and country code of 334, enter:

mksx25 -c port -s star -t stx25 -p twd0 -w 2 \
>  -a 'local_nua=123456789 network_id=5 country_prefix=334'

Related Information

The chdev command, chsx25 command, lsdev command, lspvc command, mkdev command, mkpvc command, rmdev command, and rmsx25 command.

System Management Interface Tool (SMIT): Overview in AIX Version 3.2 System Management Guide: Operating System and Devices.

[ Previous | Next | Contents | Search ]