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 [2020/08/24 15:21] gray |
||
---|---|---|---|
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> | ||
Line 797: | Line 816: | ||
surveyor.ping.status integer 0 = disabled, 1 = enabled Supervision administrative status | surveyor.ping.status integer 0 = disabled, 1 = enabled Supervision administrative status | ||
surveyor.ping.x.wanlink string Supervision WAN link name | surveyor.ping.x.wanlink string Supervision WAN link name | ||
- | surveyor.ping.x.mode integer 0 = also validate when link comes up, Supervision ping mode | + | surveyor.ping.x.mode integer 1 = also validate when link comes up, Supervision ping mode |
- | 1 = only validate if link is up | + | 2 = only validate if link is up |
surveyor.ping.x.primary address Supervision primary ping address | surveyor.ping.x.primary address Supervision primary ping address | ||
surveyor.ping.x.secondary address Supervision secondary ping address | surveyor.ping.x.secondary address Supervision secondary ping address |