get-eth-status

Use the interface to retrieve the ethernet configurations with administrative rights.

HTTP Request

GET http://ip/mwapi?method=get-eth-status
Parameter Description
method get-eth-status

Response Body

{
 "status": 0,
 "use-dhcp": true,
 "device-name": "Pro Convert",
 "state": "1000m",
 "mac-addr": "70:B3:D5:75:D2:41",
 "ip-addr": "192.168.1.90",
 "ip-mask": "255.255.255.0",
 "gw-addr": "192.168.1.1",
 "dns-addr": "10.0.0.3",
 "tx-speed-kbps": 0,
 "rx-speed-kbps": 5
}
Name Description
status 0 indicates that the request was accepted successfully. Refer to API Status Codes to find specific description for other values.
use-dhcp Shows whether to use DHCP to retrieve IP address. If yes, it shows true; otherwise, it is false.
device-name Shows the device name.
state Shows Ethernet network connection status and the bandwidth speed, including down, disconnected, 10m, 100m, 1000m, 2500m, 5000m, 10000m.
mac-addr Shows the MAC address.
ip-addr Shows the IP address.
ip-mask Shows the subnet mask address.
gw-addr Shows the gateway address.
dns-addr Shows the DNS server address.
tx-speed-kbps Shows the Ethernet send speed in Kbps.
rx-speed-kbps Shows the Ethernet receive speed in Kbps.

results matching ""

    No results matching ""