This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
documentation:config-parameters [2019/09/18 15:12] bollinger [Configuration Parameters] |
documentation:config-parameters [2019/09/19 14:05] fachet |
||
---|---|---|---|
Line 11: | Line 11: | ||
$ cli get -c wanlink.1 | $ cli get -c wanlink.1 | ||
$ cli get -c wanlink.1. | $ cli get -c wanlink.1. | ||
+ | </code> | ||
+ | |||
+ | Use cli get/set to read and write paramters. | ||
+ | Example as user admin (password of web gui): | ||
+ | <code> | ||
+ | NB1600 Command Line Interface (version 1.1) | ||
+ | > get network.lan.1.address | ||
+ | network.lan.1.address=192.168.2.2 | ||
+ | > set network.lan.1.address=192.168.2.1 | ||
+ | > get network.lan.1.address | ||
+ | network.lan.1.address=192.168.2.1 | ||
+ | </code> | ||
+ | Example as user root (password of web gui): | ||
+ | <code> | ||
+ | $ cli get network.lan.1.address | ||
+ | network.lan.1.address=192.168.2.1 | ||
+ | $ cli set network.lan.1.address=192.168.2.2 | ||
+ | $ cli get network.lan.1.address | ||
+ | network.lan.1.address=192.168.2.2 | ||
</code> | </code> | ||