NB2800
User Manual for NRSW version 4.5.0.100
http : / / 1 9 2 . 1 6 8 . 1 . 1 / cli . php?version=2&output=html&command=status
get - Get configuration parameter
Key usage :
command=get&arg0=<config−key >[& arg1=<config−key > . . ]
Examples :
http : / / 1 9 2 . 1 6 8 . 1 . 1 / cli . php?version=2&output=html&usr=admin&pwd=admin01&command=
get&arg0=config . version
http : / / 1 9 2 . 1 6 8 . 1 . 1 / cli . php?version=2&output=html&usr=admin&pwd=admin01&command=
get&arg0=openvpn . status&arg1=snmp . status&arg2=ipsec . status
set - Set configuration parameter
Key usage :
command=set&arg0=<config−key>&arg1=<config−value >[& arg2=<config−key>&arg3=<
config−value > . . ]
Notes :
In contrast to the other commands , this command requires a set of tuples
because of the reserved '=' char , i . e .
[ arg0=key0 , arg1=val0 ] , [ arg2=key1 , arg3=val1 ] , [ arg4=key2 , arg5=val2 ] , etc
Examples :
http : / / 1 9 2 . 1 6 8 . 1 . 1 / cli . php?version=2&output=html&usr=admin&pwd=admin01&command=
set&arg0=snmp . status&arg1=1
http : / / 1 9 2 . 1 6 8 . 1 . 1 / cli . php?version=2&output=html&usr=admin&pwd=admin01&command=
set&arg0=snmp . status&arg1=0&arg2=openvpn . status&arg3=1
restart - Restart a system service
Key usage :
command=restart&arg0=<service >
Notes :
Available services can be retrieved by running 'command = restart&arg0 =-h'
Examples :
http : / / 1 9 2 . 1 6 8 . 1 . 1 / cli . php?version=2&output=html&usr=admin&pwd=admin01&command=
restart&arg0=−h
http : / / 1 9 2 . 1 6 8 . 1 . 1 / cli . php?version=2&output=html&usr=admin&pwd=admin01&command=
restart&arg0=link−manager
209