The remote access software supports a subset of the ITU-T X.28 command set. The supported commands and their use are described in this section. If a command is not supported by remote access, you get the PAD prompt (AIOPAD>) after the message ERR INVALID COMMAND.
The following commands are supported.
Use this command to make a call to a remote DTE.
Syntax
[call] rem_DTE_address | call_destination_name [call_user_data]
rem_DTE_address is the destination number to connect to the X.25 network.
call_destination_name is a profile name that is defined in the WAN Call Directory option in the NIASCFG program.
call_user_data contains protocol-specific and application-specific information. This parameter does not affect the transmission of your call, but it is recognized by the host DTE. Use it to specify a password that identifies the computer you are calling, or to make a request to start an application. The maximum length for this parameter is 12 bytes. Because this parameter is defined within a particular host, ask the host administrator if the host uses the User Data field and, if so, what that field contains.
The CALL command is optional for dialing out from LANs and dialing in to NCS dial-in ports. However, for dialing in to a non-dial-in port, the CALL command must be specified with call_user_data.
Here are some sample CALL commands:
rem_DTE_address
rem_DTE_address [call_user_data]
call rem_DTE_address [call_user_data]
call call_destination_name
call call_destination_name [call_user_data]
Response
COM: The call was successful.
CLR xxx: There was an error in the call and xxx is the cause.
Call Error Invalid DTE Address
Call Error Invalid User Data
Call Error Invalid Facility Requested
Call Error Invalid CSL Target Name
Use this command to disconnect a connection. The virtual port automatically goes into command mode after the disconnect.
Syntax
clr
Response
CLR CONF: The disconnection was successful.
CLR ERR: An error occurred during the disconnection.
Use this command to send an interrupt packet to the remote DTE.
Syntax
int
Response
Interrupt Packet Sent
Use this command to display the status of the virtual port.
Syntax
stat
Response
FREE: The PAD is not connected.
ENGAGED: The PAD is currently connected.
Use this command to select one of the profiles configured in the AIOPAD.
Syntax
prof profile_name
profile_name is the name of the profile defined in remote access.
Use this command to display the current values of the virtual port's PAD parameters.
Syntax
par? [p1,...,p22]
p1 to p22 are the parameter numbers of the parameter or parameters being queried.
Response
PAR parm:value1,..., value22
parm is the parameter number.
value is the value of the parameter.
Use this command to display the current value of the remote PAD's parameters.
Syntax
rpar? [p1,...,p22]
p1 to p22 are the parameter number(s) of the parameter or parameters being queried.
Response
RPAR parm:value1,..., value22
parm is the parameter number.
value is the value of the parameter.
Use this command to set the virtual port's PAD parameters.
Syntax
set parm:value
parm is the parameter number to be changed.
value is the new value of the parameter.
Use this command to set and display the new value of the virtual port's PAD parameters.
Syntax
set? [p1,...,p22]
p1 to p22 are the parameter number(s) of the parameter or parameters being queried.
Response
PAR parm:value1,..., value22
parm is the parameter number.
value is the value of the parameter.
Use this command to set the parameters of the remote PAD.
Syntax
rset parm:value
parm is the parameter number to be changed.
value is the new value of the parameter.
Use this command to set and display the new value of the remote PAD's parameters.
Syntax
rset? [p1,...,p22]
p1 to p22 are the parameter number(s) of the parameter or parameters being queried.
Response
RPAR parm:value1,..., value22
parm is the parameter number.
value is the value of the parameter.
Use this command to put a remote access port in autoanswer mode. This allows a remote user to dial in to remote access through an X.25 network. The remote control third-party application must support X.25 connections.
Syntax
listen [call_user_data]
call_user_data contains protocol-specific and application-specific information. This parameter does not affect the transmission of your call. The maximum length for this parameter is 12 bytes. This parameter can be used with the CALL command for dialing in to non-dial-in ports (NCS dial-in ports).
Response
Waiting for Incoming Call
Use this command to cancel the LISTEN command. It resets a remote access port that was set to autoanswer mode so that the port is not waiting for incoming calls.
Syntax
cancel
Use this command to reinitialize the link without disconnecting.
Syntax
reset
Response
Reset packet sent