LAN_HOSTNAME

Description

Get or Set Host Name in the device. It allows user to access the device by Host name rather IP address. Some networking configurations in user's PC need to be set correctly to use this function.

The input argument string length will be checked before apply it.

If the CHANNEL=n was set with this URL to the Multi-Channel device, the Router's Host name configuration will be returned.

Input Argument

Character strings (< 24 Bytes)

Attribute

Return of Message

LAN_HOSTNAME='LocalHost'
OK: LAN_HOSTNAME='LocalHost'
or
ERROR: LAN_HOSTNAME='LocalHost'

Applicability

Status

Valid

See Also

LAN, LAN_IP, LAN_NETMASK

Example

http://ip:port/cgi-bin/system?USER=Admin&PWD=123456&LAN_HOSTNAME
or
http://ip:port/cgi-bin/cmd/system?LAN_HOSTNAME
http://ip:port/cgi-bin/system?USER=Admin&PWD=123456&LAN_HOSTNAME=LocalHost
http://ip:port/cgi-bin/cmd/system?LAN_HOSTNAME=LocalHost

Back to

HOME, SYSTEM CGI