摘要 |
<p>Provided is a port setting method, comprising: sending a first detection message and a second detection message that are sent simultaneously through a port, where in the first detection message is used to detect a first network server and a second detection message is used to detect a second network server, and setting a working mode of the port to a wide area network (WAN) mode if at least one of a first response to the first detection message and a second response to the second detection message is received within a predetermined time; setting the working mode of the port to a local area network (LAN) mode if no response is received with the predetermined time. Also provided are a corresponding routing device and a computer program product. Through the provided port setting method, routing device, and computer program product, the routing device can automatically set the working mode of the port to the WAN mode or LAN mode, thus simplifying the process of setting the work mode of the port.</p> |
申请人 |
HUAWEI DEVICE CO., LTD.;PENG, BIN;WU, GUZHENG;LIU, SHENGQIANG;XUE, GUIYING;YU, JINGJING;ZHAO, YANG |
发明人 |
PENG, BIN;WU, GUZHENG;LIU, SHENGQIANG;XUE, GUIYING;YU, JINGJING;ZHAO, YANG |