发明名称 |
Method and device for updating port index, and multi-device system |
摘要 |
Embodiments of the present invention relate to a method and a device for updating a port index in a multi-device system, and a multi-device system. The method includes: detecting whether a device ID of a device is changed in a multi-device system, where the detecting is performed by comparing device IDs of each device in the multi-device system before and after the detection; and for a device whose device ID is changed in the system, updating a port index of the device according to the device ID after the change, where the port index is used to acquire configuration data of the port. The embodiments of the present invention solve the problem of failing to find correct port configuration data by using the port index because the device ID is changed. |
申请公布号 |
US9094341(B2) |
申请公布日期 |
2015.07.28 |
申请号 |
US201313764455 |
申请日期 |
2013.02.11 |
申请人 |
HUAWEI TECHNOLOGIES CO., LTD. |
发明人 |
Zong Zhigang |
分类号 |
H04L12/741;G06F13/38;H04L12/24 |
主分类号 |
H04L12/741 |
代理机构 |
Brinks Gilson & Lione |
代理人 |
Brinks Gilson & Lione |
主权项 |
1. A method for updating a port index in a multi-device system, comprising:
detecting, by a master device of the multi-device system, whether a device ID of a device is changed in the multi-device system, wherein the detecting is performed by comparing device IDs of each device in the multi-device system before and after the detection; and for a device whose device ID is changed in the system, updating, by the master device, a port index of the device according to a device ID after the change, wherein the port index is used to acquire configuration data of the port, wherein the port index comprises a first index and a second index, the first index comprises a device ID and a corresponding bridge MAC address, and the second index comprises the bridge MAC address and a port number. |
地址 |
Shenzhen CN |