![](/images/new-backgrounds/1308428/308428201x1.webp)
Administration Commands
define_ip_ls
State Check
If the command does not execute because of a state error, SNAplus2 returns the following parameters:
primary_rc
STATE_CHECK
secondary_rc
DLC_ACTIVE
A parameter cannot be modified because the DLC is currently active.
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.32 define_ip_ls
The define_ip_ls command is used to define a new link station (LS) for Enterprise Extender (HPR/IP), or modify an existing one. Before issuing this command, you must define the port that this LS uses.
You cannot use this command to modify the port used by an existing LS; the name of the port specified in the port_name parameter for this command must match the previous definition of the LS. The LS can be modified only if it is not started.
2.32.1 Supplied Parameters
Parameter name | Type | Length | Default |
|
[define_ip_ls] |
|
|
|
|
ls_name | character | 8 |
|
|
description | character | 31 | (null string) |
|
port_name | character | 8 |
|
|
adj_cp_name | character | 17 | (null string) |
|
adj_cp_type | constant |
| LEARN_NODE |
|
lsap_address | decimal |
| 4 |
|
auto_act_supp | constant |
| NO |
|
tg_number | decimal |
| 0 |
|
limited_resource | constant |
| NO |
|
disable_remote_act | constant |
| NO |
|
link_deact_timer | decimal |
| 30 |
|
default_nn_server | constant |
| NO |
|
ls_attributes | constant |
| SNA |
|
adj_node_id | hex array | 4 |
|
|
local_node_id | hex array | 4 |
|
|
cp_cp_sess_support | constant |
| YES |
|
use_default_tg_chars | constant |
| YES |
|
effect_cap | decimal |
| 9600connect_cost | decimal |
byte_cost | decimal |
| 0 |
|
security | constant |
| SEC_NONSECURE |
|
prop_delay | constant |
| PROP_DELAY_MINIMUM |
|
user_def_parm_1 | decimal |
| 0 |
|
user_def_parm_2 | decimal |
| 0 |
|
user_def_parm_3 | decimal |
| 0 |
|
target_pacing_count | decimal |
| 7 |
|
101