
Administration Commands
define_tr_ls, define_ethernet_ls, define_fddi_ls
Parameter Check
If the command does not execute because of a parameter error, SNAplus2 returns the following parameters:
primary_rc
PARAMETER_CHECK
secondary_rc
INVALID_DLC_NAME
The supplied dlc_name parameter contained a character that was not valid.
State Check
If the command does not execute because of a state error, SNAplus2 returns the following parameters:
primary_rc
STATE_CHECK
secondary_rc
Possible values are:
DLC_ACTIVE
The neg_ls_supp parameter cannot be modified because the DLC is currently active.
INVALID_DLC_TYPE
You cannot change the negotiable link support for an existing DLC. This parameter can be specified only when creating a new DLC.
Other Conditions
Appendix A, Common Return Codes from snapadmin Commands, lists combinations of primary and secondary return codes that are common to all commands.
2.60 define_tr_ls, define_ethernet_ls, define_fddi_ls
The define_tr_ls command is used to define a new Token Ring link station (LS) or modify an existing one. Before issuing this command, you must define the port that this LS uses.
The define_ethernet_ls command is used to define a new Ethernet link station (LS) or modify an existing one. Before issuing this command, you must define the port that this LS uses. The parameters and defaults are the same as for define_tr_ls, except where noted.
The define_fddi_ls command is used to define a new FDDI link station (LS) or modify an existing one. Before issuing this command, you must define the port that this LS uses. The parameters and defaults are the same as for define_tr_ls, except where noted.
You cannot use this command to modify the port used by an existing LS; the port_name specified on the command must match the previous definition of the LS. The LS can be modified only if it is not started.
2.60.1 Supplied Parameters
Parameter name | Type | Length | Default |
[define_tr_ls], [define_ethernet_ls], [define_fddi_ls] |
| ||
ls_name | character | 8 |
|
description | character | 31 | (null string) |
225