2 ‘get’ command – SENA LS100 User Manual

Page 17

Advertising
background image

17

next indicates the default gateway IP address.

If users want to change only one of the parameters of the group, users can omit trailing parameters

and/or can use ‘*’ to keep a parameter value. The screen below will show how to change subnet mask

only without changing IP address and gateway IP address.

> set ip static * 255.255.0.0
OK
>

Figure 2-10 Changing only one parameter value example

Command usage of ‘set’ will differ depending on the groups. Each ‘set’ command usage of the group

can be found using ‘help group’ command. For example, if users want to know how to use ‘set’

command to configure IP configuration, typing ‘help ip’ + <CR> will show ‘set’ command usage for the

IP configuration as shown in Figure 2-11.

> help ip
set ip ipmode par1 par2 ...
- ipmode: static=Static IP / dhcp=DHCP / pppoe=PPPoE
- parameters:
if ipmode = static,

par1 = IP address,
par2 = subnet mask,
par3 = gateway

if ipmode = dhcp,

no parameters required

if ipmode = pppoe,

par1 = PPPoE username,
par2 = PPPoE password

>

Figure 2-11 Help screen example

Note: The changed values will not take effect until ‘save’ and ‘reboot’ commands are invoked. For

more details, please refer to section 2.4.5 ~ 2.4.7.

2.4.2 ‘get’ Command

With ‘get’ command, users can view the current parameter values and status of the LS100. Basic ‘get’

command usage is as follows:

get [group] + <CR>

where,

group = 'ip','host','serial' , 'admin' or 'status'

- If group is specified, shows settings of the group.

- If group is omitted, shows settings of all groups.

Advertising