![KeeNetic Lite KN-1310 Command Reference Manual Download Page 306](http://html1.mh-extra.com/html/keenetic/lite-kn-1310/lite-kn-1310_command-reference-manual_3863741306.webp)
Content-type: text/xml
Content-Length: 760
<packet>
<response id="1">
<interface name="ISP">
<mac>ec:43:f6:d3:22:d9</mac>
<id>FastEthernet0/Vlan2</id>
<index>2</index>
<type>VLAN</type>
<description>Broadband connection</description>
<link>down</link>
<connected>no</connected>
<state>up</state>
<mtu>1500</mtu>
<tx-queue>1000</tx-queue>
<global>yes</global>
<defaultgw>no</defaultgw>
<priority>700</priority>
<security-level>public</security-level>
<auth-type>none</auth-type>
</interface>
<message code="268370345" ident="Network::Interface::Base"
source="">done</message>
</response>
</packet>
The
<request>
element is always sent from the user agent to the device. The device always
responds with a
<response>
. The
id
attribute can be used to establish one-to-one
correspondence between them.
Figure B.1. Request Element
<request id="identifier">
<!-- request content -->
</request>
Figure B.2. Response Element
<response id="identifier">
<!-- response content -->
</response>
There are two basic types of XML requests:
Command Request
Execute a specific command on the device. Available
commands are described in
Configuration Request
Get parameters that have been configured by a specific
command.
B.2.1 Command Request
Command request can be used to execute a specific command on the device.
Command Reference Guide — Keenetic Lite (KN-1310)
306
Appendix B HTTP API
Summary of Contents for Lite KN-1310
Page 2: ......
Page 6: ...Command Reference Guide Keenetic Lite KN 1310 6 Contents Overview...
Page 18: ...Command Reference Guide Keenetic Lite KN 1310 18 Table of Contents...
Page 20: ...Command Reference Guide Keenetic Lite KN 1310 20 Chapter 1 Product Overview...
Page 26: ...Command Reference Guide Keenetic Lite KN 1310 26 Chapter 2 Introduction to the CLI...
Page 314: ...Command Reference Guide Keenetic Lite KN 1310 314 Appendix C SNMP MIB...