Method and device for setting port forwarding state in olt group ring network
A technology of forwarding status and status, applied in the field of data communication, can solve problems such as complex maintenance and error-prone, and achieve the effect of improving code quality, improving efficiency and high reliability
- 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, this embodiment provides a method for setting the port forwarding state in an OLT group ring network, which specifically includes the following steps:
[0045] Step A, create corresponding spanning tree state members for each physical port, the spanning tree state members include physical port objects, and the physical port objects include several port instance objects allocated based on the maximum number of instances; each port instance object Includes the protocol spanning tree state assigned to each protocol as well as the actual hardware spanning tree state.
[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. like figure 2 As shown, the spanning tree status members of each physical port include: physical port objects (such as figure 2 physical port object 1), por...
Embodiment 2
[0079] Based on the same inventive concept, an embodiment of the present invention also provides a device for setting port forwarding state in an OLT group ring network, the device includes a spanning tree state member creation module, a spanning tree state setting and an arbitration module.
[0080] Wherein, a 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 a number of allocated based on the maximum number of instances Port instance objects; each port instance object includes the protocol spanning tree state assigned to each protocol and the actual hardware spanning tree state;
[0081] The spanning tree state setting and arbitration module is used to: when setting the port forwarding state, determine the port instance object that needs to be processed, find the protocol spanning tree state corres...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


