![Sena NEMO10 Скачать руководство пользователя страница 21](http://html1.mh-extra.com/html/sena/nemo10/nemo10_user-manual_1237928021.webp)
21
> set ip static 192.168.1.100 255.255.255.0 192.168.1.1
OK
>
Figure 2-12. 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 NEMO10 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-13. 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-14.
> 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-14. 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.