WO2016037326A1 - 一种数据转发方法、装置及接入设备 - Google Patents
一种数据转发方法、装置及接入设备 Download PDFInfo
- Publication number
- WO2016037326A1 WO2016037326A1 PCT/CN2014/086214 CN2014086214W WO2016037326A1 WO 2016037326 A1 WO2016037326 A1 WO 2016037326A1 CN 2014086214 W CN2014086214 W CN 2014086214W WO 2016037326 A1 WO2016037326 A1 WO 2016037326A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- port
- vlan
- packet
- group
- identifier
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/74—Address processing for routing
- H04L45/745—Address table lookup; Address filtering
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
- H04L12/4641—Virtual LANs, VLANs, e.g. virtual private networks [VPN]
- H04L12/4645—Details on frame tagging
- H04L12/465—Details on frame tagging wherein a single frame includes a plurality of VLAN tags
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
- H04L12/4641—Virtual LANs, VLANs, e.g. virtual private networks [VPN]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
- H04L12/4641—Virtual LANs, VLANs, e.g. virtual private networks [VPN]
- H04L12/467—Arrangements for supporting untagged frames, e.g. port-based VLANs
Definitions
- the present invention relates to the field of communications, and in particular, to a data forwarding method, apparatus, and access device.
- the switch forwards the packet according to the destination Media Access Control (MAC) address of the received packet. Therefore, the switch maintains a forwarding table that records the correspondence between the MAC address and the port to instruct the switch to forward the packet. This forwarding table is called a MAC address forwarding table.
- the switch records the source MAC address of the received packet and the source port information of the received packet to the table for subsequent packet forwarding. This recording process is called the MAC address learning process.
- VlAN information is added to standard Ethernet frames.
- the tag header tag of the Ethernet frame defined in the IEEE802.1Q standard is added. It contains a 2-byte Tag Protocol Identifier (TPID) and 2-byte Tag Control Information (TCI).
- TPID 2-byte Tag Protocol Identifier
- TCI 2-byte Tag Control Information
- the TPID indicates that the Ethernet frame is a frame to which an 802.1Q tag is added.
- the TCI contains frame control information, which contains the following elements: Priority Priority, Canonical Format Indicator (CFI), and VLAN Identified (VLAN ID).
- CFI Canonical Format Indicator
- VLAN ID VLAN Identified
- the domain with a VLAN ID of 12 bits indicates the VLAN ID.
- Each packet sent by the switch supporting 802.1Q protocol carries a VLAN ID to indicate the VLAN to which it belongs.
- the maximum difference between the data forwarding process of the VLAN switch and the data forwarding process of the common switch is that the packet carries the VLAN tag when it is forwarded in the VLAN switch. That is, the forwarding process needs to find out the port based on the MAC address. Determine the VLAN ID information. Therefore, the switch VLAN switching engine is different from the normal switch. As shown in Figure 2, the switch is based on the Layer 2 forwarding table according to the VLAN ID. DataBase, L2FDB) performs service forwarding.
- VLAN-enabled switches have two types of address learning modes: Independent VLAN Learning (IVL) and Shared VLAN Learning (SVL).
- IVL Independent VLAN Learning
- SVL Shared VLAN Learning
- each VLAN has its own corresponding MAC address table, and each MAC address table has no effect.
- a MAC address can be learned into different VLANs, such as MAC2, so if a user belongs to multiple VLANs, the information in each VLAN needs to be re-learned.
- SVL mode an address table is applicable to all VLANs. Therefore, the MAC address in the table cannot be There are repetitions.
- the forwarding process of the IVL address learning mode is as follows: First, determine the VLAN ID - VLAN 2 according to the Tag Header in the received Ethernet frame, and then query the L2FDB table corresponding to the switch according to the VLAN ID. As shown in Table 1, the search range is determined - the first and fourth entries; then, according to the Destination Address (DA) - MAC D determines the port - port 2 in the search range determined by the L2FDB table. If the entry corresponding to the MAC address is not found in the L2FDB table, the Ethernet frame is forwarded by all the ports in the VLAN 2 by means of broadcast. At the same time, the source address (SA) of the Ethernet frame, MAC A, and the source port, port 1, that is, the port that receives the Ethernet frame, are updated to the L2FDB table by the aging mechanism.
- SA source address
- the forwarding process of the SVL address learning mode is: directly determining that the DA of the received Ethernet frame is MAC D, and querying the L2FDB table corresponding to the switch according to the DA, see Table 2 As shown, the port is determined to be the port 2; then, it is determined whether the VLAN ID of the port matches the VLAN ID of the received Ethernet frame Tag Header, and the matching forwards the Ethernet frame, otherwise it is discarded. If the entry corresponding to the MAC address is not found in the L2FDB table, find the outbound port of the port whose VLAN ID matches the VLAN ID of the Ethernet frame Tag Header in the L2FDB table, and corresponding to the VLAN ID. All outgoing ports are broadcast. At the same time, the SA of the Ethernet frame, MAC A, and the source port, port 1, are updated to the L2FDB table by the aging mechanism.
- VLAN cross connect service that is, an S+C service
- S is a service provider virtual service network (SVLAN)
- SVLAN service provider virtual service network
- CVLAN user-side VLAN
- S+C service is the data forwarding service between the two ports.
- the forwarding table corresponding to the device used for the S+C service needs to correspond to two ports, one of which is the source port and the other port is the egress port.
- Each entry can only be configured with one port. Therefore, it does not apply to S+C services and cannot forward S+C service data.
- the embodiment of the invention provides a data forwarding method, device and access device, which are used to solve the present problem.
- the forwarding table corresponding to the IVL and SVL address learning modes is not applicable to the S+C service, which causes the problem that the S+C service data cannot be forwarded.
- a data forwarding method is configured to divide a port on an access device into a first port group and a second port group, where the virtual LAN VLAN, the port identifier, and the port identified by the port identifier are stored on the access device.
- the method includes:
- the access device receives the packet, and identifies the port group to which the port that receives the packet belongs, which is the first port group;
- the access device acquires a VLAN from the packet
- the access device forwards the packet by using the port identified by the obtained port identifier.
- the VLAN includes a service provider virtual local area network SVLAN and a user side VLAN; or the VLAN is an SVLAN.
- the method further includes:
- the access device uses the acquired VLAN and the second port group to obtain the corresponding port identifier from the corresponding relationship
- the SVLAN and the second port group in the acquired VLAN are used to obtain corresponding correspondences from the corresponding relationship.
- the access device identifies that the port group to which the port that receives the packet belongs is the first port group, and After obtaining the VLAN in the packet, the method further includes:
- the access device updates the corresponding relationship according to the VLAN, the port identifier corresponding to the port that receives the packet, and the first port group.
- the corresponding relationship is performed according to the VLAN, the port identifier corresponding to the port that receives the packet, and the first port group.
- Updates including:
- a new correspondence is added to the corresponding relationship, where the new correspondence includes the VLAN, the first port group, and the port identifier corresponding to the port that receives the packet.
- a data forwarding device divides a port on a data forwarding device into a first port group and a second port group, where the data forwarding device stores a virtual local area network VLAN, a port identifier, and a port identifier.
- the correspondence between the port groups to which the port belongs, the device includes:
- a receiving unit configured to receive a packet, and identify a port group to which the port that receives the packet belongs, as a first port group;
- An obtaining unit configured to obtain a VLAN from the packet
- the processing unit is configured to obtain the corresponding port identifier from the corresponding relationship by using the acquired VLAN and the second port group, and forward the packet by using the port identified by the obtained port identifier.
- the VLAN includes a service provider virtual local area network SVLAN and a user side VLAN; or the VLAN is an SVLAN.
- the processing unit is further configured to:
- the processing unit uses the acquired VLAN and the second port group to obtain the corresponding port identifier from the corresponding relationship
- the SVLAN and the second port group in the acquired VLAN are used to obtain at least corresponding correspondences from the corresponding relationship.
- a port identifier is used to obtain at least corresponding correspondences from the corresponding relationship.
- the device further includes:
- An update unit configured to identify, by the receiving unit, a port group to which the port that receives the packet belongs to the first port group, and after the obtaining unit obtains a VLAN from the packet, according to the VLAN, the receiving station The port identifier corresponding to the port of the packet and the first port group update the corresponding relationship.
- the updating unit is specifically configured to:
- a new correspondence is added to the corresponding relationship, where the new correspondence includes the VLAN, the first port group, and the port identifier corresponding to the port that receives the packet.
- an access device divides a port on the access device into a first port group and a second port group, where a virtual local area network VLAN, a port identifier, and a port are stored in a memory of the access device.
- the mapping between the port groups to which the identified port belongs is identified, where the access device includes:
- the transceiver is configured to receive the packet, and when the processor obtains the port identifier, forward the packet by using the port identified by the obtained port identifier;
- a processor configured to identify a port group to which the port that receives the packet belongs, to be a first port group, and obtain a VLAN from the packet; obtain the obtained VLAN and the second port group from the corresponding relationship Corresponding port ID.
- the VLAN includes a service provider virtual local area network SVLAN and a user side VLAN; or the VLAN is an SVLAN.
- the processor is further configured to:
- the access device uses the acquired VLAN and the second port group to obtain the corresponding port identifier from the corresponding relationship
- the SVLAN and the second port group in the acquired VLAN are used to obtain corresponding correspondences from the corresponding relationship.
- the processor is further configured to:
- the corresponding relationship is updated according to the VLAN, the port identifier corresponding to the port that receives the packet, and the first port group.
- the processor is configured to perform, according to the VLAN, a port identifier corresponding to a port that receives the packet, and a first port group pair When the corresponding relationship is updated, it is specifically used to:
- a new correspondence is added to the corresponding relationship, where the new correspondence includes the VLAN, the first port group, and the port identifier corresponding to the port that receives the packet.
- the ports of all the ports in the access device are first divided into two port groups, and the corresponding relationship between the port group to which the VLAN, the port identifier, and the port identifier belongs is stored on the access device, and the access is performed.
- the device receives the packet, identifies the port group to which the port that receives the packet belongs to the first port group, and obtains the VLAN in the packet.
- the access device obtains the corresponding port identifier from the corresponding relationship by using the obtained VLAN and the second port group. And forwarding the packet by the port identified by the obtained port identifier, and updating the corresponding relationship according to the obtained VLAN, the first port group, and the port group to which the port receiving the packet belongs.
- the port is divided into different port groups.
- the packet When a packet is received, the packet can be forwarded according to the SVLAN ID and CVLAN ID and the port group fast query forwarding table to determine the port identifier and improve the forwarding of the port data forwarding device.
- FIG. 1 is a schematic diagram of an Ethernet frame with an IEEE 802.1Q tag in the prior art
- FIG. 2 is a schematic diagram of a switch exchange engine supporting a VLAN in the prior art
- FIG. 4 is a schematic diagram of an Ethernet frame forwarding process in the prior art
- FIG. 5 is a schematic diagram of an Ethernet frame encapsulated according to QinQ in the prior art
- FIG. 6 is a flowchart of a data forwarding method according to an embodiment of the present invention.
- FIG. 7 is a schematic diagram of an Ethernet forwarding process according to an embodiment of the present invention.
- FIG. 8 is a structural diagram of a data forwarding apparatus according to an embodiment of the present invention.
- FIG. 9 is a schematic structural diagram of an access device according to an embodiment of the present invention.
- the port on the access device is divided into two port groups in advance, and the correspondence between the VLAN, the port identifier, and the port group to which the port identified by the port identifier belongs is saved, and the packet is received.
- the port group to which the port that receives the packet belongs is identified as the first port group, and the VLAN is obtained from the packet.
- the access device obtains the corresponding port identifier from the corresponding relationship by using the obtained VLAN and the second port group.
- the forwarding table of the port identified by the obtained port identifier can effectively solve the problem that the forwarding table corresponding to the learning mode of the IVL and the SVL address existing in the prior art is not applicable to the S+C service, and thus the S+C service data cannot be forwarded.
- the problem can effectively solve the problem that the forwarding table corresponding to the learning mode of the IVL and the SVL address existing in the prior art is not applicable to the S+C service, and thus the S+C service data cannot be forwarded. The problem.
- the embodiment of the present invention provides a data forwarding method, which is applicable to an access device for processing data forwarding, such as a switch for processing an S+C service.
- an access device for processing data forwarding such as a switch for processing an S+C service.
- a data forwarding method is provided in the embodiment of the present invention.
- the port on the access device is divided into two port groups, and the first port group and the second port group are saved on the access device.
- the specific processing of the method includes:
- Step 601 After receiving the packet, the access device identifies the port group to which the port that receives the packet belongs to the first port group.
- the access device divides all ports into different port groups according to a preset rule, and each port group includes at least one port.
- the preset rules may be multiple.
- the specified port is divided into one port group, and the remaining ports are divided into another port group; or, The port in the specified ID range is divided into a port group.
- the port is divided into different port groups according to the number of ports, the function of the device, and the special service.
- all ports are divided into two port groups, that is, if a port in one of the port groups receives a message, the message should be forwarded from one of the other port groups.
- the port can be divided into a network side port group (NNI) and a user side port group (UNI). Ports in different port groups are connected differently. Ports in the NNI are connected to the network side network cable, UNI. The port in the port is connected to the user equipment network cable.
- NNI network side port group
- UNI user side port group
- the port on the access device is divided into two port groups, and the access device can identify the port that receives the packet. Therefore, the access device can identify the port group to which the port that receives the packet belongs according to the port that receives the packet, and Use this port group as the first port group.
- the port group information determines that the port group to which the port PORT1 receiving the packet belongs is NNI, and records the NNI as the first port group.
- Step 602 The access device acquires a VLAN from the packet.
- the VLAN includes an SVLAN and a user-side VLAN, or
- the VLAN is SVLAN, that is, the user-side VLAN ID is empty.
- the packets in the S+C service are transmitted by Ethernet frames encapsulated by the two-layer VLAN QinQ technology.
- each Ethernet frame contains outer and inner labels, and the outer label.
- the VLAN ID in the Tag Header is the SVLAN
- the VLAN ID in the Tag Header in the inner label is the user-side VLAN. Therefore, after receiving an Ethernet frame encapsulated by the two-layer VLAN QinQ technology, the SVLAN, or the SVLAN and the user-side VLAN carried in the Ethernet frame can be determined.
- Step 603 The access device obtains the corresponding port identifier from the corresponding relationship stored by the access device by using the acquired VLAN and the second port group.
- the access device stores the VLAN, the port identifier, and the port identified by the port identifier. Correspondence between the port groups.
- the VALN is the SVLAN and the user-side VLAN
- the corresponding relationship is the relationship between the SVLAN, the user-side VLAN, the port identifier, and the port group to which the port identified by the port identifier belongs.
- the mapping relationship is the SVLAN, the port ID, and the port group to which the port identified by the port ID belongs.
- the correspondence between the VLAN, the second port group, and the port identifier can be queried, and the port identifier in the corresponding relationship is obtained.
- the port is divided into two port groups, NNI and UNI, and the ports in different port groups are connected differently, the data sent from the network side flows to the user equipment, and is sent from the user equipment. The data flows to the network side. Therefore, it can be determined that if the port (source port) that receives the packet belongs to the first port group NNI, the egress port belongs to the second port group UNI. Similarly, if the port receiving the packet belongs to the first port. For a group UNI, the egress port belongs to the second port group UNI.
- the VLAN is an SVLAN and a user-side VLAN
- the SVLAN and the user-side VLAN are carried in the Ethernet frame, and the access device divides all the ports into two different port groups. Combinations can correspond to different ports in different port groups, but an SVLAN and user-side VLAN combination can only correspond to a unique port in a port group.
- the corresponding relationship between the access device and the storage device is as shown in Table 3.
- the S-VLAN, the user-side VLAN, and the port identifier are required to be included in any one of the mappings.
- the port group to which the port belongs and the port ID, and the same SVLAN and user-side VLAN combination can correspond to different port identifiers in different port groups.
- an SVLAN and user-side VLAN combination can only correspond to one port group. The only port identifier.
- the access device obtains the corresponding port identifier by using the acquired VLAN and the second port group from the corresponding relationship stored by the access device, including:
- the corresponding entry is filtered out in the forwarding table based on the SVLAN, the user-side VLAN, and the second-port group, and the port ID set in the entry is used as the port identifier of the egress port of the packet.
- the forwarding table in Table 3 is used as an example. If the SVLAN ID of the received packet is SVLAN 2, the user-side VLAN ID is CVLAN 3, and the port group to which the packet is received is NNI, the second port group is determined first. That is, the port group is UNI, and then the entry in the forwarding table is SVLAN 2, the CLAN ID is CLAN 3, and the port group is UNI. In Table 3, the entry can be determined as Two entries, therefore, the port ID (that is, the port ID) that is set in the entry, PORT2 is the port ID of the outbound port of the packet.
- the data forwarding method provided by the embodiment of the present invention further includes:
- the access device uses the acquired VLAN and the second port group does not obtain the corresponding port identifier from the corresponding relationship
- the SVLAN of the acquired VLAN and the corresponding relationship saved by the second port group are obtained from the access device. At least one port identifier.
- the forwarding table in Table 3 is used as an example. If the SVLAN ID of the received packet is SVLAN 2, the VLAN ID of the user-side interface is CVLAN 4, and the port group to which the source port belongs is NNI. Then, in the forwarding table, the SVLAN ID is SVLAN 2, the CVLAN ID is CVLAN 4, and the port group is the UNI corresponding entry. In Table 3, the corresponding entry cannot be filtered. Therefore, the SVLAN ID is filtered in the forwarding table. In SVLAN 2, the port group is the entry corresponding to the UNI. In Table 3, the second and fourth entries can be identified, and the port identifier PORT2 set in the two entries is used as the packet. Port ID of the outgoing port.
- the forwarding table is based on the specified SVLAN ID and the specified port group. At least one entry can be found. Therefore, the port identifier of the outbound port corresponding to the at least one entry is at least one.
- the port is divided into different port groups, and the packet is forwarded according to the SVLAN+user-side VLAN and the port group in the packet, and the port identifier is determined according to the packet in the packet, and the port identifier is improved.
- the forwarding efficiency of the incoming device is improved.
- Step 604 The access device forwards the packet by using the port identified by the obtained port identifier.
- the packet is forwarded through the egress port corresponding to the port ID of the egress port, including two modes:
- the number of the entry is one. Therefore, the one that can be directly determined by the entry is Indicates the port ID of the outbound port and forwards the packet to the egress port corresponding to the port ID of the egress port.
- the corresponding table is filtered out in the forwarding table according to the SVLAN identifier and the second port group.
- the entry, wherein the entry is at least one, and therefore, the number of port identifiers of the corresponding egress port is also at least one, and all port IDs set in the entry are used as port identifiers of the outbound port of the packet, and will be reported.
- the packets are broadcasted and forwarded through the corresponding outbound ports of the at least one egress port.
- the access device After the step 601 and the step 602, the access device identifies the port group to which the port that receives the packet belongs to the first port group, and after obtaining the VLAN from the packet, the access device further includes:
- the access device updates the corresponding relationship saved by the access device according to the VLAN identifier, the port identifier corresponding to the port that receives the packet, and the first port group.
- updating the forwarding table may be performed at any time after step 602. This may be done before step 603 and step 604, or after step 603 and step 604, or concurrently with step 603 or 604.
- the port is updated according to the VLAN, the port identifier corresponding to the port that receives the packet, and the first port group, including:
- the port identifier included in the correspondence is updated based on the port identifier corresponding to the port that receives the packet;
- a new correspondence is added to the corresponding relationship, where the new correspondence includes the VLAN, the first port group, and the port identifier corresponding to the port that receives the packet.
- the forwarding table is in Table 3.
- the SVLAN ID of the received packet is SVLAN 2
- the user-side VLAN ID is CVLAN3
- the port ID of the source port is PORT1
- the port group to which the source port belongs is NNI.
- the CVLAN ID is CVLAN3
- the port group to which the source port belongs is the NNI entry, that is, the first entry, regardless of whether the port ID of the entry is the same as the port ID of the source port.
- the port ID of the source port is PORT1 to update the port ID of the entry.
- the forwarding table is in Table 3.
- the SVLAN ID of the received packet is SVLAN 2
- the user-side VLAN ID is CVLAN4
- the port ID of the source port is PORT1
- the port group to which the source port belongs is NNI.
- SVLAN2, CVLAN4, PORT1, and NNI are added to the forwarding table.
- the SVLANs are identified as SVLANs.
- the CVLANs are identified as CVLANs and the port group to which the source port belongs is the NNI entry.
- the real-time update of the forwarding table in these two ways ensures that the forwarding table stores the latest port and SVLAN+CVLAN correspondence, which ensures that the access device is in the same SVLAN+CVLAN but uses the new source port a.
- the outbound interface and the latest port and SVLAN can be forwarded through port a when the outbound interface b of the source port a is used as the source port to receive the same SVLAN+CVLAN packet. If the C-VLANs are inconsistent, the packets cannot be sent accurately. This reduces the forwarding efficiency of the port forwarding device and reduces the user experience.
- the self-learning mode is used to add the mapping between the source port and the SVLAN+CVLAN to the forwarding table. This reduces the probability of data discarding, ensures the forwarding efficiency of the port forwarding device, and improves the user experience.
- the switch divides the ports PORT1, PORT2, and PORT3 into Different port groups are configured to divide the PORT1 configuration into the port group NNI and the PORT2 and PORT3 into the port group UNI.
- the forwarding table corresponding to the switch is shown in Table 3.
- the switch receives the SVLAN ID from port 1, it is VLAN 2, CVLAN.
- the port group to which the source port PORT1 belongs is determined to be the NNI, and the corresponding entry, that is, the first entry, is searched in the forwarding table according to the SVLAN 2, CVLAN 3, and NNI.
- PORT1 updates the port identifier of the entry in the entry, and determines the port identifier cluster UNI of the outbound port according to the port group NNI of the source port, and searches the forwarding table for the entry corresponding to SVLAN 2, CVLAN 3, and UNI group. That is, the second entry determines that the port is PORT2 according to the second entry, and then forwards the received packet through PORT2.
- the embodiment of the present invention further provides a data forwarding device, which divides a port on a data forwarding device into a first port group and a second port group, and saves the data forwarding device.
- the device has a VLAN, a port identifier, and a port group to which the port identified by the port identifier belongs.
- the device includes: a receiving unit 801, an obtaining unit 802, and a processing unit 803, where
- the receiving unit 801 is configured to receive a packet, and identify a port group to which the port that receives the packet belongs to be the first port group.
- An obtaining unit 802 configured to obtain a VLAN from the packet
- the processing unit 803 is configured to obtain the corresponding port identifier from the corresponding relationship by using the acquired VLAN and the second port group, and forward the packet by using the port identified by the obtained port identifier.
- the VLAN includes an SVLAN and a user-side VLAN; or the VLAN is an SVLAN.
- the processing unit 803 is further configured to:
- the processing unit 803 uses the acquired VLAN and the second port group to obtain the corresponding port identifier from the corresponding relationship
- the SVLAN and the second port group in the acquired VLAN obtain the corresponding at least one port identifier from the corresponding relationship.
- the data forwarding device further includes:
- the updating unit 804 is configured to: at the receiving unit 801, identify the port group to which the port that receives the packet belongs After the first port group obtains the VLAN from the packet, the obtaining unit 802 updates the correspondence according to the VLAN, the port identifier corresponding to the port that receives the packet, and the first port group.
- the updating unit 804 is specifically configured to:
- the port identifier included in the correspondence is updated based on the port identifier corresponding to the port that receives the packet;
- the new correspondence includes the VLAN, the first port group, and the port identifier corresponding to the port that receives the packet.
- the embodiment of the present invention further provides an access device, where the port on the access device is divided into a first port group and a second port group, where the access device is in the access device.
- the storage device 900 stores a correspondence between a VLAN, a port identifier, and a port group to which the port identified by the port identifier belongs.
- the device includes: a transceiver 901, and a processor 902, where
- the transceiver 901 is configured to receive a packet, and when the processor 902 obtains the port identifier, forward the packet by using the port identified by the obtained port identifier;
- the processor 902 is configured to identify the port group to which the port that receives the packet belongs, to be the first port group, and obtain the VLAN from the packet, and obtain the corresponding port identifier from the corresponding relationship by using the obtained VLAN and the second port group.
- the VLAN includes a service provider virtual local area network SVLAN and a user side VLAN; or the VLAN is an SVLAN.
- the processor 902 is further configured to:
- the SVLAN and the second port group in the acquired VLAN obtain the corresponding at least one port identifier from the corresponding relationship.
- processor 902 is further configured to:
- the port group that identifies the port that receives the packet is the first port group, and the VLAN is obtained from the packet, the port is updated according to the VLAN, the port identifier corresponding to the port that receives the packet, and the first port group.
- the processor 902 when the processor 902 updates the correspondence between the port, the port identifier corresponding to the port that receives the packet, and the first port group, the processor 902 is specifically configured to:
- the port identifier included in the correspondence is updated based on the port identifier corresponding to the port that receives the packet;
- the new correspondence includes the VLAN, the first port group, and the port identifier corresponding to the port that receives the packet.
- the data forwarding method, device, and access device provided by the embodiment of the present invention firstly divide the ports of all ports in the access device into two port groups, and save the access device.
- the access device receives the packet, identifies the port group to which the port that receives the packet belongs to the first port group, and obtains the VLAN in the packet.
- the inbound device obtains the corresponding port identifier from the corresponding VLAN by using the obtained VLAN and the second port group; and forwards the packet through the port identified by the obtained port identifier, and according to the obtained VLAN, the first port group, and the received packet
- the port group to which the port belongs is updated.
- the port is divided into different port groups.
- the packet When a packet is received, the packet can be forwarded according to the SVLAN ID and CVLAN ID and the port group fast query forwarding table to determine the port identifier and improve the forwarding of the port data forwarding device.
- Efficiency effectively solves the problem that the forwarding table corresponding to the IVL and SVL address learning modes existing in the prior art is not applicable to the S+C service and thus cannot forward the S+C service data; according to the SVLAN identifier, the CVLAN identifier, and the receiving report
- the port ID of the port corresponding to the port and the port group to which the packet is received are updated in real time.
- the source port and the SVLAN+CVLAN mapping or update are added to the forwarding table in the self-learning mode. The probability of data discarding ensures the forwarding efficiency of the port forwarding device and improves the user experience.
- embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the present invention may employ computer-usable storage media (including but not limited to disks) in one or more of the computer-usable program code embodied therein. The form of a computer program product implemented on a memory, CD-ROM, optical memory, or the like.
- the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
- the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
- These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
- the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
本发明提供了一种数据转发方法、装置及接入设备,用以解决现有技术中,IVL和SVL地址学习方式对应的转发表不适用于S+C业务进而造成无法转发S+C业务数据的问题,该方法为:首先将接入设备中的所有端口的端口分为两个端口组,接入设备上保存有VLAN、端口标识以及端口标识的所属的端口组之间的对应关系,接入设备接收报文,识别接收报文的端口所属的端口组为第一端口组,并获取报文中VLAN;接入设备利用获取的VLAN以及第二端口组从对应关系中获取对应的端口标识;以及通过获取的端口标识所标识的端口转发报文。这样,转发报文时,可以根据VLAN以及端口组快速查询转发表,确定出端口标识,提高了接入设备的转发效率。
Description
本发明涉及通信领域,尤其涉及一种数据转发方法、装置及接入设备。
交换机是根据接收到的报文的目的介质访问控制(Media Access Control,MAC)地址对报文进行转发的,因此交换机维护了一种记录MAC地址与端口对应关系的转发表来指示交换机进行转发,该转发表称为MAC地址转发表。交换机将接收到的报文的源MAC地址以及接收报文的源端口信息记录到该表中,供后续报文转发使用,这个记录过程称为MAC地址的学习过程。
随着虚拟局域网(Virtual Local Area Network,VLAN)技术的发展,在标准以太网帧中增加了VlAN信息,参阅图1所示,在IEEE802.1Q标准中定义的以太网帧增加的标签头Tag中包含了2个字节的标签协议标识(Tag Protocol Identifier,TPID)和2个字节的标签控制信息(Tag Control Information,TCI)。
TPID表示该以太网帧为添加802.1Q标签的帧。TCI包含帧的控制信息,它包含了下面的一些元素:优先级Priority、规范格式指示符(Canonical Format Indicator,CFI)以及VLAN标识(VLAN Identified,VLAN ID)。其中,VLAN ID为12位的域,指示VLAN标识。每个支持802.1Q协议的交换机发送出来的数据包都携带VLAN ID,以指示本地归属的VLAN。
支持VLAN交换机的数据转发流程与普通交换机的数据转发流程最大的区别在于:报文在支持VLAN交换机内转发时都携带有VLAN Tag,即转发过程中不仅需要根据MAC地址查找出端口外,还需要判断VLAN ID的信息。因此,支持VLAN交换机交换引擎与普通交换机有所不同,参阅图2所示,交换机根据VLAN ID的不同分别根据二层转发表(Layer 2 Forwarding
DataBase,L2FDB)进行业务转发。
目前,支持VLAN的交换机有两种地址学习方式,分别为独立VLAN学习(Independent VLAN Learning,IVL)和共享VLAN学习(Shared VLAN Learning,SVL)。其中,参阅图3所示,在IVL方式下,每个VLAN都有自己的对应的MAC地址表,且每个MAC地址表之间没有影响,一个MAC地址可以被学习到不同的VLAN中,如MAC2,因此对一个用户来说如果属于多个VLAN,那么每个VLAN内的信息都需要重新学习;而在SVL方式下,一个地址表对所有的VLAN均适用,因此,表中的MAC地址不能有重复。
参阅图4所示,IVL地址学习方式的转发流程为:首先,根据接收到的以太网帧内的Tag Header中确定VLAN ID——VLAN 2,然后根据该VLAN ID查询交换机对应的L2FDB表,参阅表1所示,确定查找范围——第一条和第四条表项;然后根据目的地址(Destination Address,DA)——MAC D在L2FDB表确定的查找范围中确定出端口——端口2。若未在L2FDB表中找到MAC D对应的表项,则将该以太网帧通过广播的方式在该VLAN 2内所有的端口转发。同时,将该以太网帧的源地址(source address,SA)——MAC A以及源端口——端口1(即接收到该以太网帧的端口)通过老化机制更新至L2FDB表中。
表1 IVL地址学习方式对应的L2FDB表
VLAN ID | MAC地址 | 所在端口标识 |
VLAN 2 | MAC A | PORT 1 |
VLAN 3 | MAC B | PORT 1 |
VLAN 3 | MAC C | PORT 2 |
VLAN 2 | MAC D | PORT 2 |
仍以图4为例,SVL地址学习方式的转发流程为:直接确定接收到的以太网帧的DA为MAC D,根据该DA查询交换机对应的L2FDB表,参阅表2
所示,确定出端口——端口2;然后,判断出端口的VLAN ID和接收到的以太网帧Tag Header中的VLAN ID是否匹配,匹配则转发该以太网帧,否则丢弃。若未在L2FDB表中找到该MAC D对应的表项,则在该L2FDB表中查找出端口的VLAN ID和该以太网帧Tag Header中的VLAN ID匹配的所有出端口,并在该VLAN ID对应的所有出端口广播。同时,将该以太网帧的SA——MAC A以及源端口——端口1通过老化机制更新至L2FDB表中。
表2 SVL地址学习方式对应的L2FDB表
MAC地址 | 所在端口标识 |
MAC A | PORT 1 |
MAC B | PORT 1 |
MAC C | PORT 2 |
MAC D | PORT 2 |
参阅图5所示,在802.1Q的基础上,业界出现了双层VLAN QinQ技术,即一个以太网帧具有两层VLAN标签,内外层标签的Etype相同都是0x8100,或者内外层标签的Etype为可配。使用根据QinQ封装的以太网帧进行数据传输的业务即VLAN cross connect业务,即S+C业务,其中,S为服务提供商虚拟局域网(Service VLAN,SVLAN),即以太网帧的外层标签的VLAN,C为用户侧虚拟局域网(Customer VLAN,CVLAN),即以太网帧的内层标签的VLAN,S+C业务是在两个端口之间的数据转发业务。
由于用于S+C业务的设备对应的转发表需要对应两个端口,其中一个端口为源端口,另一个端口为出端口,显然,现有技术中的两种地址学习方式对应的L2FDB表中每条表项只能规定一个端口,因此,均不适用于S+C业务,无法转发S+C业务数据。
发明内容
本发明实施例提供了一种数据转发方法、装置及接入设备,用以解决现
有技术中IVL和SVL地址学习方式对应的转发表不适用于S+C业务进而造成无法转发S+C业务数据的问题。
第一方面,一种数据转发方法,将接入设备上的端口划分成第一端口组和第二端口组,在接入设备上保存有虚拟局域网VLAN、端口标识以及端口标识所标识的端口所属的端口组之间的对应关系,所述方法包括:
所述接入设备接收报文,识别接收所述报文的端口所属的端口组,为第一端口组;
所述接入设备从所述报文中获取VLAN;
所述接入设备利用获取的VLAN以及第二端口组从所述对应关系中获取对应的端口标识;以及
所述接入设备通过获取的端口标识所标识的端口转发所述报文。
结合第一方面,在第一种可能的实现方式中,所述VLAN包括服务提供商虚拟局域网SVLAN和用户侧VLAN;或者所述VLAN为SVLAN。
结合第一方面的第一种可能的实现方式,在第二种可能的实现方式中,在所述VLAN包括SVLAN和用户侧VLAN时,所述方法还包括:
当所述接入设备利用获取的VLAN以及第二端口组从所述对应关系中未获取对应的端口标识时,利用获取的VLAN中的SVLAN以及第二端口组从所述对应关系中获取对应的至少一个端口标识。
结合第一方面或以上任一种可能的实现方式,在第三种可能的实现方式中,所述接入设备识别接收所述报文的端口所属的端口组为第一端口组,且从所述报文中获取VLAN后,还包括:
所述接入设备根据所述VLAN、接收所述报文的端口对应的端口标识以及第一端口组对所述对应关系进行更新。
结合第一方面的第三种可能的实现方式,在第四种可能的实现方式中,根据所述VLAN、接收所述报文的端口对应的端口标识以及第一端口组对所述对应关系进行更新,包括:
确定在所述对应关系中是否包含所述VLAN和第一端口组之间的一对应
关系;
若是,则基于接收所述报文的端口对应的端口标识更新所述一对应关系中包含的端口标识;
否则,组建一新的对应关系添加至所述对应关系中,所述新的对应关系中包含所述VLAN、第一端口组以及接收所述报文的端口对应的端口标识。
第二方面,一种数据转发装置,将数据转发装置上的端口划分成第一端口组和第二端口组,在所述数据转发装置上保存有虚拟局域网VLAN、端口标识以及端口标识所标识的端口所属的端口组之间的对应关系,所述装置包括:
接收单元,用于接收报文,识别接收所述报文的端口所属的端口组,为第一端口组;
获取单元,用于从所述报文中获取VLAN;
处理单元,用于利用获取的VLAN以及第二端口组从所述对应关系中获取对应的端口标识;以及通过获取的端口标识所标识的端口转发所述报文。
结合第二方面,在第一种可能的实现方式中,所述VLAN包括服务提供商虚拟局域网SVLAN和用户侧VLAN;或者所述VLAN为SVLAN。
结合第二方面的第一种可能的实现方式,在第二种可能的实现方式中,在所述VLAN包括SVLAN和用户侧VLAN时,所述处理单元还用于:
当所述处理单元利用获取的VLAN以及第二端口组从所述对应关系中未获取对应的端口标识时,利用获取的VLAN中的SVLAN以及第二端口组从所述对应关系中获取对应的至少一个端口标识。
结合第二方面或第二方面的以上任一种可能的实现方式,在第三种可能的实现方式中,所述装置还包括:
更新单元,用于在所述接收单元识别接收所述报文的端口所属的端口组为第一端口组,且所述获取单元从所述报文中获取VLAN后,根据所述VLAN、接收所述报文的端口对应的端口标识以及第一端口组对所述对应关系进行更新。
结合第二方面的第三种可能的实现方式,在第四种可能的实现方式中,所述更新单元,具体用于:
确定在所述对应关系中是否包含所述VLAN和第一端口组之间的一对应关系;
若是,则基于接收所述报文的端口对应的端口标识更新所述一对应关系中包含的端口标识;
否则,组建一新的对应关系添加至所述对应关系中,所述新的对应关系中包含所述VLAN、第一端口组以及接收所述报文的端口对应的端口标识。
第三方面,一种接入设备,将所述接入设备上的端口划分成第一端口组和第二端口组,在所述接入设备的存储器中保存有虚拟局域网VLAN、端口标识以及端口标识所标识的端口所属的端口组之间的对应关系,所述接入设备包括:
收发器,用于接收报文,并在处理器获取到端口标识时,通过获取的端口标识所标识的端口转发所述报文;
处理器,用于识别接收所述报文的端口所属的端口组,为第一端口组,以及从所述报文中获取VLAN;利用获取的VLAN以及第二端口组从所述对应关系中获取对应的端口标识。
结合第三方面,在第一种可能的实现方式中,所述VLAN包括服务提供商虚拟局域网SVLAN和用户侧VLAN;或者所述VLAN为SVLAN。
结合第三方面的第一种可能的实现方式,在第二种可能的实现方式中,在所述VLAN包括SVLAN和用户侧VLAN时,所述处理器还用于:
当所述接入设备利用获取的VLAN以及第二端口组从所述对应关系中未获取对应的端口标识时,利用获取的VLAN中的SVLAN以及第二端口组从所述对应关系中获取对应的至少一个端口标识。
结合第三方面或第三方面的以上任一种可能的实现方式,在第三种可能的实现方式中,所述处理器还用于:
在识别接收所述报文的端口所属的端口组为第一端口组,且从所述报文
中获取VLAN后,根据所述VLAN、接收所述报文的端口对应的端口标识以及第一端口组对所述对应关系进行更新。
结合第三方面的第三种可能的实现方式,在第四种可能的实现方式中,所述处理器在根据所述VLAN、接收所述报文的端口对应的端口标识以及第一端口组对所述对应关系进行更新时,具体用于:
确定在所述对应关系中是否包含所述VLAN和第一端口组之间的一对应关系;
若是,则基于接收所述报文的端口对应的端口标识更新所述一对应关系中包含的端口标识;
否则,组建一新的对应关系添加至所述对应关系中,所述新的对应关系中包含所述VLAN、第一端口组以及接收所述报文的端口对应的端口标识。
本发明实施例中,首先将接入设备中的所有端口的端口分为两个端口组,接入设备上保存有VLAN、端口标识以及端口标识的所属的端口组之间的对应关系,接入设备接收报文,识别接收报文的端口所属的端口组为第一端口组,并获取报文中VLAN;接入设备利用获取的VLAN以及第二端口组从对应关系中获取对应的端口标识;以及通过获取的端口标识所标识的端口转发报文,并且根据获取的VLAN、第一端口组以及接收报文的端口所属的端口组,对该对应关系进行更新。其中,将端口分为不同的端口组,在接收到报文后转发报文时,可以根据SVLAN标识+CVLAN标识以及端口组快速查询转发表,确定出端口标识,提高了端口数据转发设备的转发效率,有效的解决了现有技术中存在的IVL和SVL地址学习方式对应的转发表不适用于S+C业务进而造成无法转发S+C业务数据的问题。
图1为现有技术中带有IEEE802.1Q标记的以太网帧示意图;
图2为现有技术中支持VLAN的交换机交换引擎示意图;
图3为现有技术中支持VLAN的交换机的两种地址学习方式转发表;
图4为现有技术中以太网帧转发流程示意图;
图5为现有技术中根据QinQ封装的以太网帧示意图;
图6为本发明实施例提供的一种数据转发方法的流程图;
图7为本发明实施例提供的一种以太网转发流程示意图;
图8为本发明实施例提供的一种数据转发装置的结构图;
图9为本发明实施例提供的一种接入设备结构示意图。
采用本发明技术方案,通过预先将接入设备上的端口分为两个端口组,并保存VLAN、端口标识以及端口标识所标识的端口所属的端口组之间的对应关系,在接收报文时,识别接收报文的端口所属的端口组,为第一端口组,并从报文中获取VLAN,该接入设备利用获取的VLAN以及第二端口组从该对应关系中获取对应的端口标识;以及通过获取的端口标识所标识的端口转发报文,可以有效的解决现有技术中存在的IVL和SVL地址学习方式对应的转发表不适用于S+C业务进而造成无法转发S+C业务数据的问题。
本发明实施例提供了一种数据转发方法,适用于处理S+C业务的交换机等端口用于数据转发的接入设备,下面结合附图对本发明优选的实施方式进行详细说明。
参阅图6所示,本发明实施例提供的一种数据转发方法,首先,将接入设备上的端口划分成两个端口组,第一端口组和第二端口组,在接入设备上保存有VLAN、端口标识以及端口标识所标识的端口所属的端口组之间的对应关系,该方法的具体处理流程包括:
步骤601:接入设备接收报文后,识别接收报文的端口所属的端口组,为第一端口组。
在本实施例中,接入设备按照预设的规则将所有端口均划分至不同的端口组中,每个端口组包含至少一个端口。其中预设的规则可以为多种,例如,将指定的端口划分为一个端口组,其余端口划分为另一个端口组;或者,将
指定标识区间内的端口划分为一个端口组;或者,根据该接入设备的端口位置等特点进行划分,还可以根据端口的数目以及设备的功能以及特殊业务等将端口划分为不同的端口组。
在本实施例中,将所有端口划分为两个端口组,其中,即若通过其中一个端口组中的端口接收报文,则该报文应该从另一个端口组中的某一个端口转发。例如,对于接入设备,可以将端口划分为网络侧端口组(NNI)和用户侧端口组(UNI),不同的端口组中的端口连接的设备不同,NNI中的端口连接网络侧网线,UNI中的端口连接用户设备网线。
由于接入设备上的端口划分成两个端口组,且接入设备可以识别接收报文的端口,因此,接入设备可以根据接收报文的端口识别接收报文的端口所属的端口组,并将该端口组作为第一端口组。
例如,将PORT1配置划分为NNI端口组,将PORT2、PORT3划分为UNI端口组,即NNI=[PORT1],UNI=[PORT2,PORT3],则若确定接收报文的端口为PORT1,则可以根据上述端口组信息确定接收报文的端口PORT1所属的端口组为NNI,并将NNI记为第一端口组。
步骤602:接入设备从报文中获取VLAN。
具体的,该VLAN包括SVLAN和用户侧VLAN,或者,
该VLAN为SVLAN,即用户侧VLAN标识为空。
S+C业务中的报文是以双层VLAN QinQ技术封装的以太网帧进行数据传输的,参阅图5所示,每个以太网帧都包含外层便签和内层标签,外层标签中的Tag Header中的VLAN ID即为SVLAN,而内层标签中的Tag Header中的VLAN ID即为用户侧VLAN。因此,接收到以双层VLAN QinQ技术封装的以太网帧后,即可确定该以太网帧中携带的SVLAN,或者SVLAN和用户侧VLAN。
步骤603:接入设备利用获取的VLAN以及第二端口组从接入设备存储的对应关系中获取对应的端口标识。
接入设备上保存有VLAN、端口标识以及端口标识所标识的端口所属的
端口组之间的对应关系,当VALN为SVLAN和用户侧VLAN时,该对应关系为SVLAN、用户侧VLAN、端口标识以及端口标识所标识的端口所属的端口组四者之间的对应关系;当VALN为SVLAN时,该对应关系为SVLAN、端口标识以及端口标识所标识的端口所属的端口组三者之间的对应关系。
根据获取的VLAN以及第二端口组从接入设备存储的对应关系中可以查询到包含该VLAN以及第二端口组、端口标识一对应关系,并获取该一对应关系中的端口标识。
在本实施例中,由于将端口划分为两个端口组,NNI和UNI,且不同的端口组中的端口连接的设备不同,从网络侧发过来的数据流向用户设备,而从用户设备发过来的数据流向网络侧,即因此可以确定若接收报文的端口(源端口)属于第一端口组NNI,则出端口属于第二端口组UNI,同理,若接收报文的端口属于第一端口组UNI,则出端口属于第二端口组UNI。
具体的,当VLAN为SVLAN和用户侧VLAN时,由于接收到以太网帧中携带SVLAN、用户侧VLAN,且接入设备将所有端口划分为两个不同端口组,因此,一个SVLAN和用户侧VLAN组合可以在不同的端口组中对应不同的端口,但是,一个SVLAN和用户侧VLAN组合在一个端口组中只能对应唯一的一个端口。
当VLAN包括SVLAN和用户侧VLAN时,接入设备存储的对应关系参阅表3所示,该对应关系(转发表)中的任意一个表项中需要至少包含SVLAN、用户侧VLAN、端口标识所标识的端口所属的端口组以及所在端口标识,且相同的SVLAN和用户侧VLAN组合可以在不同的端口组中对应不同的端口标识,但是,一个SVLAN和用户侧VLAN组合在一个端口组中只能对应唯一的一个端口标识。
表3 S+C业务对应的转发表
SVLAN | 用户侧VLAN | 端口组 | 所在端口标识 |
SVLAN 2 | CVLAN 3 | NNI | PORT1 |
SVLAN 2 | CVLAN 3 | UNI | PORT2 |
SVLAN 2 | CVLAN 5 | NNI | PORT1 |
SVLAN 2 | CVLAN 5 | UNI | PORT2 |
具体的,当VLAN包括SVLAN和用户侧VLAN时,接入设备利用获取的VLAN以及第二端口组从接入设备存储的对应关系中获取对应的端口标识,包括:
根据SVLAN、用户侧VLAN、第二端口组在转发表中筛选出对应的表项,并将该表项中的设置的端口标识作为报文的出端口的端口标识。
仍以表3中的转发表为例,若确定接收到的报文SVLAN标识为SVLAN2,用户侧VLAN标识为CVLAN 3,且接收报文的端口所属的端口组为NNI,首先确定第二端口组即出端口所述的端口组为UNI,然后在转发表中筛选SVLAN标识为SVLAN 2,CLAN标识为CLAN 3,端口组为UNI对应的表项,在表3中,可以确定该表项为第二条表项,因此,将该表项中的设置的端口标识(即所在端口标识)——PORT2作为报文的出端口的端口标识。
在VLAN包括SVLAN和用户侧VLAN时,本发明实施例提供的数据转发方法,还包括:
当接入设备利用获取的VLAN以及第二端口组从所述对应关系中未获取对应的端口标识时,利用获取的VLAN中的SVLAN以及第二端口组从接入设备保存的对应关系中获取对应的至少一个端口标识。
继续以表3的转发表为例,若确定接收的报文SVLAN标识为SVLAN 2,用户侧VLAN标识为CVLAN 4,且源端口所归属的端口组为NNI,首先确定出端口的端口组为UNI,然后在转发表中筛选SVLAN标识为SVLAN 2,CVLAN标识为CVLAN 4,端口组为UNI对应的表项,在表3中,不能筛选出对应的表项,因此,在转发表中筛选SVLAN标识为SVLAN 2,端口组为UNI对应的表项,在表3中,可以确定为第二条和第四条表项,并将这两条表项中的设置的端口标识——PORT2作为报文的出端口的端口标识。
在实际应用场景中,根据指定的SVLAN标识和指定的端口组在转发表
中,可以查到至少一条表项,因此,该至少一条表项对应的出端口的端口标识也为至少一个。
本发明实施例通过将端口分为不同的端口组,在接收到报文后转发报文时,可以根据报文中SVLAN+用户侧VLAN以及端口组快速查询转发表,确定出端口标识,提高了接入设备的转发效率。
步骤604:接入设备通过获取的端口标识所标识的端口转发报文。
将报文通过出端口的端口标识对应的出端口进行转发,包括两种方式:
第一种方式,当根据SVLAN标识、CVLAN标识和第二端口组在转发表中筛选出对应的表项时,此时,该表项数目为一条,因此,可以直接通过该表项确定的一个出端口的端口标识,并将报文通过出端口的端口标识对应的出端口进行转发。
第二种方式,当根据SVLAN标识、CVLAN标识和第二端口组在转发表中未筛选出对应的表项时,此时,根据SVLAN标识、第二端口组在转发表中筛选出对应的表项,其中,该表项为至少一条,因此,对应的出端口的端口标识数目也是至少一个,并将该表项中的设置的所有端口标识作为报文的出端口的端口标识,并将报文分别通过至少一个出端口的端口标识分别对应的出端口进行广播转发。
在步骤601和步骤602后,即接入设备识别接收报文的端口所属的端口组为第一端口组,且从报文中获取VLAN后,还包括:
接入设备根据VLAN标识、接收该报文的端口对应的端口标识以及第一端口组对接入设备保存的对应关系进行更新。
其中,对转发表进行更新可以在步骤602后的任何时间进行。可以在步骤603和步骤604之前,或者在步骤603和步骤604之后,或者与步骤603或604同时进行。
具体的,根据VLAN、接收报文的端口对应的端口标识以及第一端口组对该对应关系进行更新,包括:
确定在该对应关系中是否包含该VLAN和第一端口组之间的一对应关
系;
若是,则基于接收报文的端口对应的端口标识更新该一对应关系中包含的端口标识;
否则,组建一新的对应关系添加至该对应关系中,该新的对应关系中包含VLAN、第一端口组以及接收报文的端口对应的端口标识。
例如,转发表为表3,接收到的报文的SVLAN标识为SVLAN2、用户侧VLAN标识为CVLAN3、源端口的端口标识PORT1以及该源端口所属的端口组为NNI,在转发表中,可以找得到SVLAN标识为SVLAN2、CVLAN标识为CVLAN3,且该源端口所属的端口组为NNI的表项,即第一条,无论该表项对应的所在端口标识是否与该源端口的端口标识一致,都将源端口的端口标识PORT1对该表项中所在的端口标识进行更新。
又例如,转发表为表3,接收到的报文的SVLAN标识为SVLAN2、用户侧VLAN标识为CVLAN4、源端口的端口标识PORT1以及该源端口所属的端口组为NNI,在转发表中,无法到SVLAN标识为SVLAN2、CVLAN标识为CVLAN4,且该源端口所属的端口组为NNI的表项,则将SVLAN2、CVLAN4、PORT1、NNI组成新的表项,存储到转发表中。
采用这两种方式对转发表进行实时更新,可以保证在转发表存储的是最新的端口和SVLAN+CVLAN对应关系,既可以保证接入设备在相同的SVLAN+CVLAN但使用新的源端口a进行数据接收后,在源端口a对应的出端口b作为源端口接收到相同的SVLAN+CVLAN的报文时,仍可以通过端口a将该报文进行转发,避免了转发表与最新的端口和SVLAN+CVLAN对应关系不一致,导致报文无法准确发送,降低了端口转发设备的转发效率,进而降低了用户的体验的问题;在转发表中未保存新的源端口和SVLAN+CVLAN对应关系时,可以通过自学习的方式,将该源端口和SVLAN+CVLAN对应关系添加至转发表,降低了数据丢弃的概率,保证端口转发设备的转发效率,提高用户的体验。
参阅图7所示,例如,交换机将端口PORT1、PORT2和PORT3划分为
不同的端口组,将PORT1配置划分为端口组NNI,将PORT2、PORT3划分为端口组UNI,该交换机对应的转发表如表3所示,当交换机从端口1接收到SVLAN标识为VLAN 2,CVLAN标识为CVLAN 3的报文后,确定源端口PORT1所归属的端口组为NNI,根据该报文SVLAN 2、CVLAN 3、NNI,在转发表中查找对应的表项,即第一条表项,然后将PORT1更新该表项中的所在端口标识;并根据源端口的端口组NNI,确定出端口的端口标识集群UNI,并在转发表中查找SVLAN 2、CVLAN 3、UNI组对应的表项,即第二条表项,根据第二条表项确定出端口为PORT2,然后将接收的报文通过PORT2转发出去。
基于上述实施例,参阅图8所示,本发明实施例还提供了一种数据转发装置,将数据转发装置上的端口划分成第一端口组和第二端口组,在该数据转发装置上保存有VLAN、端口标识以及端口标识所标识的端口所属的端口组之间的对应关系,该装置包括:接收单元801、获取单元802、处理单元803,其中,
接收单元801,用于接收报文,识别接收报文的端口所属的端口组,为第一端口组;
获取单元802,用于从该报文中获取VLAN;
处理单元803,用于利用获取的VLAN以及第二端口组从对应关系中获取对应的端口标识;以及通过获取的端口标识所标识的端口转发报文。
可选的,VLAN包括SVLAN和用户侧VLAN;或者该VLAN为SVLAN。
可选的,在该VLAN包括SVLAN和用户侧VLAN时,处理单元803还用于:
当处理单元803利用获取的VLAN以及第二端口组从对应关系中未获取对应的端口标识时,利用获取的VLAN中的SVLAN以及第二端口组从对应关系中获取对应的至少一个端口标识。
可选的,该数据转发装置装置还包括:
更新单元804,用于在接收单元801识别接收报文的端口所属的端口组为
第一端口组,且获取单元802从报文中获取VLAN后,根据VLAN、接收报文的端口对应的端口标识以及第一端口组对对应关系进行更新。
可选的,更新单元804,具体用于:
确定在对应关系中是否包含VLAN和第一端口组之间的一对应关系;
若是,则基于接收报文的端口对应的端口标识更新一对应关系中包含的端口标识;
否则,组建一新的对应关系添加至对应关系中,新的对应关系中包含VLAN、第一端口组以及接收报文的端口对应的端口标识。
基于上述实施例,参阅图9所示,本发明实施例还提供了一种接入设备,将该接入设备上的端口划分成第一端口组和第二端口组,在该接入设备中的存储器900中保存有VLAN、端口标识以及端口标识所标识的端口所属的端口组之间的对应关系,该装置包括:收发器901、处理器902,其中,
收发器901,用于接收报文,并在处理器902获取到端口标识时,通过获取的端口标识所标识的端口转发报文;
处理器902,用于识别接收报文的端口所属的端口组,为第一端口组,以及从报文中获取VLAN;利用获取的VLAN以及第二端口组从对应关系中获取对应的端口标识。
可选的,VLAN包括服务提供商虚拟局域网SVLAN和用户侧VLAN;或者VLAN为SVLAN。
可选的,在VLAN包括SVLAN和用户侧VLAN时,处理器902还用于:
当接入设备利用获取的VLAN以及第二端口组从对应关系中未获取对应的端口标识时,利用获取的VLAN中的SVLAN以及第二端口组从对应关系中获取对应的至少一个端口标识。
可选的,处理器902还用于:
在识别接收报文的端口所属的端口组为第一端口组,且从报文中获取VLAN后,根据VLAN、接收报文的端口对应的端口标识以及第一端口组对对应关系进行更新。
可选的,处理器902在根据VLAN、接收报文的端口对应的端口标识以及第一端口组对对应关系进行更新时,具体用于:
确定在对应关系中是否包含VLAN和第一端口组之间的一对应关系;
若是,则基于接收报文的端口对应的端口标识更新一对应关系中包含的端口标识;
否则,组建一新的对应关系添加至对应关系中,新的对应关系中包含VLAN、第一端口组以及接收报文的端口对应的端口标识。
综上所述,通过本发明实施例中提供的一种数据转发方法、装置及接入设备,该方法首先将接入设备中的所有端口的端口分为两个端口组,接入设备上保存有VLAN、端口标识以及端口标识的所属的端口组之间的对应关系,接入设备接收报文,识别接收报文的端口所属的端口组为第一端口组,并获取报文中VLAN;接入设备利用获取的VLAN以及第二端口组从对应关系中获取对应的端口标识;以及通过获取的端口标识所标识的端口转发报文,并且,根据获取的VLAN、第一端口组以及接收报文的端口所属的端口组,对该对应关系进行更新。其中,将端口分为不同的端口组,在接收到报文后转发报文时,可以根据SVLAN标识+CVLAN标识以及端口组快速查询转发表,确定出端口标识,提高了端口数据转发设备的转发效率,有效的解决了现有技术中存在的IVL和SVL地址学习方式对应的转发表不适用于S+C业务进而造成无法转发S+C业务数据的问题;根据SVLAN标识、CVLAN标识、接收报文的端口对应的端口标识以及接收报文的端口所属的端口组,对转发表进行实时更新,通过自学习的方式,将该源端口和SVLAN+CVLAN对应关系或更新添加至转发表,降低了数据丢弃的概率,保证端口转发设备的转发效率,提高用户的体验。
本领域内的技术人员应明白,本发明的实施例可提供为方法、***、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘
存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。
本发明是参照根据本发明实施例的方法、设备(***)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
尽管已描述了本发明的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例作出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本发明范围的所有变更和修改。
显然,本领域的技术人员可以对本发明实施例进行各种改动和变型而不脱离本发明实施例的精神和范围。这样,倘若本发明实施例的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。
Claims (15)
- 一种数据转发方法,其特征在于,将接入设备上的端口划分成第一端口组和第二端口组,在接入设备上保存有虚拟局域网VLAN、端口标识以及端口标识所标识的端口所属的端口组之间的对应关系,所述方法包括:所述接入设备接收报文,识别接收所述报文的端口所属的端口组,为第一端口组;所述接入设备从所述报文中获取VLAN;所述接入设备利用获取的VLAN以及第二端口组从所述对应关系中获取对应的端口标识;以及所述接入设备通过获取的端口标识所标识的端口转发所述报文。
- 根据权利要求1所述的方法,其特征在于,所述VLAN包括服务提供商虚拟局域网SVLAN和用户侧VLAN;或者所述VLAN为SVLAN。
- 根据权利要求2所述的方法,其特征在于,在所述VLAN包括SVLAN和用户侧VLAN时,所述方法还包括:当所述接入设备利用获取的VLAN以及第二端口组从所述对应关系中未获取对应的端口标识时,利用获取的VLAN中的SVLAN以及第二端口组从所述对应关系中获取对应的至少一个端口标识。
- 根据权利要求1-3任一项所述的方法,其特征在于,所述接入设备识别接收所述报文的端口所属的端口组为第一端口组,且从所述报文中获取VLAN后,还包括:所述接入设备根据所述VLAN、接收所述报文的端口对应的端口标识以及第一端口组对所述对应关系进行更新。
- 根据权利要求4所述的方法,其特征在于,根据所述VLAN、接收所述报文的端口对应的端口标识以及第一端口组对所述对应关系进行更新,包括:确定在所述对应关系中是否包含所述VLAN和第一端口组之间的一对应 关系;若是,则基于接收所述报文的端口对应的端口标识更新所述一对应关系中包含的端口标识;否则,组建一新的对应关系添加至所述对应关系中,所述新的对应关系中包含所述VLAN、第一端口组以及接收所述报文的端口对应的端口标识。
- 一种数据转发装置,其特征在于,将数据转发装置上的端口划分成第一端口组和第二端口组,在所述数据转发装置上保存有虚拟局域网VLAN、端口标识以及端口标识所标识的端口所属的端口组之间的对应关系,所述装置包括:接收单元,用于接收报文,识别接收所述报文的端口所属的端口组,为第一端口组;获取单元,用于从所述报文中获取VLAN;处理单元,用于利用获取的VLAN以及第二端口组从所述对应关系中获取对应的端口标识;以及通过获取的端口标识所标识的端口转发所述报文。
- 根据权利要求6所述的装置,其特征在于,所述VLAN包括服务提供商虚拟局域网SVLAN和用户侧VLAN;或者所述VLAN为SVLAN。
- 根据权利要求7所述的装置,其特征在于,在所述VLAN包括SVLAN和用户侧VLAN时,所述处理单元还用于:当所述处理单元利用获取的VLAN以及第二端口组从所述对应关系中未获取对应的端口标识时,利用获取的VLAN中的SVLAN以及第二端口组从所述对应关系中获取对应的至少一个端口标识。
- 根据权利要求6-8任一项所述的装置,其特征在于,所述装置还包括:更新单元,用于在所述接收单元识别接收所述报文的端口所属的端口组为第一端口组,且所述获取单元从所述报文中获取VLAN后,根据所述VLAN、接收所述报文的端口对应的端口标识以及第一端口组对所述对应关系进行更新。
- 根据权利要求9所述的装置,其特征在于,所述更新单元,具体用 于:确定在所述对应关系中是否包含所述VLAN和第一端口组之间的一对应关系;若是,则基于接收所述报文的端口对应的端口标识更新所述一对应关系中包含的端口标识;否则,组建一新的对应关系添加至所述对应关系中,所述新的对应关系中包含所述VLAN、第一端口组以及接收所述报文的端口对应的端口标识。
- 一种接入设备,其特征在于,将所述接入设备上的端口划分成第一端口组和第二端口组,在所述接入设备的存储器中保存有虚拟局域网VLAN、端口标识以及端口标识所标识的端口所属的端口组之间的对应关系,所述接入设备包括:收发器,用于接收报文,并在处理器获取到端口标识时,通过获取的端口标识所标识的端口转发所述报文;处理器,用于识别接收所述报文的端口所属的端口组,为第一端口组,以及从所述报文中获取VLAN;利用获取的VLAN以及第二端口组从所述对应关系中获取对应的端口标识。
- 根据权利要求11所述的接入设备,其特征在于,所述VLAN包括服务提供商虚拟局域网SVLAN和用户侧VLAN;或者所述VLAN为SVLAN。
- 根据权利要求12所述的接入设备,其特征在于,在所述VLAN包括SVLAN和用户侧VLAN时,所述处理器还用于:当所述接入设备利用获取的VLAN以及第二端口组从所述对应关系中未获取对应的端口标识时,利用获取的VLAN中的SVLAN以及第二端口组从所述对应关系中获取对应的至少一个端口标识。
- 根据权利要求11-13任一项所述的接入设备,其特征在于,所述处理器还用于:在识别接收所述报文的端口所属的端口组为第一端口组,且从所述报文中获取VLAN后,根据所述VLAN、接收所述报文的端口对应的端口标识以 及第一端口组对所述对应关系进行更新。
- 根据权利要求14所述的接入设备,其特征在于,所述处理器在根据所述VLAN、接收所述报文的端口对应的端口标识以及第一端口组对所述对应关系进行更新时,具体用于:确定在所述对应关系中是否包含所述VLAN和第一端口组之间的一对应关系;若是,则基于接收所述报文的端口对应的端口标识更新所述一对应关系中包含的端口标识;否则,组建一新的对应关系添加至所述对应关系中,所述新的对应关系中包含所述VLAN、第一端口组以及接收所述报文的端口对应的端口标识。
Priority Applications (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201480016981.7A CN105637815B (zh) | 2014-09-10 | 2014-09-10 | 一种数据转发方法、装置及接入设备 |
PCT/CN2014/086214 WO2016037326A1 (zh) | 2014-09-10 | 2014-09-10 | 一种数据转发方法、装置及接入设备 |
EP14901647.9A EP3182655A4 (en) | 2014-09-10 | 2014-09-10 | Data forwarding method and apparatus, and access device |
US15/454,350 US20170187622A1 (en) | 2014-09-10 | 2017-03-09 | Data forwarding method and apparatus, and access device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2014/086214 WO2016037326A1 (zh) | 2014-09-10 | 2014-09-10 | 一种数据转发方法、装置及接入设备 |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US15/454,350 Continuation US20170187622A1 (en) | 2014-09-10 | 2017-03-09 | Data forwarding method and apparatus, and access device |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2016037326A1 true WO2016037326A1 (zh) | 2016-03-17 |
Family
ID=55458251
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2014/086214 WO2016037326A1 (zh) | 2014-09-10 | 2014-09-10 | 一种数据转发方法、装置及接入设备 |
Country Status (4)
Country | Link |
---|---|
US (1) | US20170187622A1 (zh) |
EP (1) | EP3182655A4 (zh) |
CN (1) | CN105637815B (zh) |
WO (1) | WO2016037326A1 (zh) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109728992B (zh) * | 2018-11-27 | 2021-09-28 | 苏州盛科通信股份有限公司 | 分配转发域的方法、装置、存储介质及电子装置 |
US11095558B2 (en) * | 2018-12-28 | 2021-08-17 | Alibaba Group Holding Limited | ASIC for routing a packet |
CN114697160B (zh) * | 2020-12-28 | 2023-05-26 | 国家计算机网络与信息安全管理中心 | 一种隧道报文的处理方法和装置 |
CN114760166B (zh) * | 2020-12-28 | 2023-05-26 | 国家计算机网络与信息安全管理中心 | 一种隧道报文的处理方法和装置 |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101022392A (zh) * | 2007-03-06 | 2007-08-22 | 华为技术有限公司 | 一种基于虚拟局域网的数据交换方法及设备 |
CN101335708A (zh) * | 2008-08-06 | 2008-12-31 | 杭州华三通信技术有限公司 | 一种报文转发方法和一种运营商边缘汇聚设备 |
CN101478496A (zh) * | 2009-01-21 | 2009-07-08 | 杭州华三通信技术有限公司 | 一种数据报文的转发方法和交换设备 |
CN101610216A (zh) * | 2009-07-29 | 2009-12-23 | 华为技术有限公司 | 以太网报文转发方法、装置及*** |
CN101820392A (zh) * | 2010-03-26 | 2010-09-01 | 中兴通讯股份有限公司 | 一种实现多业务转发的方法和网络处理器 |
CN102932254A (zh) * | 2012-11-19 | 2013-02-13 | 杭州华三通信技术有限公司 | 报文转发方法及装置 |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7298705B2 (en) * | 2003-02-05 | 2007-11-20 | Broadcom Corporation | Fast-path implementation for a double tagging loopback engine |
JP4173866B2 (ja) * | 2005-02-21 | 2008-10-29 | 富士通株式会社 | 通信装置 |
JP5251716B2 (ja) * | 2009-05-08 | 2013-07-31 | 富士通株式会社 | パケット中継装置 |
-
2014
- 2014-09-10 EP EP14901647.9A patent/EP3182655A4/en not_active Withdrawn
- 2014-09-10 CN CN201480016981.7A patent/CN105637815B/zh not_active Expired - Fee Related
- 2014-09-10 WO PCT/CN2014/086214 patent/WO2016037326A1/zh active Application Filing
-
2017
- 2017-03-09 US US15/454,350 patent/US20170187622A1/en not_active Abandoned
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101022392A (zh) * | 2007-03-06 | 2007-08-22 | 华为技术有限公司 | 一种基于虚拟局域网的数据交换方法及设备 |
CN101335708A (zh) * | 2008-08-06 | 2008-12-31 | 杭州华三通信技术有限公司 | 一种报文转发方法和一种运营商边缘汇聚设备 |
CN101478496A (zh) * | 2009-01-21 | 2009-07-08 | 杭州华三通信技术有限公司 | 一种数据报文的转发方法和交换设备 |
CN101610216A (zh) * | 2009-07-29 | 2009-12-23 | 华为技术有限公司 | 以太网报文转发方法、装置及*** |
CN101820392A (zh) * | 2010-03-26 | 2010-09-01 | 中兴通讯股份有限公司 | 一种实现多业务转发的方法和网络处理器 |
CN102932254A (zh) * | 2012-11-19 | 2013-02-13 | 杭州华三通信技术有限公司 | 报文转发方法及装置 |
Non-Patent Citations (1)
Title |
---|
See also references of EP3182655A4 * |
Also Published As
Publication number | Publication date |
---|---|
CN105637815B (zh) | 2019-04-16 |
CN105637815A (zh) | 2016-06-01 |
EP3182655A1 (en) | 2017-06-21 |
US20170187622A1 (en) | 2017-06-29 |
EP3182655A4 (en) | 2017-10-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11102033B2 (en) | Method and apparatus for implementing a flexible virtual local area network | |
US9832042B2 (en) | Mapping PBT and PBB-TE traffic to VPLS and other services | |
CN108075956B (zh) | 一种数据处理方法和装置 | |
US10050877B2 (en) | Packet forwarding method and apparatus | |
EP2910003B1 (en) | Duplicate mac address detection | |
US8718071B2 (en) | Method to pass virtual local area network information in virtual station interface discovery and configuration protocol | |
US8902757B2 (en) | Method and system for transparent LAN services in a packet network | |
CN107395532B (zh) | 一种基于sdn的多租户虚拟网络隔离方法 | |
US10200212B2 (en) | Accessing IP network and edge devices | |
CN103944826B (zh) | Spbm网络中的表项聚合方法及设备 | |
EP1903723B1 (en) | Method and apparatus for transmitting message | |
CN103841023B (zh) | 数据转发的方法和设备 | |
EP4102780A1 (en) | Method for sending virtual extensible local area network packet, computer device, and readable medium | |
US20130124750A1 (en) | Network virtualization without gateway function | |
WO2016037326A1 (zh) | 一种数据转发方法、装置及接入设备 | |
WO2015127643A1 (en) | Method and communication node for learning mac address in a layer-2 communication network | |
US20040223501A1 (en) | Method and apparatus for routing data frames | |
US10574573B2 (en) | Connecting a PVLAN switch to a non-PVLAN device | |
CN110620715B (zh) | 虚拟扩展局域网通信方法、隧道端点和控制器 | |
WO2019118558A1 (en) | Systems and methods for providing i-sid translation in spb networks | |
CN107528784B (zh) | 报文转发方法和装置 | |
US11824797B1 (en) | Method for reduced programming of selective multicast routes in EVPN fabric | |
Sajassi et al. | RFC 9135: Integrated Routing and Bridging in Ethernet VPN (EVPN) |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 14901647 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
REEP | Request for entry into the european phase |
Ref document number: 2014901647 Country of ref document: EP |
|
WWE | Wipo information: entry into national phase |
Ref document number: 2014901647 Country of ref document: EP |