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

chsx25 Command

Purpose

Re-initializes the attributes of an X.25 port.

Syntax

General Use:

chsx25  [  -l  Name  ]  [  -a  Attribute=Value . . .  ]  [  -p  ParentName  ]  [  -P  |  -T  ]  [  -q  ]  [  -w  ConnectionLocation  ]  [  -f  File  ]

To Display the Command Usage:

chsx25  -h

Description

The chsx25 command re-initializes the attributes of the specified X.25 port.

Flags

-l Name Specifies the defined port, indicated by the Name parameter, in the customized devices object class.
-p ParentName Specifies the new parent device logical name from the customized devices object class. This flag is used only when changing the parent of the port.
-w ConnectionLocation Specifies the new connection location on the parent where this child device is to be defined. This flag is used only when changing the connection location of the port.
Note: ConnectionLocation value corresponds to the port number where X.25 is configured.
-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.

Two attributes are accepted by the chsx25 command; the network_id and country_prefix.

network_id Network identifier. This attribute may have one of the following values:
1 Datex-P
2 Datapac
3 Telenet
4 DDN
5 Other public
6 Other private
7 PSS-1 Extended
8 TRANSPAC
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.
-f File Reads the needed flags from the File parameter. The user should not include the -a Attribute=Value entries within File. All attributes should be specified on the command line.
-P Changes the characteristics of the device permanently in the customized devices object class without actually changing the device. The change can be made to the database with the -P flag; and then by restarting the system, the changes will be applied to the port. This flag cannot be used with the -T flag.
-T Changes the characteristics of the device temporarily without changing the customized devices object class for the current start of the system. This flag cannot be used with the -P flag.
-h Displays the command usage message.
-q Suppresses the command output messages from standard output and standard error.

Examples

To re-initialize X.25 on port sx25a1 with network ID of 5 and a country code of 334, enter:

chsx25 -l sx25a1 -a 'network_id=5 country_prefix=334'

Related Information

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


[ Previous | Next | Contents | Search ]