The management-server command configures a host computer.
The undo management-server command deletes the host computer configuration.
By default, no host computer is configured.
management-server { domain domain-name | server-ip server-ip } server-port server-port-num [ ext-channel ]
undo management-server { domain domain-name | server-ip server-ip } server-port server-port-num [ ext-channel ]
Parameter |
Description |
Value |
---|---|---|
domain domain-name |
Specifies the domain name of a host computer. |
The value is a string of 1 to 63 case-insensitive characters without spaces. The value contains letters, digits, and underscores (_) or dots (.). |
server-ip server-ip |
Specifies the IP address of a host computer. |
The value is in dotted decimal notation. |
server-port server-port-num |
Specifies the port number of a host computer. |
The value is an integer that ranges from 1 to 65535. |
ext-channel |
Specifies an extension channel. |
- |
Usage Scenario
An AP functions as a server or client to communicate with a host computer in bi-directional mode. When the AP reports data (Huawei APs only transparently transmit data to the host computer, and do not parse or collect data) to the host computer, the AP functions as a client and the host computer functions as a server. When the AP receives data from the host computer, the AP functions as a server and the host computer functions as a client. The domain name/IP address and one port of at least one host computer must be configured. Otherwise, serial data reported by the AP will be discarded.
Precautions
You can configure multiple host computers. An RFID card of the common type supports a maximum of four host computers. After four host computers have been configured, you need to delete a host computer before adding a new host computer. Host computers can only be deleted or added, but cannot be modified. An IoT card of the cas-edu type supports only one host computer.
When a ZigBee card is used, information about two host computers must be configured. The channel of the second host computer is an extension channel specified by the ext-channel parameter. Only one extended channel can be configured. The two channels cannot be configured with the same port number and IP address, or the same port number and domain name.
When multiple host computers are configured, the device automatically selects one available host computer for link establishment rather than establish links with multiple host computers.