Method and device for setting port forwarding state in OLT group ring network
A technology for forwarding status and ports, applied in the field of data communication, can solve problems such as error-prone and complex maintenance, and achieve the effect of improving efficiency, improving code quality and good versatility
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0044] see figure 1 As shown, the present embodiment provides a method for port forwarding state setting in an OLT group ring network, which specifically includes the following steps:
[0045] Step A, create a corresponding spanning tree state member for each physical port, the spanning tree state member includes a physical port object, and the physical port object includes several port instance objects allocated based on the maximum number of instances; each port instance object Includes the protocol spanning tree status assigned to each protocol as well as the actual hardware spanning tree status.
[0046] It can be understood that, in order to provide data support for subsequent spanning tree state arbitration processing, in this embodiment, a unique spanning tree state member structure is designed for each physical port. Such as figure 2 As shown, the spanning tree state members of each physical port include: physical port objects (such as figure 2 In the physical por...
Embodiment 2
[0079] Based on the same inventive concept, the embodiment of the present invention also provides a device for setting port forwarding status in an OLT group ring network, the device includes a spanning tree status member creation module, a spanning tree status configuration and an arbitration module.
[0080] Wherein, the spanning tree state member creation module is used to: create a corresponding spanning tree state member for each physical port, the spanning tree state member includes a physical port object, and the physical port object includes several Port instance object; each port instance object includes the protocol spanning tree state allocated for each protocol and the actual hardware spanning tree state;
[0081] The spanning tree state setting and arbitration module is used for: when setting the port forwarding state, determine the port instance object that needs to be processed, find and set the protocol spanning tree state corresponding to each protocol under th...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


