Method and device for adding physical port to or exiting aggregation port

A technology of physical ports and aggregated ports, which is applied in the field of communication, can solve the problem that GID resources cannot be used reasonably, and achieve the effect of saving CPU and storage space

Inactive Publication Date: 2015-09-16
ZTE CORP
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The main purpose of the present invention is to provide a method and device for adding / exiting a physical port to / from an aggregation port, so as to at least solve the problem that the GID resource of the above-mentioned equipment cannot be reasonably utilized

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for adding physical port to or exiting aggregation port
  • Method and device for adding physical port to or exiting aggregation port
  • Method and device for adding physical port to or exiting aggregation port

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0028] This embodiment mainly describes the process of adding a physical port to an aggregation port with the GVRP function enabled, such as figure 1 shown, including the following steps:

[0029] Step S101, executing an instruction of adding a physical port to an aggregation port.

[0030] Step S102, judging whether the static vlan attribute of the physical port is consistent with the aggregation port, if consistent, execute step 104; if not, execute step 103.

[0031] In step S103, adding the physical port to the aggregation port fails, and the original attributes of the physical port and the aggregation port remain unchanged.

[0032] Step S104, determine whether the physical port has enabled the GVRP function, if enabled, execute step S105; if not enabled, execute step 106.

[0033] Step S105, the physical port cancels its dynamic vlan, releases the GID resource, and joins the dynamic vlan where the aggregation port is located.

[0034] Step S106, adding the physical po...

Embodiment 2

[0038] This embodiment mainly describes the process of adding a physical port to an aggregation port whose GVRP function is not enabled, such as figure 2 As shown in the figure, adding a physical port to an aggregation port whose GVRP function is not enabled includes the following steps:

[0039] In step S201, an instruction of adding a physical port to an aggregated port is executed.

[0040] Step S202, judging whether the static vlan attribute of the physical port is consistent with the aggregation port. If consistent, go to step 204 for processing; if not, go to step S203 for processing.

[0041] In step S203, adding the physical port to the aggregation port fails, and the original attributes of the physical port and the aggregation port remain unchanged.

[0042] Step S204, judging whether the physical port has enabled the GVRP function. If it is enabled, go to step S205; if not, go to step S206.

[0043] Step S205, the physical port cancels the dynamic vlan, releases...

Embodiment 3

[0047] This embodiment mainly describes the flow of a physical port withdrawing from an aggregation port with the GVRP function enabled, such as image 3 As shown in the figure, the process of exiting the aggregation port with the GVRP function enabled on the physical port includes the following steps:

[0048] Step S301, execute the instruction that the physical port exits the aggregation port with the GVRP function enabled;

[0049] Step S302, the physical port cancels the dynamic vlan, releases the GID resource, and closes the GVRP function;

[0050] Step S303, judging whether the GVRP function is enabled before the physical port joins the aggregation port. If enabled, go to step S304; if not turned on, go to step S305;

[0051] Step S304, the physical port withdraws from the aggregation port, re-applies for GID resources, and enables the GVRP function;

[0052] Step S305, the physical port exits the aggregation port and does not have the GVRP function.

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

A method and device for enabling a physical port to join or exit from a trunk port are provided in the present invention, wherein, the method for enabling a physical port to join a trunk port includes the following steps: executing a instruction for enabling a physical port to join a trunk port, and judging whether the physical port has started general virtual local area network registration protocol (GVRP) function; if yes, enabling the physical port to release generic attribute registration protocol information declaration (GID) resources and join the trunk port. With the invention, when joining the trunk port, the physical port releases its own GID resources, and therefore the problem of rational utilization of the GID resources in the GVRP protocol is solved, and the effect of saving CPU and storage space is achieved.

Description

technical field [0001] The present invention relates to the communication field, in particular to a method and device for adding or withdrawing a physical port from an aggregation port. Background technique [0002] The support of VLAN (Virtual Local Area Network, Virtual Local Area Network) in the switch is a very important function. When the scale of the network is relatively large, the management of VLAN is relatively complicated. GVRP (GARP VLAN Registration Protocol, GARP VLAN Registration Protocol) is a protocol defined to solve the dynamic configuration of VLAN attributes. Configure a small number of switches in the network, and its VLAN information can be distributed and propagated in the network, so that all switches on the network can be consistent with each other in VLAN configuration and realize free communication. [0003] Since aggregated ports and aggregated links exist in the network, it is important for the GVRP protocol to support aggregated ports. An agg...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): H04L12/70H04L12/46H04L29/06
CPCH04L12/4641
Inventor 潘玉峰
Owner ZTE CORP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products