Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method for synchronizing vlan in a two-layer network, local switch and remote switch

A technology of local switches and Layer 2 networks, applied in the field of local switches and remote switches, can solve the problems of high error probability, high labor cost, low efficiency, etc., and achieve the effect of improving efficiency, saving labor cost, and eliminating error rate.

Active Publication Date: 2019-03-08
FENGHUO COMM SCI & TECH CO LTD
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Embodiments of the present invention provide a method for synchronizing VLANs in a two-layer network, a local switch, and a remote switch to solve the problem in the prior art that when configuring remote devices, equipment installers need to go to the site where the remote devices are located for configuration. Problems of low efficiency, high labor cost, and high probability of error

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 for synchronizing vlan in a two-layer network, local switch and remote switch
  • Method for synchronizing vlan in a two-layer network, local switch and remote switch
  • Method for synchronizing vlan in a two-layer network, local switch and remote switch

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0068] Such as figure 2 As shown, Embodiment 1 of the present invention provides a VLAN synchronization method in a two-layer network, and the method may include:

[0069] 101. The local switch marks the VLAN synchronization information and encapsulates it into an Ethernet packet of a private Ethernet type;

[0070] Step 101 may specifically be: the local switch adds the VLAN information to be sent to the packet sending port in the form of Tag;

[0071] The VLAN information that needs to be sent is encapsulated in Ethernet in a private format.

[0072] Table 1 shows the frame structure of the Ethernet packet encapsulated by the local switch:

[0073] Table 1

[0074] Destination MAC

Source MAC

802.1q

Tag label

private type

VLAN data

CRC

[0075] Table 2 shows the frame structure of private Ethernet type encapsulated by VLAN data:

[0076] Table 2

[0077]

[0078] Among them, the synchronization information that needs to be learne...

Embodiment 2

[0083] Such as image 3 As shown, the present embodiment takes the receiving end of the Ethernet message as the main body, and provides a VLAN synchronization method in a two-layer network, which method includes:

[0084] 201. The remote switch receives an Ethernet packet sent through a layer-2 network; the Ethernet packet is an Ethernet packet encapsulated in a private format, which includes tagged VLAN synchronization information;

[0085] The Ethernet message described in step 201 is the Ethernet message described in steps 101-102 of the first embodiment, and its encapsulation format and frame structure that can be adopted are the same as those of 101-102 of the first embodiment, and will not be repeated here. .

[0086] 202. Perform decapsulation processing on the Ethernet packet;

[0087] 203. Determine whether configuration with the local switch can be performed according to a predetermined rule;

[0088] The predetermined rule may specifically be: when the local swit...

Embodiment 3

[0108] Such as Figure 5 As shown, Embodiment 3 of the present invention provides a local switch, including:

[0109] A marking module 301, configured to mark VLAN synchronization information and encapsulate it into an Ethernet message of a private Ethernet type;

[0110] The sending module 302 is configured to send the Ethernet packet encapsulated into a private Ethernet type to the remote switch through the layer 2 network, so that the remote switch can configure with the local switch according to the Ethernet packet.

[0111]Further, the sending port of the local switch is added with the same domain name ID as the receiving port of the remote switch, wherein the local switch is configured as Server mode, and the remote switch is configured as Client mode, so that the switches at both ends can identify and forward Private Ethernet.

[0112] In a specific implementation, the marking module 301 in this embodiment is specifically used to add the VLAN information to be sent to...

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

The invention discloses a VLAN synchronization method in a two-layer network, and a local switch and a remote switch based on the method. The method comprises the steps that the local switch marks VLAN synchronization information and packages into an Ethernet message of the private Ethernet type; and the packaged Ethernet message of the private Ethernet type is sent to the remote switch by the two-layer network, and thereby the remote switch and the local switch are configured according to the Ethernet message. The method solve the problem that the prior art is low in efficiency, high in labor cost and large in error probability due to that device installation staffs need to perform configuration at the site where the remote device is located.

Description

technical field [0001] The invention relates to the technical field of communication, in particular to a VLAN synchronization method in a two-layer network, and a local switch and a remote switch based on the method. Background technique [0002] In network construction and planning, a large number of zero-configuration devices are usually introduced for initial deployment or capacity expansion. For example, for a local device, it is necessary to introduce multiple remote devices to communicate with it during the expansion process, and it is necessary to perform network management on these remote devices so that they can learn synchronously with the local device. At present, in the work of introducing remote devices, equipment installers need to go to the site where the remote devices are located to configure them one by one, which not only affects the efficiency of network deployment, but also greatly increases labor costs. Manual configuration increases the chance of erro...

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/24H04L12/46
CPCH04L12/4641H04L41/0846
Inventor 张轶
Owner FENGHUO COMM SCI & TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products