Proxim ORiNOCO AP-2500 Manual de usuario Pagina 241

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 250
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 240
241
XML Interface Specification
Sample XML Communications with the AP
The following is an example of the commands to set access for a new subscriber with the following attributes:
User Name: johndoe
MAC address: 0050da554787
NOTE
The following examples contain CRLFs and spacing for display clarity only. A query string must not contain
any formatting or line-break characters. It also must be URL encoded.
1. AP sends (via HTML GET Method to http://[Your Server IP Address]/[Your Scripts]):
http://[Your Server IP Address]/[Your Scripts]?UI=000177&UURL=
http://208.46.165.157&MA=0050da554787&RN=101&OS=http://204.71.200.74&SC=6302
2. EWS sends (via HTTP POST Method to http://[AP_IP_Address]:1111/usg/command.xml):
<USG COMMAND="USER_ADD" MAC_ADDR="0050da554787">
<USER_NAME>johndoe</USER_NAME>
<PASSWORD ENCRYPT="FALSE">doededoe</PASSWORD>
<EXPIRY_TIME UNITS="SECONDS">3600</EXPIRY_TIME>
<ROOM_NUMBER></ROOM_NUMBER>
<PAYMENT_METHOD>RADIUS</PAYMENT_METHOD>
<CONFIRMATION></CONFIRMATION>
<PAYMENT></PAYMENT>
</USG>
3. AP sends (via HTTP POST Method to http://[Your Server IP Address]/[Your Scripts] ):
<USG RESULT="OK" ID="00011B" IP="208.46.165.30"></USG>
Where: the ID is the AP's ID and the IP is the AP’s IP address.
4. EWS sends (via HTTP POST Method to http://[AP_IP_Address]:1111/usg/command.xml):
<USG COMMAND="CACHE_UPDATE" MAC_ADDR="0050da554787">
<PAYMENT_METHOD>RADIUS</PAYMENT_METHOD>
</USG>
5. AP sends (via HTTP POST Method to http://[Your Server IP Address]/[Your Scripts] ):
<USG RESULT="OK" ID="00011B" IP="208.46.165.30"></USG>
6. EWS sends (via HTTP POST Method to http://[AP_IP_Address]:1111/usg/command.xml):
<USG COMMAND="SET_BANDWIDTH_UP" SUBSCRIBER="0050da554787">
<BANDWIDTH_UP>3000</BANDWIDTH_UP>
</USG>
7. AP sends (via HTTP POST Method to http://[Your Server IP Address]/[Your Scripts]):
<USG RESULT="OK" ID="00011B" IP="208.46.165.30"></USG>
8. EWS sends (via HTTP POST Method to http://[AP_IP_Address]:1111/usg/command.xml):
<USG COMMAND="SET_BANDWIDTH_DOWN" SUBSCRIBER="0050da554787">
<BANDWIDTH_DOWN>1500</BANDWIDTH_DOWN>
</USG>
9. AP Sends (via HTTP POST Method to http://[Your Server IP Address]/[Your Scripts] ):
<USG RESULT="OK" ID="00011B" IP="208.46.165.30"></USG>
Vista de pagina 240
1 2 ... 236 237 238 239 240 241 242 243 244 245 246 ... 249 250

Comentarios a estos manuales

Sin comentarios