Audiovox P965 Datasheet Page 273

  • Download
  • Add to my manuals
  • Print
  • Page
    / 280
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 272
API PHP class
270
[strength-at-rates] => -73dBm@1Mbps 4m4s640ms,-73dBm@2Mbps 4m58s730ms,[email protected] 42s450ms,-73dBm@11Mbps 90ms
[tx-ccq] => 91
[p-throughput] => 5861
[ack-timeout] => 31
[last-ip] => 192.168.0.220
[802.1x-port-enabled] => true
[wmm-enabled] => false
)
[1] => Array
(
...
)
...
)
Example 3
Adding vpn user
$API->comm("/ppp/secret/add", array(
"name" => "user",
"password" => "pass",
"remote-address" => "172.16.1.10",
"comment" => "{new VPN user}",
"service" => "pptp",
));
Example 4
Find registration-table id for specified MAC
$ARRAY = $API->comm("/interface/wireless/registration-table/print", array(
".proplist"=> ".id",
"?mac-address" => "00:0E:BB:DD:FF:FF",
));
print_r($ARRAY);
Example 5
Count leases from specific IP Pool (using regexp count all IPs starting with 1.1.x.x)
$ARRAY = $API->comm("/ip/dhcp-server/lease/print", array(
"count-only"=> "",
"~active-address" => "1.1.",
));
print_r($ARRAY);
or
$API->write('/ip/dhcp-server/lease/print', false);
$API->write('=count-only=', false);
Page view 272

Comments to this Manuals

No comments