Senatek LS100 manual 1 ‘set’ Command, IP configuration example screen

Models: LS100

1 46
Download 46 pages 30.74 Kb
Page 18
Image 18

2.4.1 ‘set’ Command

With ‘set’ command, users can configure parameter values of the LS100 for each environment. Basic ‘set’ command usage is as follows:

set group par1 [par2 ...] + <CR> where,

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

par1 par2 ... = configuration parameters. Use * to keep a parameter's value

The ‘group’ is the category where the parameters should be entered. For example, if users want to set parameters related to the IP configuration, use set command as shown in the Figure 2-9.

>set ip static 192.168.1.100 255.255.255.0 192.168.1.1

OK

Figure 2-9 IP configuration example screen

In the above example, the first parameter ‘ip’ indicates that the following parameters are IP configuration parameters. The second parameter ‘static’ indicates that the LS100 will use static IP address of the third parameter ‘192.168.1.100’. The fifth parameter indicates the subnet mask and the 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

18

Page 18
Image 18
Senatek LS100 manual 1 ‘set’ Command, IP configuration example screen