Patent ID: 9100336
Filing Date: 2015-08-04
Classification: H04L

Abstract:
1. A method for managing a switch chip port, operating in a distributed communications system, wherein the distributed communications system comprises a switch board, a main control board, and multiple service boards, the main control board comprises a first switch chip, configured to connect to one or more service boards among the multiple service boards through one or more ports of the first switch chip respectively to implement data exchange on a management plane of the distributed communications system; and the switch board comprises a second switch chip, configured to connect to the one or more service boards among the multiple service boards through one or more ports of the second switch chip, respectively, to implement the data exchange on a data plane of the distributed communications system, wherein the switch board further comprises a third switch chip, a port of the third switch chip is configured to connect to one or more of the service boards, the second switch chip and the third switch chip are configured to support service boards in different working modes respectively, the method comprising: detecting whether each of the multiple service boards is in position; when it is detected that the service board is in position, controlling enabling of a port corresponding to the detected in-position service board on the first switch chip of the main control board; acquiring working mode of the in-position service board; and sending an in-position message comprising information about the in-position service board and the working mode of the in-position service board to the switch board, to enable the switch board to control, according to the information about the in-position service board and the working mode of the in-position service board in the received in-position message, enabling of a port corresponding to the in-position service board on a switch chip that corresponds to the working mode of the in-position service board on the switch board, and to control disabling of the switch chip port corresponding to the in-position service board on a switch chip that does not correspond to the working mode of the in-position service board on the switch board.