WO2017219958A1 - 报文转发 - Google Patents

报文转发 Download PDF

Info

Publication number
WO2017219958A1
WO2017219958A1 PCT/CN2017/089147 CN2017089147W WO2017219958A1 WO 2017219958 A1 WO2017219958 A1 WO 2017219958A1 CN 2017089147 W CN2017089147 W CN 2017089147W WO 2017219958 A1 WO2017219958 A1 WO 2017219958A1
Authority
WO
WIPO (PCT)
Prior art keywords
port
packet
forwarding
vport
receives
Prior art date
Application number
PCT/CN2017/089147
Other languages
English (en)
French (fr)
Inventor
梁学伟
Original Assignee
新华三技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 新华三技术有限公司 filed Critical 新华三技术有限公司
Priority to JP2018566849A priority Critical patent/JP6722776B2/ja
Priority to EP17814696.5A priority patent/EP3474500A4/en
Priority to US16/099,677 priority patent/US10771385B2/en
Publication of WO2017219958A1 publication Critical patent/WO2017219958A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/70Virtual switches
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/02Topology update or discovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/50Routing or path finding of packets in data switching networks using label swapping, e.g. multi-protocol label switch [MPLS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/66Layer 2 routing, e.g. in Ethernet based MAN's
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • H04L45/745Address table lookup; Address filtering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/25Routing or path finding in a switch fabric
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/30Peripheral units, e.g. input or output ports
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/618Details of network addresses
    • H04L2101/622Layer-2 addresses, e.g. medium access control [MAC] addresses

Definitions

  • a port expansion capable switch can be composed of a (Group) Control Bridge (CB: Controlling Bridge) tree connected to multiple port expansion bridges (PE: Port Extender).
  • CB Controlling Bridge
  • PE Port Extender
  • the PE can provide the number of ports and the port access capability of the CB. It can be connected to the upper-level PE or CB through the upstream port (Upstream Port) and connected to the lower-level PE through the Cascade Port.
  • the PEs can be cascaded.
  • the CB performs virtual port (vPort) mapping management on the ports on the PEs and connects to the PEs through the Cascade Port.
  • vPort virtual port
  • the PE can carry the E-tag Channel Identifier (ECID) bound to the source port of the received packet in the E-TAG and send the packet to the CB. , by the CB for decision forwarding.
  • EID E-tag Channel Identifier
  • FIG. 1 is a schematic diagram of a network topology shown in the present disclosure.
  • FIG. 2 is a schematic flow chart of a method of message forwarding according to an example of the present disclosure.
  • FIG. 3 is a networking diagram of a method for applying packet forwarding according to an embodiment of the present disclosure.
  • FIG. 4 is a networking diagram of a method for applying packet forwarding according to another embodiment of the present disclosure.
  • FIG. 5 is a hardware configuration diagram of a PE shown according to an example of the present disclosure.
  • Figure 1 shows a network topology diagram defined by 802.1BR.
  • a virtual machine (VM: Virtual Machine) 110 accesses the virtual machine VM 112, and the virtual machine VM 110 can send a message with the destination MAC address being the virtual machine VM 112 to the extension bridge PE 120.
  • the extension bridge PE 120 receives the packet, the E-TAG tag may be added to the packet to carry the E-tag Channel Identifier (ECID) bound to the source port, and the Upstream Port will be adopted.
  • the message is sent to the extension bridge PE 121 and finally sent by the extension bridge PE 121 to the control bridge CB 130.
  • the control bridge CB 130 can look up the egress port for forwarding the packet in the MAC forwarding entry according to the destination MAC address of the packet.
  • the control bridge CB 130 can remove the E-TAG tag of the packet and forward it through the found egress port.
  • the controller CB 130 can reconstruct the E-TAG of the packet to carry the destination ECID corresponding to the vPort, and send the packet to the extension bridge PE 121 through the Cascade Port, and the extension bridge PE
  • the device may search for the cascading interface according to the destination ECID carried in the E-TAG of the packet, and send the packet to the extension bridge PE 120 through the cascading interface.
  • the extension bridge PE 120 can find the E-TAG label of the packet by using the ECID carried in the E-TAG label of the packet to find the egress port for forwarding the packet as the local port. And through the found outbound port forwarding, the virtual machine VM 112 will receive the message accessed by the virtual machine VM 110.
  • multi-stage forwarding is also required, which increases the load of the forwarding path, increases the forwarding delay, and reduces the number of cascaded links between the CB and the PE and the PE and the PE. The forwarding efficiency of the cascaded link.
  • the present disclosure provides a packet forwarding method, which can implement the access between different VMs under the same PE or VMs connected to different PEs on the same tree branch without using CB, but the shortest Path forwarding, which can effectively shorten the forwarding path and improve the forwarding efficiency of the cascaded link between the CB and the PE, PE and PE.
  • FIG. 2 is a schematic flowchart of a method for message forwarding according to an example of the present disclosure. As shown in FIG. 2, the flow may include steps 201 to 204.
  • the PE can receive the message.
  • the PE may determine a first virtual port (vPort) to which the port of the message is bound.
  • vPort virtual port
  • the PE may determine the first vPort to which the port that receives the packet is bound, and depends on the port that the PE receives the packet.
  • the PE can search for the vPort bound to the first user-side port in the port binding relationship table to complete the PE determination. Receives the first vPort bound to the port of the packet.
  • each port on the device can be reported to the CB.
  • the CB can bind the vPort to each port reported by the PE, and can bind each port.
  • the port binding relationship table of the vPort is sent to the PE.
  • the PE After receiving the packet from the first user-side port, the PE can search for the vPort corresponding to the first user-side port in the port binding relationship table, and determine the discovered vPort as the port binding for receiving the packet.
  • the first vPort is the first vPort.
  • the PE may identify the feature parameter carried in the packet, and determine, in advance, the specified vPort for the feature parameter assignment as Receiving a first vPor bound to the port of the packet.
  • the feature parameters may include user information of the VM, such as a MAC address of the VM, an IP address of the VM, and the like.
  • the user side port of the PE is usually connected to the VM.
  • the user information of the VM may represent the user side port that is connected to the VM. Therefore, the first vPort bound to the port receiving the packet can be understood as the first vPort bound to the VM connected to the port receiving the packet.
  • the PE when the PE is powered on, the PE can report the user information of the VM connected to the user-side port and the ports on the device (including the user-side port and the uplink port) to the CB.
  • the CB can bind the vPort to each port that the PE reports, and can send the port binding relationship table of the port to which the port is bound.
  • the CB can allocate a vPort to the VM connected to the user port of the PE, and the vPort assigned to the VM connected to each user port is a vPort bound to each user port in the port binding relationship table.
  • the CB sends the configuration table of the user information and the vPort binding relationship of the VM to the PE.
  • the PE After receiving the packet from the first user-side port, the PE can identify the feature parameters carried in the packet, such as the source MAC address and source IP address of the packet.
  • the source MAC address and the source IP address are received.
  • the PE may search for the vPort corresponding to the packet feature, such as the source MAC address of the packet, and determine the vPort to be the first vPort bound to the port that receives the packet.
  • the PE may determine the vPort bound to the source Ethernet forwarding channel identifier ECID carried in the first layer label of the packet as the port binding of the packet.
  • a vPort the PE may determine the vPort bound to the source Ethernet forwarding channel identifier ECID carried in the first layer label of the packet as the port binding of the packet.
  • the CB can send the binding relationship table of each port and the vPort on the PE to the PE. And the binding relationship table between vPort and ECID. Therefore, it can be seen that the port on the PE has a corresponding relationship with the ECID. Therefore, the first vPort bound to the port receiving the packet is determined to be the first vport bound to the ECID corresponding to the port that receives the packet.
  • the PE obtains the ECID from the first layer label of the packet, and searches for the vPort corresponding to the ECID according to the binding relationship table between the vPort and the ECID. Determine to bind the first vPort to the port that receives the packet.
  • the PE may add a first forwarding entry in the forwarding table, where the outbound port included in the first forwarding entry is the first vPort, the first forwarding table.
  • the MAC address included in the entry is the source MAC address of the packet, and the virtual local area network VLAN identifier included in the first forwarding entry is a VLAN identifier of a VLAN associated with the first vPort;
  • the forwarding entry addition condition may be set based on the principle that the forwarding entry is not repeatedly established, and the MAC address is not migrated (Move).
  • the forwarding entry addition condition may include any one or more of the following:
  • the port that receives the packet is a user-side port, and the learned forwarding entry that matches the source MAC address of the packet is learned based on the received packet from the upstream port (Upstream Port). .
  • the forwarding entry that has been learned to match the source MAC address of the packet may be deleted when the condition 2) is satisfied.
  • the condition 1) ensures that the forwarding entry matching the source MAC address of the packet is not repeatedly added in the forwarding table; and the condition 2) prevents the MAC address from being migrated to ensure that the forwarding entry learned from the user-side port takes precedence.
  • the process of receiving a forwarding entry from the uplink port may include: if the forwarding entry matching the destination MAC address of the packet cannot be found on each PE device, the packet may be It is sent to CB through PEs at all levels and broadcast by CB. In the process of the CB broadcasting to the PEs at all levels, after the PE receives the packet from the CB broadcast, the PE can learn the MAC address if the forwarding entry of the source MAC address of the packet does not exist on the PE.
  • the source MAC address of the packet, the egress port is the vPort bound to the uplink port, and the VLAN ID is the forwarding entry of the VLAN ID to which the packet belongs.
  • Step 204 The PE searches for the matching second forwarding entry in the forwarding table according to the destination MAC address of the packet and the VLAN identifier of the VLAN to which the packet belongs.
  • the PE searches for the matching forwarding entry in the forwarding table according to the destination MAC address of the packet and the identifier of the VLAN to which the packet belongs, and may include: when the packet is received through the first user port.
  • the matching forwarding entry is searched in the forwarding table according to the destination MAC address of the packet and the identifier of the VLAN associated with the first vPort.
  • the matching forwarding entry is searched in the forwarding table according to the destination MAC address of the packet and the identifier of the VLAN in the Layer 2 label carried in the packet.
  • the PE may search for the port bound to the second vPort included in the second forwarding entry in the port binding relationship table, and the PE forwards the packet by using the port bound by the second vPort. .
  • step 205 if the PE finds that the port to which the second vPort is bound is the uplink port Upstream Port, and the port that receives the packet is the first user-side port, the PE is in the office.
  • the message adds a first layer label and a second layer label and passes the Upstream Port. If the PE finds that the port to which the second vPort is bound is the second cascade port, and the port that receives the packet is the first user-side port, the PE adds the first layer to the packet.
  • the label, and the second layer label pass through the second cascade port Cascade port. If the PE finds that the port to which the second vPort is bound is the second user-side port, and the port that receives the packet is the first user-side port, the PE passes the packet to the second user side. The port is sent.
  • step 205 if the PE finds that the port to which the second vPort is bound is an Upstream Port and the port that receives the packet is received by the first Cascade Port, the PE may redirect the packet to the Said Upstream Port forwarding. If the PE finds that the port to which the second vPort is bound is the second cascade port and the port that receives the packet is received by the first Cascade Port, the PE may pass the packet to the second Cascade Port forwards. If the PE finds that the port to which the second vPort is bound is the second user-side port, and the port that receives the packet is received by the first Cascade port, the PE may remove the first layer label carried by the packet. And a second layer label and can be sent through the second user side port.
  • step 205 if the PE does not find the matching second forwarding entry in the forwarding table and the port that receives the packet is the first user-side port, the PE A first layer label and a second layer label may be added to the message and sent through the Upstream Port. If the PE does not find the matching second forwarding entry in the forwarding table and the port that receives the packet is the first Cascade Port, the PE redirects the packet to the Upstream Port. Forward.
  • the first layer label may carry the source Ethernet forwarding channel identifier ECID
  • the source ECID is the ECID associated with the first vPort
  • the second layer label may carry the identifier of the VLAN associated with the first vPort.
  • the PE can store a forwarding table.
  • the PE when receiving a packet, the PE can find the matching forwarding entry in the forwarding table according to the destination MAC address of the packet and the identifier of the VLAN to which the packet belongs, and the vPort that serves as the egress port in the matching forwarding entry.
  • the bound port is a user-side port, packets can be forwarded through the user-side port.
  • the PE blindly sends the message to the CB through the Upstream Port, and finally CB forwarding.
  • FIG. 3 is a networking diagram of a method for applying packet forwarding according to Embodiment 1 of the present disclosure.
  • the virtual machine VM 311 and the VM 312 are connected to the same extension bridge PE 321 .
  • the virtual machine VM 311 accesses the virtual machine VM 312 as an example, and the method for forwarding the message is described in detail.
  • the virtual machine VM 311 can send a message, which can be recorded as message 1.
  • the source MAC address of the message 1 is the MAC address of the virtual machine VM 311 (denoted as MAC1), and the destination MAC address is the MAC of the virtual machine VM 312. Address (denoted as MAC2).
  • the extension bridge PE 321 can receive message 1 through the user side port (referred to as Port1_1).
  • the user side port herein may be a physical port or a logical port, and the disclosure is not specifically limited.
  • the extended bridge PE 321 can determine the vPort to which Port1_1 is bound.
  • the extension bridge PE 321 determines that the vPort bound to Port1_1 can be implemented in many ways, and simply implements two implementations.
  • each port on the PE (including the user-side port and the uplink port) is reported to the CB.
  • the CB can bind the associated vPort to each port on the PE. Assign a vPort to the PE and send the port binding relationship to the PE. A port on the same PE can be bound to multiple vPorts.
  • the extension bridge PE 321 can look up the port 1_1 bound vPortt from the port binding relationship table from the control bridge CB 330. It should be noted that when the extension bridge PE 321 finds that port 1_1 is bound to multiple vPorts from the port binding relationship table, one of the vPorts can be specified as the vPort bound to Port1_1.
  • the PE can report the VM user information and the ports on the device, including the user-side port and the uplink port, to the CB.
  • the CB can be bound to the v port of the PE.
  • the CB can bind the vPort to each port that the PE reports, and can send the port binding relationship table of the port to which the port is bound.
  • the CB can allocate a vPort to the VM connected to the user port of the PE, and the vPort assigned to the VM connected to each user port is a vPort bound to each user port in the port binding relationship table.
  • the CB sends the configuration table of the user information and the vPort binding relationship of the VM to the PE.
  • the extension bridge PE 321 After the extension bridge PE 321 receives the packet from the port 1_1, it can identify the feature parameter carried in the packet, and the feature parameter can include the user information of the VM, such as the source MAC address of the packet. Source IP address, etc.
  • the extension bridge PE 321 can search for the vPort corresponding to the feature parameter in the configuration table as the vPort bound by Port1_1.
  • vPort bound to the port Port1_1 of the packet 1 is recorded as vPort1_1.
  • the CB can bind the ECID to each vPort.
  • the ECID bound to each vPort on the same PE is unique, and the same ECID can be bound to the vPort on the different PEs.
  • the ECID of the virtual port vPort1_1 on the extension bridge PE 321 is ECID1
  • the ECID is ECID1.
  • the extension bridge PE 321 may add a forwarding entry (referred to as entry 1) learned based on the receipt of the message 1 from the virtual machine VM 311 in the forwarding table when the forwarding entry addition condition is satisfied.
  • entry 1 a forwarding entry
  • the entry 1 also includes the identifier of the source MAC address MAC1 of the packet 1 and the VLAN (denoted as VLAN 1) associated with the virtual port vPort1_1.
  • Table 1 shows the structure of the entry 1.
  • the port bound to the virtual port vPort1_1 may be the user side port Port1_1 of the extended bridge PE 321 .
  • the extension bridge PE 321 can find a matching forwarding entry (denoted as entry 2) in the forwarding table according to the identifier of the destination MAC address MAC2 and VLAN1 of the packet 1.
  • the entry 2 can be pre-configured on the extension bridge PE 321 or dynamically added in the forwarding table of the extension bridge PE 321 in the manner similar to the entry 1 of the extension bridge.
  • the egress port of the entry 2 is the virtual port vPort1_2.
  • Table 2 shows the entry 2. As for the case where the item 2 is not found, it will be described below.
  • the extension bridge PE 321 can find the port bound to the virtual port vPort1_2 in the port binding relationship table.
  • the extension bridge PE 321 finds that the port bound to the virtual port vPort1_2 is the user side port (referred to as Port1_2) connected to the virtual machine VM 312, the extension bridge PE 321 can send the message 1 through the user side port Port1_2. In the end, the message 1 will The virtual machine VM 312 is reached. This enables the extension bridge PE 321 to forward the message of the virtual machine VM 311 to the virtual machine VM 312 according to the shortest path.
  • the extension bridge PE 321 can add the first layer label and the second layer label to the packet 1.
  • message 1 to which the first layer label and the second layer label are added is referred to as message 2.
  • the first layer label is the outer label compared to the second layer label, and the second layer label is the inner layer label.
  • the first layer label carries the source ECID, and the source ECID is the ECID associated with the virtual port vPort1_1 (recorded as ECID1). ), the second layer label carries the identity of VLAN 1.
  • the first layer label can be an E-Tag and the second layer label can be a C-Tag.
  • the extension bridge PE 321 can send the message 2 through the upstream port (Upstream Port).
  • the binding relationship between the ECID and the vPort on the PE 322 can be found in the binding relationship table of the ECID and the vPort on the PE 322.
  • the source ECID carried by the layer label corresponds to vPort (denoted as vPort2_1).
  • the extension bridge PE 322 can search for a matching forwarding entry in the forwarding table according to the destination MAC address MAC2 of the packet 2 and the identifier of the VLAN 1 carried in the second layer label of the packet 2.
  • the uplink port (Upstream Port) can send the packet 2 to the PE or CB.
  • the extension bridge PE 322 may add a forwarding entry (referred to as entry 3) learned based on the received packet 2 from the extension bridge PE 321 when the forwarding entry addition condition is satisfied.
  • entry 3 the egress port in the entry 3 is the vPort2_1 associated with the source ECID carried on the extension bridge PE 322 and the first layer label of the packet 2.
  • the port to which the vPort2_1 is bound may receive the cascade port Cascade Port of the packet 2 for the extension bridge PE 322.
  • the entry of the source MAC address MAC1 of the packet 2 and the VLAN 1 of the second layer label of the packet 2 (which is also the VLAN associated with the virtual port vPort2_1) are also included in the entry. It should be noted that when the virtual port vPort2_1 does not exist on the extended bridge PE 322, the packet 2 can be directly discarded, and the current process is ended.
  • Table 3 shows the structure of the entry 3.
  • control bridge CB 330 When the control bridge CB 330 receives the packet 2, it can search for a matching forwarding entry in the forwarding table according to the identifier of the VLAN 1 carried in the second layer label of the packet 2 and the destination MAC address MAC2 of the packet 2. If there is no matching forwarding entry in the forwarding table, packet 2 can be broadcast in VLAN 1 according to the identifier of VLAN 1 in the Layer 2 label of packet 3. If there is a matching forwarding entry in the forwarding table, the packet can be forwarded through the matching forwarding entry.
  • the forwarding process is similar to the prior art and will not be described here.
  • control bridge CB 330 broadcasts the message 2 in the VLAN 1 as an example.
  • the extension bridge PE 322 When the extension bridge PE 322 receives the message 2 broadcast by the control bridge CB 330, in order to avoid the MAC address from moving, the extension bridge PE 322 further learns the above-mentioned entry 3 based on the message 2 received from the PE 321 When not aging, the extended bridge PE 322 no longer learns the entry matching the MAC address MAC1 according to the message 2 received by the control bridge CB 330.
  • the extension bridge PE 322 can learn the forwarding entry of the packet 2 broadcasted by the control bridge CB 330, and the MAC of the learned forwarding entry at this time.
  • the address is the source MAC address of the packet 2
  • the egress port is the vPort bound to the uplink port of the packet 2 broadcasted by the control bridge CB 330
  • the VLAN identifier is the VLAN identifier to which the packet 2 belongs.
  • the packet forwarding mechanism of the extension bridge PE 321 is similar to that of the extension bridge PE 322. Finally, the extension bridge PE 321 removes the first layer label and the second layer label carried in the packet 2. The message 2 with the first layer label and the second layer label removed is recorded as message 3, and the extension bridge PE 321 can send the message 3 to the virtual machine VM 312.
  • the virtual machine VM 312 When the virtual machine VM 312 receives the packet 3, it finds that the destination MAC address MAC2 of the packet 3 is the MAC address of the VM, and returns a response packet. Here, the response message is recorded as message 4.
  • the source MAC address of packet 4 is MAC2 and the destination MAC address is MAC1.
  • the extension bridge PE 321 can receive the message 4 through the user side port (referred to as Port 1_2).
  • the extension bridge PE 321 can search for the vPort bound to the user-side port Port1_2 from the port binding relationship table of the control bridge CB 330, and determine the vPort to be the vPort to which the port Port1_2 of the packet 4 is bound. As an embodiment of the present invention, the extended bridge PE 321 can also determine the designated vPort to which the user information carried in the packet 4 is allocated as the received message. 4 port port 1_2 bound vPort.
  • the user information carried in the message 4 may include the source MAC address MAC2 of the message 4.
  • the vPort bound to the port Port1_2 of the packet 4 is recorded as vPort1_2;
  • the extension bridge PE 321 may add a forwarding entry (referred to as entry 4) learned based on the received message 4 from the virtual machine VM 312 in the forwarding table when the forwarding entry addition condition is satisfied.
  • entry 4 a forwarding entry
  • Item 4 also includes the identifier of the source MAC address MAC2 of the packet 4 and the VLAN (denoted as VLAN 1) associated with the virtual port vPort1_2.
  • Table 4 shows the structure of the entry 4.
  • the extension bridge PE 321 searches for a matching forwarding entry in the forwarding table according to the identifier of the destination MAC address MAC1 and VLAN1 of the packet 4.
  • the forwarding entry found here is the above-mentioned entry 1.
  • the extension bridge PE 321 finds the entry 1, the extension bridge PE 321 can identify that the egress port of the entry 1 is the virtual port vPort1_1.
  • the extension bridge PE 321 can find the port bound to the virtual port vPort1_1 in the port binding relationship table.
  • the extension bridge PE 321 finds that the port bound to the virtual port vPort1_1 is the user-side port Port1_1 connected to the virtual machine VM 311.
  • the extension bridge PE 321 transmits the message 4 through the user side port Port1_1.
  • message 4 will arrive at virtual machine VM 311. This enables the extension bridge PE 321 to forward the message of the virtual machine VM 312 in response to the virtual machine VM 311 in accordance with the shortest path.
  • Embodiment 1 So far, the description of Embodiment 1 is completed.
  • FIG. 4 is a networking diagram of a method for applying packet forwarding according to Embodiment 2 of the present disclosure.
  • virtual machine VM 413 is connected to expansion bridge PE 424 via expansion bridge PE 423, which is directly connected to expansion bridge PE 424.
  • the virtual machine VM 413 accesses the virtual machine VM 414 as an example, and the method for forwarding the packet is described in detail.
  • the virtual machine VM 413 can send a message.
  • the message is recorded as message 3_1, the source MAC address of the message 3_1 is the MAC address of the virtual machine VM 413 (denoted as MAC3), and the destination MAC address is the MAC address of the virtual machine VM 414 (denoted as MAC4).
  • the extension bridge PE 423 can receive the message 3_1 through the user side port (referred to as Port3_3).
  • the extension bridge PE 423 can look up the vPort bound to the user-side port Port3_3 from the port binding relationship table of the control bridge CB 431, and can determine the vPort to be the vPort bound to the port Port3_3 of the packet 3_1. As an embodiment of the present invention, the extended bridge PE 423 may also determine the designated vPort to which the user information carried in the message 3_1 is allocated as the vPort to which the port Port3_3 of the message 3_1 is bound.
  • the user information carried in the message 3_1 may be the source MAC address MAC3 of the message 3_1.
  • the vPort bound to the port Port3_3 of the receiving message 3_1 is recorded as vPort3_3.
  • the extension bridge PE 423 adds a forwarding entry learned based on the received packet 3_1 from the virtual machine VM 413, that is, the forwarding matching with the source MAC address MAC3 of the packet 3_1.
  • Publication item (recorded as entry 3_1).
  • the outbound port in the entry 3_1 is the virtual port vPort3_3.
  • the entry 3_1 also includes the identifier of the source MAC address MAC3 of the packet 3_1 and the VLAN (denoted as VLAN 3_3) associated with the virtual port vPort3_3. Table 5 shows the structure of the entry 3_1.
  • the extension bridge PE 423 can find the forwarding entry (indicated as entry 3_2) matching the identifier of the destination MAC address MAC4 and the VLAN 3_3 of the packet 3_1 in the forwarding table, and the egress port of the entry 3_2 is the virtual port vPort3_4. As for the case where the entry 3_2 is not found, it will be described below.
  • the extended bridge PE 423 can find the port bound to the virtual port vPort3_4 in the port binding relationship table.
  • the extension bridge PE 423 adds a first layer label and a second layer label to the packet 3_1.
  • the message 3_1 in which the first layer label and the second layer label are added is referred to as the message 3_2.
  • the first layer label is an outer layer label
  • the second layer label is an inner layer label.
  • the first layer label carries a source ECID
  • the source ECID is associated with a virtual port vPort3_3 on the extension bridge PE 423.
  • the ECID (denoted as ECID3_3)
  • the second layer label carries the identifier of VLAN3_3.
  • the first layer label can be E-Tag
  • the second layer label can be C-Tag.
  • the extension bridge PE 423 When the extension bridge PE 423 does not find the entry 3_2 in the forwarding table, the principle of packet forwarding and the above virtual port
  • the port bound to vPort3_4 is similar to the uplink port.
  • the extension bridge PE 423 can send the message 3_2 through the Upstream Port.
  • the extension bridge PE 424 can receive the message 3_2 by connecting the cascade port Cascade Port of the extension bridge PE 423.
  • the PE 424 may look up the vPort (denoted as vPort4_3) corresponding to the source ECID carried in the first layer label of the packet 3_2 in the binding relationship between the ECID and the vPort on the PE 424.
  • the extension bridge PE 424 may add a forwarding entry (referred to as entry 3_3) learned based on the received packet 3_2 from the extension bridge PE 423 in the forwarding table when the forwarding entry addition condition is satisfied.
  • entry 3_3 a forwarding entry learned based on the received packet 3_2 from the extension bridge PE 423 in the forwarding table when the forwarding entry addition condition is satisfied.
  • the egress port in the entry 3_3 is the vPort4_3 associated with the source ECID carried in the first layer label of the packet 3_2 on the extension bridge PE 424, and the port bound to the vPort4_3 may be the level of the extension bridge PE 424 receiving the packet 3_2.
  • the virtual port vPort4_3 on the extension bridge PE 424 is associated with the same ECID as the virtual port vPort3_3 on the PE 423, that is, the source ECID carried in the first layer label of the packet 3_2.
  • the entry of the source MAC address MAC3 of the packet 3_2 and the VLAN3_3 carried by the second layer label (which is also the VLAN associated with the virtual port vPort4_3) may also be included in the entry 3_3.
  • Table 6 shows the entry 3_3.
  • the extension bridge PE 424 can find a matching forwarding entry in the forwarding table according to the identifier of the destination MAC address MAC4 of the packet 3_2 and the VLAN 3_3 carried by the second layer label of the packet 3_2.
  • the extended bridge PE 424 finds that there is a matching forwarding entry in the forwarding table (indicated as entry 3_4), the extended bridge PE 424 identifies that the outgoing port of the entry 3_4 is the virtual port vPort4_4. The extended bridge PE 424 can find the port bound to the virtual port vPort4_4 in the port binding relationship table.
  • the expansion bridge PE 424 finds that the port bound to the virtual port vPort4_4 is the user-side port (referred to as Port4_4) connected to the virtual machine VM 414, and the first layer label and the second layer label carried in the packet 3_2 can be removed.
  • the message 3_2 from which the first layer label and the second layer label are removed is recorded as the message 3_3.
  • the extension bridge PE 424 transmits the message 3_3 through the user side port Port4_4. Eventually, message 3_3 will arrive at virtual machine VM 414.
  • extension bridge PE 424 This enables the extension bridge PE 424 to forward the packets of the virtual machine VM 413 to the virtual machine VM 414 according to the shortest path, and realizes that the VMs connected to different PEs of the same tree branch do not forward through the CB when accessing the VMs.
  • Embodiment 2 if the extension bridge PE 424 does not find a matching forwarding entry in the forwarding table, or expands When the bridge PE 424 finds that the port bound to the virtual port vPort4_4 is the upstream port (Upstream Port), the packet 3_2 is sent through the Upstream Port.
  • the control bridge CB 431 When the control bridge CB 431 receives the packet 3_2, it can find the matching forwarding entry in the forwarding table according to the identifier of the VLAN 3_3 carried in the layer 2 label of the packet 3_2 and the destination MAC address MAC4 of the packet 3_2. If there is no matching forwarding entry in the forwarding table, the packet 3_2 is broadcast in the virtual local area network VLAN 3_3 according to the identifier of VLAN 3_3 in the second layer label of the packet 3_2. If there is a matching forwarding entry in the forwarding table, the packet 3_2 is forwarded through the matched forwarding entry.
  • the forwarding process is similar to the prior art and will not be described here.
  • control bridge CB 431 broadcasts the message 3_2 in the virtual local area network VLAN 3_3 as an example for detailed description.
  • the extension bridge PE 424 When the extension bridge PE 424 receives the message 3_2 broadcast by the control bridge CB 431, in order to avoid the MAC address move, the extension bridge PE 424 learns the above entry based on the message 3_2 received from the extension bridge PE 423. When the 3_3 is not aged, the extension bridge PE 424 no longer learns the entry matching the MAC address MAC3 according to the message 3_2 received by the control bridge CB 431.
  • the extension bridge PE 423 is similar to the extension bridge PE 424.
  • extension bridge PE 424 can remove the first layer label and the second layer label carried by the message 3_2 broadcasted by the control bridge CB 431 (that is, the above-mentioned message 3_3 is obtained), and then can send the message 3_3 to the virtual machine VM. 414.
  • the extension bridge PE 424 can learn the forwarding entry of the packet 3_2 broadcasted by the control bridge CB 431, and the MAC of the learned forwarding entry at this time.
  • the address is the source MAC address of the packet 3_2
  • the egress port is the vPort bound to the uplink port that receives the control packet CB 431 broadcast packet 3_2
  • the VLAN identifier is the VLAN ID to which the packet 3_2 belongs.
  • the virtual machine VM 414 When the virtual machine VM 414 receives the message 3_3, it finds that the destination MAC address MAC4 of the message 3_3 is the MAC address of the VM, and can return a response message. Here, the response message is recorded as message 3_4.
  • the source MAC address of the packet 3_4 is MAC4 and the destination MAC address is MAC3.
  • the extension bridge PE 424 receives the message 3_4 through the user side port (denoted as Port 4_4).
  • the extension bridge PE 424 searches for the vPort bound to the user-side port Port4_4 from the port binding relationship table of the control bridge CB 431, and determines the vPort to be the vPort to which the port Port 4_4 of the packet 3_4 is bound. As an embodiment of the present invention, the extended bridge PE 424 may also determine the designated vPort to which the feature parameter carried in the message 3_4 is allocated as the vPort to which the port Port 4_4 of the message 3_4 is bound.
  • the feature parameter carried in the message 3_4 may be the source MAC address MAC4 of the message 3_4.
  • the vPort associated with the message 3_4 is recorded as vPort4_4.
  • the extension bridge PE 424 adds a forwarding entry (denoted as entry 3_5) learned based on the packet received from the user side port to the packet 3_4.
  • entry 3_5 the outbound port in the entry 3_5 is the virtual port vPort4_4.
  • the entry 3_5 also includes the identifier of the source MAC address MAC4 of the packet 3_4 and the VLAN associated with the virtual port vPort4_4 (that is, the VLAN 3_3 described above). Table 7 shows the entry 3_5.
  • the extension bridge PE 424 can find a matching forwarding entry in the forwarding table according to the identifiers of the destination MAC address MAC3 and VLAN 3_3 of the packet 3_4.
  • the forwarding entry found here is the above table entry 3_3.
  • the extended bridge PE 424 finds a matching forwarding entry, that is, the entry 3_3, the extended bridge PE 424 identifies that the outgoing port of the entry 3_3 is the virtual port vPort4_3.
  • the extended bridge PE 424 can find the port bound to the virtual port vPort4_3 in the port binding relationship table.
  • the extension bridge PE 424 finds that the port bound to the virtual port vPort4_3 is a Cascade Port, and the first layer label and the second layer label can be added to the packet 3_4.
  • the message 3_4 in which the first layer label and the second layer label are added is referred to as message 3_5.
  • the source ECID carried by the first layer label is the ECID associated with the virtual port vPort4_4 associated with the packet 3_4, and the label of the second layer carries the identifier of the VLAN 3_3 (which is also the VLAN associated with the virtual port vPort4_4).
  • the extension bridge PE 423 can receive the message 3_5 through the Upstream Port.
  • the extension bridge PE 423 may add a forwarding entry (denoted as entry 3_6) learned based on the received packet 3_5 from the extension bridge PE 424 when the forwarding entry addition condition is satisfied.
  • the egress port in the entry 3_6 is the vPort (denoted as vPort3_4) to which the extension bridge PE 423 receives the uplink port of the packet 3_5.
  • the entry 3_6 also includes the identifier of the source MAC address MAC4 of the packet 3_5 and the VLAN 3_3 carried by the layer 2 label of the packet 3_5 (which is also the VLAN associated with the virtual port vPort3_4).
  • Table 8 shows the entry 3-6.
  • the extension bridge PE 423 can carry the packet according to the destination MAC address MAC3 of the packet 3_5 and the second layer label of the packet 3_5.
  • the identifier of VLAN 3_3 is found in the forwarding table to match the forwarding entry.
  • the entry found here is the above entry 3_1.
  • the egress bridge PE 423 identifies that the egress port of the entry 3_1 is the virtual port vPort3_3, and the extension bridge PE 423 can look up the port bound to the virtual port vPort3_3 in the port binding relationship table.
  • the expansion bridge PE 423 finds that the port bound to the virtual port vPort3_3 is the user-side port (referred to as Port3_3) connected to the virtual machine VM 413, and the first layer label and the second layer label of the message 3_5 can be removed.
  • the message 3_5 in which the first layer label and the second layer label are removed is referred to as message 3_6.
  • the extension bridge PE 423 can transmit the message 3_6 through the user side port Port3_3. Eventually, message 3_6 will arrive at virtual machine VM 413. The access between the VMs connected to different PEs that implement the same tree branch is not forwarded through the CB.
  • Embodiment 2 So far, the description of Embodiment 2 is completed.
  • the device embodiment since it basically corresponds to the method embodiment, reference may be made to the partial description of the method embodiment.
  • the device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, ie may be located A place, or it can be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment. Those of ordinary skill in the art can understand and implement without any creative effort.
  • FIG. 5 a hardware structure diagram of the apparatus of the present application, in addition to the processor 511, the machine readable storage medium 512, the forwarding chip 513, and the internal bus 514 shown in FIG. 5, according to the actual situation of the PE device
  • the function can also include other hardware, which will not be described here.
  • the machine readable storage medium 512 can be: RAM (Radom Access Memory), volatile memory, non-volatile memory, flash memory, storage drive (such as a hard disk drive), Solid state hard disk, any type of storage disk (such as a compact disc, DVD, etc.), or a similar storage medium, or a combination thereof.
  • RAM Random Access Memory
  • volatile memory volatile memory
  • non-volatile memory flash memory
  • storage drive such as a hard disk drive
  • Solid state hard disk any type of storage disk (such as a compact disc, DVD, etc.), or a similar storage medium, or a combination thereof.
  • the forwarding chip 513 can receive the packet; the forwarding chip 513 can determine the first virtual port vPort bound to the port that receives the packet;
  • the forwarding chip may send the packet to the processor.
  • the processor 111 may invoke the machine-readable instruction added to the table item stored in the machine-readable storage medium 512.
  • the entry adding logic may be: adding a first forwarding entry in the forwarding table, where the outbound port included in the first forwarding entry is the first vPort, The first forwarding entry includes a MAC address that is a source MAC address of the packet, and a virtual local area network (VLAN) VLAN identifier that is included in the first forwarding entry is a VLAN identifier of a VLAN associated with the first vPort;
  • VLAN virtual local area network
  • the forwarding chip 513 may add a first layer label to the packet, and the first layer label may carry the ECID of the first vPort binding.
  • the forwarding chip 513 can send the packet with the first label to the processor 511, and the processor 511 determines the first vPort associated with the ECID according to the ECID carried in the packet.
  • a forwarding entry for the packet can be added.
  • the MAC address of the forwarding entry is the source MAC address of the packet
  • the egress port is the first vPort and the VLAN tag of the VLAN associated with the first vPort.
  • the forwarding chip 513 may search for a matching second forwarding entry in the forwarding table according to the destination MAC address of the packet and the VLAN identifier of the VLAN to which the packet belongs.
  • the forwarding chip 513 may search for a port bound to the second vPort included in the second forwarding entry in the port binding relationship table, and the forwarding chip 513 may use the second vPort binding port to the packet. Forward.
  • the forwarding chip 513 may determine that the first vPort that is bound to the port that receives the packet includes: when the port that receives the packet is the first user-side port, the forwarding chip 513 may be in the In the port binding relationship table, the vPort that is bound to the first user-side port is used as the first vPort; when the port that receives the packet is the first user-side port, the forwarding chip 513 can identify the And the first vPort bound to the port that receives the packet; the port that receives the packet is the first cascade port Cascade. In the case of the port, the forwarding chip 513 may determine, as the port receiving the packet, the first vPort, the port that is bound by the source Ethernet forwarding channel identifier ECID carried in the first layer label of the packet.
  • the forwarding chip 513 may forward the packet by using the second vPort binding port, including: if the port that is bound to the second vPort is an Upstream Port, and the receiving station is The port of the packet is a first user-side port, and the forwarding chip adds a first layer label and a second layer label to the packet, and sends the packet through the uplink port Upstream Port; If the port to which the vPort is bound is the second cascade port, and the port that receives the packet is received by the first Cascade Port, the PE forwards the packet through the second Cascade Port; The port of the second vPort is the second user-side port, and the port that receives the packet is the first user-side port, and the forwarding chip 513 can send the packet to the second user-side port.
  • the forwarding chip 513 can redirect the packet to the Upstream Port. If check After the port to which the second vPort is bound is the second cascade port, and the port that receives the packet is received by the first Cascade Port, the PE forwards the packet through the second Cascade Port. If the above is found If the port to which the vPort is bound is the second user-side port and the port that receives the packet is received by the first Cascade Port, the forwarding chip 513 can remove the first layer label and the second layer label carried by the packet.
  • the first layer label carries a source Ethernet forwarding channel identifier ECID
  • the source ECID is an ECID associated with the first vPort
  • the second layer label carries The identifier of the VLAN associated with the first vPort.
  • the forwarding chip 513 may be in the packet. Adding a first layer label and a second layer label and sending the packet through the Upstream Port; if the matching second forwarding entry is not found in the forwarding table and the port receiving the packet is the first Cascade Port, The forwarding chip 513 can redirect the packet to the Upstream Port forwarding, where the first layer label carries a source Ethernet forwarding channel identifier ECID, and the source ECID is associated with the first vPort.
  • the ECID, the second layer label carries an identifier of a VLAN associated with the first vPort.
  • the forwarding chip 513 searches for a matching second forwarding entry in the forwarding table according to the destination MAC address of the packet and the VLAN identifier of the VLAN to which the packet belongs, including: when receiving the When the port of the packet is the first user-side port, the forwarding chip 513 may search for the matching in the forwarding table according to the destination MAC address of the packet and the VLAN identifier of the VLAN associated with the first vPort. a second forwarding entry; when the port that receives the packet is a Cascade Port, the forwarding chip 513 may be configured according to the destination MAC address of the packet and the VLAN identifier in the second layer label carried by the packet. And searching, in the forwarding table, the matching second forwarding entry, where the second layer label carries the identifier of the VLAN associated with the first vPort.
  • the forwarding entry addition condition includes any one or more of the following: in the forwarding table, there is no forwarding entry whose MAC address is the source MAC address of the packet; or, the receiving station The port of the packet is a user-side port, and the forwarding entry in the forwarding table whose MAC address is the source MAC address of the packet is learned based on receiving the packet from the Upstream Port.
  • the device embodiment since it basically corresponds to the method embodiment, reference may be made to the partial description of the method embodiment.
  • the device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, ie may be located A place, or it can be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment. Those of ordinary skill in the art can understand and implement without any creative effort.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Abstract

本申请提供了一种PE设备和报文转发方法。在本申请中,PE可接收报文,并可确定接收所述报文的端口绑定的第一虚拟端口vPort。当满足转发表项添加条件时,所述PE在转发表中添加第一转发表项,所述第一转发表项包括的出端口为所述第一vPort、所述第一转发表项包括的MAC地址为所述报文的源MAC地址、以及所述第一转发表项包括的虚拟局域网VLAN标识为所述第一vPort相关联的VLAN的VLAN标识。接着,在所述PE根据该报文的目的MAC地址、以及该报文所属VLAN的标识在转发表中查找第二转发表项,所述PE可在端口绑定关系表中查找第二转发表项中的第二vPort绑定的端口,并通过第二vPort绑定的端口对该报文进行转发。

Description

报文转发
相关申请的交叉引用
本专利申请要求于2016年6月21日提交的、申请号为201610464540.4、发明名称为“报文转发方法和装置”的中国专利申请的优先权,该申请的全文以引用的方式并入本文中。
背景技术
802.1BR定义了具有端口扩展能力的交换机可由一个(组)控制桥(CB:Controlling Bridge)树形连接多个端口扩展桥(PE:Port Extender)组成。PE可为CB提供端口数量以及端口接入能力的扩展,可通过上行口(Upstream Port)连接上级PE或者CB,通过级联口(Cascade Port)连接下级PE。PE之间可以级联,CB对PE上的端口进行虚拟端口(vPort)映射管理,通过Cascade Port连接PE。在报文转发时,PE可将接收报文的源端口所绑定的以太转发通道标识符ECID(E-tag Channel Identifier)通过E-TAG携带于报文中,并将报文上送至CB,由CB进行决策转发。
附图说明
图1是本公开示出的一种网络拓扑示意图。
图2是根据本公开一示例示出的报文转发的方法示意性流程图。
图3是根据本公开一实施例示出的可应用报文转发的方法的组网示意图。
图4是根据本公开另一实施例示出的可应用报文转发的方法的组网示意图。
图5是根据本公开一示例示出的PE的硬件结构图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例, 都属于本申请保护的范围。
图1示出了802.1BR定义的网络拓扑图。
如图1所示,假设虚拟机(VM:Virtual Machine)110访问虚拟机VM 112,则,虚拟机VM 110可发送目的MAC地址为虚拟机VM 112的报文给扩展桥PE 120。当扩展桥PE 120收到该报文时,可在该报文上加入E-TAG标签以携带源端口绑定的以太转发通道标识符(ECID:E-tag Channel Identifier),并通过Upstream Port将该报文发送给扩展桥PE 121,最终由扩展桥PE 121发送给控制桥CB 130。控制桥CB 130收到该报文时,可依据该报文的目的MAC地址在MAC转发表项中查找用于转发报文的出端口。当查找到的出端口为控制桥CB 130的业务端口时,控制桥CB 130可去除该报文的E-TAG标签,并通过查找到的出端口转发。当查找到的出端口为vPort时,控制器CB 130可重构该报文的E-TAG以携带对应该vPort的目的ECID,并通过Cascade Port发送该报文给扩展桥PE 121,扩展桥PE 121可根据报文E-TAG携带的目的ECID查找级联口,通过该级联口将该报文发送给扩展桥PE 120。扩展桥PE 120收到该报文时,可依据该报文的E-TAG标签内携带的ECID查找到用于转发报文的出端口为本地端口,则可去除该报文的E-TAG标签并通过查找到的出端口转发,最终虚拟机VM 112会收到虚拟机VM 110访问的该报文。
从图1中可以看出,在虚拟机VM 110访问虚拟机VM 112时,即使虚拟机VM 110、VM 112连接同一台PE,也不能由共同连接的PE 121按照路径1直接进行转发,而是需要经过两级PE,在CB进行转发,再经过两级PE,才能完成报文发送给虚拟机VM 112。类似地,同一个树形分支上的不同VM互相访问时,比如图1中的虚拟机VM 110与VM 113为同一个树形分支(扩展桥PE 121的分支)上的不同VM,在虚拟机VM 110和VM 113互相访问时,也需要多级转发,这增加了转发路径的负荷,增加了转发时延,同时由于多次占用了CB与PE、PE与PE之间级联链路,降低了级联链路的转发效率。
对此,本公开提供一种报文转发的方法,能够实现同一台PE下的不同VM或者同一树形分支上不同PE连接的VM之间进行访问时不需要通过CB进行转发,而是按最短路径转发,从而可有效地缩短了转发路径,提高了CB与PE、PE与PE之间级联链路的转发效率。
参见图2,图2是根据本公开一示例示出的报文转发的方法示意性流程图。如图2所示,该流程可包括步骤201至步骤204。
在步骤201,PE可接收报文。
在步骤202,PE可确定接收所述报文的端口绑定的第一虚拟端口(vPort)。
例如,步骤202中PE可确定接收该报文的端口绑定的第一vPort,依赖于PE收到该报文的端口。
当PE通过第一用户侧端口接收报文时,在一种可选的实现方式中,PE可在端口绑定关系表中查找该第一用户侧端口绑定的vPort,以此来完成PE确定接收该报文的端口绑定的第一vPort。
例如,PE上电时可将本设备上的各端口(包含用户侧端口和上行口等)上报给CB,CB可为PE上报的各端口绑定vPort,并可将保存有各端口与其绑定的vPort的端口绑定关系表下发给PE。PE在从第一用户侧端口接收到报文后,可在该端口绑定关系表中查找与第一用户侧端口对应的vPort,并将查找到的vPort确定为接收该报文的端口绑定的第一vPort。
在另一种可选的实现方式中,PE在从第一用户侧端口接收到报文后,可识别所述报文携带的特征参数,并将预先为所述特征参数分配指定的vPort确定为接收所述报文的端口绑定的第一vPor。其中,特征参数可以包括VM的用户信息,比如VM的MAC地址、VM的IP地址等。
需要说明的是,PE的用户侧端口通常下接有VM,进一步来说,VM的用户信息可以表征与该VM对接的用户侧端口。因此接收报文的端口绑定的第一vPort,可以理解为接收报文的端口下接的VM绑定的第一vPort。
例如,当PE上电时,PE可将各用户侧端口下接的VM的用户信息及本设备上的各端口(包含用户侧端口和上行口等)上报给CB。CB可为PE上报的各端口绑定vPort,并可将保存有各端口与其绑定的vPort的端口绑定关系表下发给PE。并且,CB可为PE各用户侧端口下接的VM分配vPort,为各用户侧端口下接的VM分配的vPort为端口绑定关系表中分别与各用户侧端口绑定的vPort。CB将保存有VM的用户信息与vPort绑定关系的配置表下发给PE。
PE在从第一用户侧端口接收到报文后,可识别报文所携带的特征参数,如报文的源MAC地址,源IP地址等,该源MAC地址、源IP地址即为接收该报文的端口所对应的VM的源MAC地址和源IP地址等。PE可在配置表中查找与该报文的源MAC地址等报文特征对应的vPort,并将该查找到的vPort确定为接收所述报文的端口绑定的第一vPort。
当PE通过第一级联口接收报文时,PE可将所述报文的第一层标签携带的源以太转发通道标识符ECID绑定的vPort确定为接收所述报文的端口绑定第一vPort。
需要说明的是,在初始化配置时,CB可向PE下发该PE上各端口和vPort的绑定关系表, 和vPort与ECID的绑定关系表。从而可知,PE上的端口与ECID具有对应关系。因此,确定接收报文的端口绑定的第一vPort,可以理解为确定接收报文的端口对应的ECID绑定的第一vport。
例如,当PE从级联口接收到报文后,可从该报文的第一层标签中获得ECID,并根据vPort与ECID的绑定关系表,查找与该ECID对应的vPort,将该vPort确定为接收该报文的端口绑定第一vPort。
在步骤203,当满足转发表项添加条件时,PE可在转发表中添加第一转发表项,所述第一转发表项包括的出端口为所述第一vPort、所述第一转发表项包括的MAC地址为所述报文的源MAC地址、以及所述第一转发表项包括的虚拟局域网VLAN标识为所述第一vPort相关联的VLAN的VLAN标识;
这里,可基于不重复建立转发表项、以及MAC地址不迁移(Move)等原则来设置转发表项添加条件。例如,转发表项添加条件可包括以下任意一个或多个:
1)转发表中不存在MAC地址为所述报文的源MAC地址的转发表项;
2)接收所述报文的端口为用户侧端口,并且在已学习到的与该报文的源MAC地址匹配的转发表项是基于从上行口(Upstream Port)收到报文而学习到的。
其中,当条件2)满足时,已学习到的与该报文的源MAC地址匹配的转发表项可删除。条件1)可保证转发表中不重复添加与该报文的源MAC地址匹配的转发表项;而条件2)可防止MAC地址迁移,以保证从用户侧端口学习到的转发表项优先。
需要说明的是,对于从上行口接收报文学习转发表项过程可以包括:如果每一级PE设备上都无法查找到与该报文的目的MAC地址匹配的转发表项,可将该报文通过各级PE上送至CB,由CB进行广播。在CB向各级PE广播的过程中,当PE从上行口接收到CB广播的该报文后,如果PE上不存在包括该报文的源MAC地址的转发表项,则可学习MAC地址为该报文的源MAC地址,出端口为绑定该上行口的vPort,VLAN标识为该报文所属VLAN标识的转发表项。
步骤204:PE可根据所述报文的目的MAC地址、以及所述报文所属VLAN的VLAN标识在所述转发表中查找匹配的第二转发表项。
在一个例子中,在步骤204中,PE根据报文的目的MAC地址、报文所属VLAN的标识在转发表中查找匹配的转发表项可包括:当报文是通过第一用户侧端口接收时,根据报文的目的MAC地址、第一vPort相关联的VLAN的标识在转发表中查找匹配的转发表项。
当报文通过Cascade Port接收时,根据报文的目的MAC地址、报文携带的第二层标签中VLAN的标识在转发表中查找匹配的转发表项。
在步骤205PE可在端口绑定关系表中查找所述第二转发表项中包括的第二vPort绑定的端口,所述PE通过所述第二vPort绑定的端口对所述报文进行转发。
在一个例子中,在步骤205中,若PE查找到所述第二vPort绑定的端口为上行口Upstream Port,且接收所述报文的端口为第一用户侧端口,则所述PE在所述报文添加第一层标签、以及第二层标签并通过所述Upstream Port。若PE查找到所述第二vPort绑定的端口为第二级联口Cascade port,且接收所述报文的端口为第一用户侧端口,则所述PE在所述报文添加第一层标签、以及第二层标签并通过所述第二级联口Cascade port。若PE查找到所述第二vPort绑定的端口为第二用户侧端口且接收所述报文的端口为第一用户侧端口,则所述PE将所述报文通过所述第二用户侧端口发送。
在步骤205中,若PE查找到所述第二vPort绑定的端口为Upstream Port且接收所述报文的端口为第一Cascade Port接收,则所述PE可将所述报文重定向至所述Upstream Port转发。若PE查找到所述第二vPort绑定的端口为第二级联口Cascade Port且接收所述报文的端口为第一Cascade Port接收,则所述PE可将将所述报文通过第二Cascade Port转发。若PE查找到所述第二vPort绑定的端口为第二用户侧端口且接收所述报文的端口为第一Cascade Port接收,则所述PE可去除所述报文携带的第一层标签和第二层标签,并可通过所述第二用户侧端口发送。
在另一个例子中,在步骤205中,若PE在所述转发表中未查找到匹配的所述第二转发表项且接收所述报文的端口为第一用户侧端口,则所述PE可在所述报文添加第一层标签、以及第二层标签并通过Upstream Port发送。若PE在所述转发表中未查找到匹配的所述第二转发表项且接收所述报文的端口为第一Cascade Port,则所述PE将所述报文重定向至所述Upstream Port转发。
其中,上述第一层标签可携带源以太转发通道标识符ECID,上述源ECID为所述第一vPort相关联的ECID,所述第二层标签可携带所述第一vPort相关联的VLAN的标识。
通过图2所示流程可以看出,在本公开中,PE可存储一个转发表。这样,当收到报文时,PE可根据报文的目的MAC地址、报文所属VLAN的标识在转发表中查找到匹配的转发表项,当与匹配的转发表项中作为出端口的vPort绑定的端口为用户侧端口时,可通过该用户侧端口对报文进行转发。而非现有技术中,PE盲目将报文通过Upstream Port上送至CB,最终由 CB转发。这能够实现同一台PE下的不同VM或者同一树形分支上不同PE连接的VM之间进行访问时不需要通过CB进行转发,而是按最短路径转发,从而可缩短转发路径,并有效提高CB与PE、PE与PE之间级联链路的转发效率。
下面通过两个具体实施例对图2所示流程进行描述。
参见图3,图3是根据本公开实施例1示出的可应用报文转发的方法的组网示意图。在图3中,虚拟机VM 311、VM 312连接同一台扩展桥PE 321。本实施例1将以虚拟机VM 311访问虚拟机VM 312为例,对上述报文转发的方法进行详细地说明。
虚拟机VM 311可发送报文,该报文可记为报文1,报文1的源MAC地址为虚拟机VM 311的MAC地址(记为MAC1),目的MAC地址为虚拟机VM 312的MAC地址(记为MAC2)。
扩展桥PE 321可通过用户侧端口(记为Port1_1)收到报文1。这里的用户侧端口可为物理端口,也可为逻辑端口,本公开并不具体限定。
扩展桥PE 321可确定Port1_1绑定的vPort。
扩展桥PE 321确定Port1_1绑定的vPort可有很多种实现方式,简单举两种实现方式。
方式1:PE上电时可将自身上的各端口(包含用户侧端口和上行口等)上报给CB,CB收到后可为PE上的各个端口绑定相关联的vPort(这也意味着为PE分配vPort)并发送端口绑定关系表给PE,同一台PE上的一个端口可绑定多个vPort。
基于此,在方式1下,扩展桥PE 321可从来自控制桥CB 330的端口绑定关系表中查找Port1_1绑定的vPortt。需要说明的是,当扩展桥PE 321从该端口绑定关系表中找到Port1_1绑定了多个vPort时,可指定其中一个vPort确定为Port1_1绑定的vPort。
方式2:PE上电时,PE可将各用户侧端口下接的VM用户信息及本设备上的各端口(包括用户侧端口和上行口等)上报给CB。CB可为PE上个端口绑定vPort,CB可为PE上报的各端口绑定vPort,并可将保存有各端口与其绑定的vPort的端口绑定关系表下发给PE。并且,CB可为PE各用户侧端口下接的VM分配vPort,为各用户侧端口下接的VM分配的vPort为端口绑定关系表中分别与各用户侧端口绑定的vPort。CB将保存有VM的用户信息与vPort绑定关系的配置表下发给PE。
基于此,在方式2下,当扩展桥PE 321从Port1_1接收到报文后,可识别报文所携带的特征参数,该特征参数可包括VM的用户信息,如该报文的源MAC地址、源IP地址等。扩展桥PE 321可在该配置表中查找与该特征参数对应的vPort,作为Port1_1绑定的vPort。
为便于描述,这里将接收报文1的端口Port1_1绑定的vPort记为vPort1_1。
需要说明的是,不管是方式1还是方式2,当CB为PE分配完vPort后,CB可为各个vPort绑定ECID。其中,同一PE上各个vPort绑定的ECID唯一,而同一个ECID可与不同PE上的vPort绑定,比如,扩展桥PE 321上虚拟端口vPort1_1的ECID为ECID1,扩展桥PE 322上虚拟端口vPort2_1的ECID为ECID1。
扩展桥PE 321在转发表项添加条件满足时,可在转发表中添加基于从虚拟机VM 311接收到报文1而学习到的转发表项(记为表项1)。这里,表项1中的出端口为虚拟端口vPort1_1。表项1中还包含报文1的源MAC地址MAC1、虚拟端口vPort1_1相关联的VLAN(记为VLAN1)的标识。表1示出了表项1的结构。其中,该虚拟端口vPort1_1绑定的端口可为扩展桥PE 321的用户侧端口Port1_1。
MAC地址 出端口 VLAN
MAC1 vPort1_1 VLAN1
表1
扩展桥PE 321可根据报文1的目的MAC地址MAC2、VLAN1的标识在转发表中查找到匹配的转发表项(记为表项2)。其中,表项2可预先配置在扩展桥PE 321上,也可按照类似表项1的方式动态学习到并相应添加在扩展桥PE 321的转发表中,表项2的出端口为虚拟端口vPort1_2,表2示出了表项2。至于未查找到表项2的情况,下文会描述。
MAC地址 出端口 VLAN
MAC2 vPort1_2 VLAN1
表2
扩展桥PE 321可在端口绑定关系表中查找虚拟端口vPort1_2绑定的端口。
若扩展桥PE 321发现与虚拟端口vPort1_2绑定的端口为连接虚拟机VM 312的用户侧端口(记为Port1_2),扩展桥PE 321可通过用户侧端口Port1_2发送报文1。最终,报文1会 到达虚拟机VM 312。这实现了扩展桥PE 321按照最短路径转发虚拟机VM 311访问虚拟机VM 312的报文。
当扩展桥PE 321在转发表中未查找到匹配的转发表项(即转发表中不存在表项2)时,或者,扩展桥PE 321发现作为匹配的转发表项中出端口的虚拟端口vPort1_2绑定的端口为上行口Upstream Port时,则扩展桥PE 321可在报文1上添加第一层标签、第二层标签。这里将添加了第一层标签、第二层标签的报文1称为报文2。
这里的第一层标签相比于第二层标签是外层标签,而第二层标签是内层标签,第一层标签携带源ECID,源ECID为虚拟端口vPort1_1相关联的ECID(记为ECID1),第二层标签携带VLAN1的标识。例如,第一层标签可为E-Tag,第二层标签可为C-Tag。
然后,扩展桥PE 321可通过上行口(Upstream Port)发送报文2。
扩展桥PE 322在通过连接扩展桥PE 321的级联口(Cascade Port)收到报文2时,可在PE 322上的ECID与vPort的绑定关系表中,查找与该报文2的第一层标签携带的源ECID对应vPort(记为vPort2_1)。
扩展桥PE 322可根据报文2的目的MAC地址MAC2和报文2的第二层标签携带的VLAN1的标识在转发表中查找匹配的转发表项。
如果扩展桥PE 322发现转发表中不存在匹配的转发表项,则可通过上行口(Upstream Port)向上一级PE或者CB发送报文2。
扩展桥PE 322在转发表项添加条件满足时,可在转发表中添加基于从扩展桥PE 321接收到报文2而学习到的转发表项(记为表项3)。这里,表项3中出端口为扩展桥PE 322上与报文2的第一层标签携带的源ECID相关联的vPort2_1。该vPort2_1绑定的端口可为扩展桥PE 322接收报文2的级联口Cascade Port。表项3中还包含报文2的源MAC地址MAC1、报文2的第二层标签携带的VLAN1(实质也是虚拟端口vPort2_1相关联的VLAN)的标识。需要说明的是,当扩展桥PE 322上不存在虚拟端口vPort2_1时,则可直接丢弃报文2,结束当前流程。表3示出了表项3的结构。
MAC地址 出端口 VLAN
MAC1 vPort2_1 VLAN1
表3
控制桥CB 330收到报文2时,可根据报文2的第二层标签携带的VLAN1的标识、以及报文2的目的MAC地址MAC2在转发表中查找匹配的转发表项。如果转发表中不存在匹配的转发表项,则可依据报文3的第二层标签中VLAN1的标识在VLAN1内广播报文2。而如果转发表中存在匹配的转发表项,则可通过匹配的转发表项转发报文2(转发过程类似现有技术,这里不再赘述)。
这里以控制桥CB 330在VLAN1内广播报文2为例进行说明。
当扩展桥PE 322收到控制桥CB 330广播的报文2,为避免MAC地址移动(move),则当扩展桥PE 322基于从PE 321接收到报文2已学习到的上述表项3还未老化时,扩展桥PE 322不会再依据接收到控制桥CB 330广播的报文2来学习与MAC地址MAC1匹配的表项。
但是,当扩展桥PE 322不存在MAC地址为MAC1的转发表项时,扩展桥PE 322可学习针对控制桥CB 330广播的报文2的转发表项,此时学习到的转发表项的MAC地址为报文2的源MAC地址,出端口为与接收到控制桥CB 330广播的报文2的上行口绑定的vPort,VLAN标识为报文2所属的VLAN标识。
扩展桥PE 321的报文转发机制与扩展桥PE 322类似。最终,扩展桥PE 321会去除报文2所携带的第一层标签和第二层标签。将去除了第一层标签和第二层标签的报文2记为报文3,扩展桥PE 321可发送报文3给虚拟机VM 312。
虚拟机VM 312收到报文3时,发现报文3的目的MAC地址MAC2为本VM的MAC地址,则会返回响应报文。这里将响应报文记为报文4。报文4的源MAC地址为MAC2、目的MAC地址为MAC1。
扩展桥PE 321可通过用户侧端口(记为Port1_2)收到报文4。
扩展桥PE 321可从来自控制桥CB 330的端口绑定关系表中查找用户侧端口Port1_2绑定的vPort,将查找到的vPort确定为接收报文4的端口Port1_2绑定的vPort。作为本发明的一个实施例,扩展桥PE 321也可将报文4携带的用户信息被分配的指定vPort确定为接收报文 4的端口Port1_2绑定的vPort。这里,报文4携带的用户信息可包括报文4的源MAC地址MAC2。为便于描述,这里将接收报文4的端口Port1_2绑定的vPort记为vPort1_2;
扩展桥PE 321在转发表项添加条件满足时,可在转发表中添加基于从虚拟机VM 312接收到报文4而学习到的转发表项(记为表项4)。这里,表项4中出端口为虚拟端口vPort1_2。表项4中还包含报文4的源MAC地址MAC2、虚拟端口vPort1_2相关联的VLAN(记为VLAN1)的标识。表4示出了表项4的结构。
MAC地址 出端口 VLAN
MAC2 vPort1_2 VLAN1
表4
扩展桥PE 321根据报文4的目的MAC地址MAC1、VLAN1的标识在转发表中查找匹配的转发表项,这里查找到的转发表项即为上述的表项1。
当扩展桥PE 321查找到表项1时,扩展桥PE 321可识别表项1的出端口为虚拟端口vPort1_1。
扩展桥PE 321可在端口绑定关系表中查找虚拟端口vPort1_1绑定的端口。扩展桥PE 321发现虚拟端口vPort1_1绑定的端口为连接虚拟机VM 311的用户侧端口Port1_1。扩展桥PE 321通过用户侧端口Port1_1发送报文4。最终,报文4会到达虚拟机VM 311。这实现了扩展桥PE 321按照最短路径转发虚拟机VM 312响应虚拟机VM 311的报文。
至此,完成实施例1的描述。
参见图4,图4是根据本公开实施例2示出的可应用报文转发的方法的组网示意图。在图4中,虚拟机VM 413通过扩展桥PE 423连接扩展桥PE 424,虚拟机VM 414直接连接扩展桥PE 424。
本实施例以虚拟机VM 413访问虚拟机VM 414为例,对上述报文转发的方法进行详细地说明。
虚拟机VM 413可发送报文。其中,该报文记为报文3_1,报文3_1的源MAC地址为虚拟机VM 413的MAC地址(记为MAC3),目的MAC地址为虚拟机VM 414的MAC地址(记为MAC4)。
扩展桥PE 423可通过用户侧端口(记为Port3_3)收到报文3_1。
扩展桥PE 423可从来自控制桥CB 431的端口绑定关系表中查找用户侧端口Port3_3绑定的vPort,并可将查找到的vPort确定为接收报文3_1的端口Port3_3绑定的vPort。作为本发明的一个实施例,扩展桥PE 423也可将报文3_1携带的用户信息被分配的指定vPort确定为接收报文3_1的端口Port3_3绑定的vPort。这里,报文3_1携带的用户信息可为报文3_1的源MAC地址MAC3。为便于描述,这里将接收报文3_1的端口Port3_3绑定的vPort记为vPort3_3。
扩展桥PE 423在转发表项添加条件满足时,在转发表中添加基于从虚拟机VM 413接收到报文3_1而学习到的转发表项、即与报文3_1的源MAC地址MAC3匹配的转发表项(记为表项3_1)。其中,表项3_1中的出端口为虚拟端口vPort3_3。表项3_1中还包含报文3_1的源MAC地址MAC3、虚拟端口vPort3_3相关联的VLAN(记为VLAN3_3)的标识。表5示出了表项3_1的结构。
MAC地址 出端口 VLAN
MAC3 vPort3_3 VLAN3_3
表5
扩展桥PE 423可在转发表中查找到与报文3_1的目的MAC地址MAC4、VLAN3_3的标识匹配的转发表项(记为表项3_2),表项3_2的出端口为虚拟端口vPort3_4。至于未查找到表项3_2的情况,下文会描述。
扩展桥PE 423可在端口绑定关系表中查找虚拟端口vPort3_4绑定的端口。当扩展桥PE 423发现虚拟端口vPort3_4绑定的端口为上行口(Upstream Port),则扩展桥PE 423在报文3_1上添加第一层标签、以及第二层标签。这里将添加了第一层标签、以及第二层标签的报文3_1称为报文3_2。其中,第一层标签相比于第二层标签是外层标签,而第二层标签是内层标签,第一层标签携带源ECID,源ECID为扩展桥PE 423上的虚拟端口vPort3_3相关联的ECID(记为ECID3_3),第二层标签携带VLAN3_3的标识,例如,第一层标签可为E-Tag,第二层标签可为C-Tag。
当扩展桥PE 423未在转发表中查找到表项3_2时,报文转发的的原理与上述虚拟端口 vPort3_4绑定的端口为上行口类似。例如,扩展桥PE 423可通过Upstream Port发送报文3_2。
扩展桥PE 424可通过连接扩展桥PE 423的级联口Cascade Port收到报文3_2。PE 424可在PE 424上的ECID与vPort的绑定关系表中,查找与该报文3_2的第一层标签携带的源ECID对应vPort(记为vPort4_3)。
扩展桥PE 424可在转发表项添加条件满足时,在转发表中添加基于从扩展桥PE 423接收到报文3_2而学习到的转发表项(记为表项3_3)。其中,表项3_3中出端口为扩展桥PE 424上与报文3_2的第一层标签携带的源ECID相关联的vPort4_3,该vPort4_3绑定的端口可为扩展桥PE 424接收报文3_2的级联口Cascade Port。扩展桥PE 424上的虚拟端口vPort4_3与上述PE 423上的虚拟端口vPort3_3关联同一个ECID,即报文3_2的第一层标签携带的源ECID。表项3_3中还可包含报文3_2的源MAC地址MAC3、第二层标签携带的VLAN3_3(实质也是虚拟端口vPort4_3相关联的VLAN)的标识。表6示出了表项3_3。
MAC地址 出端口 VLAN
MAC3 vPort4_3 VLAN3_3
表6
扩展桥PE 424可根据报文3_2的目的MAC地址MAC4和报文3_2的第二层标签携带的VLAN3_3的标识在转发表中查找匹配的转发表项。
如果扩展桥PE 424发现转发表中存在匹配的转发表项(记为表项3_4),扩展桥PE 424识别表项3_4的出端口为虚拟端口vPort4_4。扩展桥PE 424可在端口绑定关系表中查找虚拟端口vPort4_4绑定的端口。
扩展桥PE 424发现虚拟端口vPort4_4绑定的端口为连接虚拟机VM 414的用户侧端口(记为Port4_4),则可去除报文3_2携带的第一层标签和第二层标签。这里将去除了第一层标签和第二层标签的报文3_2记为报文3_3。扩展桥PE 424通过用户侧端口Port4_4发送报文3_3。最终,报文3_3会到达虚拟机VM 414。这实现了扩展桥PE 424按照最短路径转发虚拟机VM 413访问虚拟机VM 414的报文,实现了同一树形分支的不同PE所连接的VM之间进行访问时不通过CB进行转发。
在实施例2中,如果扩展桥PE 424在转发表中未查找到匹配的转发表项时,或者,扩展 桥PE 424发现虚拟端口vPort4_4绑定的端口为上行口(Upstream Port)时,则通过Upstream Port发送报文3_2。
在控制桥CB 431收到报文3_2时,可根据报文3_2的第二层标签携带的VLAN3_3的标识、以及报文3_2的目的MAC地址MAC4在转发表中查找匹配的转发表项。如果转发表中不存在匹配的转发表项,则依据报文3_2的第二层标签中VLAN3_3的标识在虚拟局域网VLAN3_3内广播报文3_2。而如果转发表中存在匹配的转发表项,则通过匹配的转发表项转发报文3_2。转发过程类似现有技术,这里不再赘述。
这里以控制桥CB 431在虚拟局域网VLAN3_3内广播报文3_2为例进行详细说明。
当扩展桥PE 424收到控制桥CB 431广播的报文3_2,为避免MAC地址移动(move),则当扩展桥PE 424基于从扩展桥PE 423接收到报文3_2而已学习到的上述表项3_3还未老化时,扩展桥PE 424不会再依据接收到控制桥CB 431广播的报文3_2来学习与MAC地址MAC3匹配的表项。扩展桥PE 423与扩展桥PE 424类似。最终,扩展桥PE 424可去除控制桥CB 431广播的报文3_2所携带的第一层标签和第二层标签(即得到了上述的报文3_3),然后可发送报文3_3给虚拟机VM 414。
但是,当扩展桥PE 424不存在MAC地址为MAC3的转发表项时,扩展桥PE 424可学习针对控制桥CB 431广播的报文3_2的转发表项,此时学习到的转发表项的MAC地址为报文3_2的源MAC地址,出端口为与接收到控制桥CB 431广播报文3_2的上行口绑定的vPort,VLAN标识为报文3_2所属的VLAN标识。
虚拟机VM 414收到报文3_3时,发现报文3_3的目的MAC地址MAC4为本VM的MAC地址,则可返回响应报文。这里将响应报文记为报文3_4。报文3_4的源MAC地址为MAC4、目的MAC地址为MAC3。
扩展桥PE 424通过用户侧端口(记为Port4_4)收到报文3_4。
扩展桥PE 424从来自控制桥CB 431的端口绑定关系表中查找用户侧端口Port4_4绑定的vPort,将查找到的vPort确定为接收报文3_4的端口Port4_4绑定的vPort。作为本发明的一个实施例,扩展桥PE 424也可将报文3_4携带的特征参数被分配的指定vPort确定为接收报文3_4的端口Port4_4绑定的vPort。这里,报文3_4携带的特征参数可为报文3_4的源MAC地址MAC4。为便于描述,这里将报文3_4相关联的vPort记为vPort4_4。
扩展桥PE 424在转发表项添加条件满足时,在转发表中添加基于从用户侧端口接收到报文3_4学习到的转发表项(记为表项3_5)。这里,表项3_5中出端口为虚拟端口vPort4_4。 表项3_5中还包含报文3_4的源MAC地址MAC4、虚拟端口vPort4_4相关联的VLAN(即为上述的VLAN3_3)的标识。表7示出了表项3_5。
MAC地址 出端口 VLAN
MAC4 vPort4_4 VLAN3_3
表7
扩展桥PE 424可根据报文3_4的目的MAC地址MAC3、VLAN3_3的标识在转发表中查找匹配的转发表项。这里查找到的转发表项即为上述的表项3_3。
当扩展桥PE 424查找到匹配的转发表项、即表项3_3时,扩展桥PE 424识别表项3_3的出端口为虚拟端口vPort4_3。扩展桥PE 424可在端口绑定关系表中查找虚拟端口vPort4_3绑定的端口。扩展桥PE 424发现虚拟端口vPort4_3绑定的端口为级联口(Cascade Port),则可在报文3_4上添加第一层标签和第二层标签。这里将添加了第一层标签和第二层标签的报文3_4称为报文3_5。其中,第一层标签携带的源ECID为上述确定出的与报文3_4关联的虚拟端口vPort4_4所关联的ECID,第二层标签携带VLAN3_3(实质也是虚拟端口vPort4_4相关联的VLAN)的标识。
扩展桥PE 423可通过Upstream Port收到报文3_5。
扩展桥PE 423在转发表项添加条件满足时,可在转发表中添加基于从扩展桥PE 424接收到报文3_5而学习到的转发表项(记为表项3_6)。这里,表项3_6中出端口为扩展桥PE 423接收到报文3_5的上行口所绑定的vPort(记为vPort3_4)。表项3_6中还包含报文3_5的源MAC地址MAC4、报文3_5的第二层标签携带的VLAN3_3(实质也是虚拟端口vPort3_4相关联的VLAN)的标识。表8示出了表项3_6。
MAC地址 出端口 VLAN
MAC4 vPort3_4 VLAN3_3
表8
扩展桥PE 423可根据报文3_5的目的MAC地址MAC3和报文3_5的第二层标签携 带的VLAN3_3的标识在转发表中查找匹配的转发表项。这里查找到的表项为上述的表项3_1。
扩展桥PE 423识别表项3_1的出端口为虚拟端口vPort3_3,扩展桥PE 423可在端口绑定关系表中查找虚拟端口vPort3_3绑定的端口。扩展桥PE 423发现虚拟端口vPort3_3绑定的端口为连接虚拟机VM 413的用户侧端口(记为Port3_3),则可去除报文3_5的第一层标签和第二层标签。这里将去除了第一层标签和第二层标签的报文3_5称为报文3_6。
扩展桥PE 423可通过用户侧端口Port3_3发送报文3_6。最终,报文3_6会到达虚拟机VM 413。实现了同一树形分支的不同PE所连接的VM之间进行访问时不通过CB进行转发。
至此,完成实施例2的描述。
对于装置实施例而言,由于其基本对应于方法实施例,所以相关之处参见方法实施例的部分说明即可。以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性劳动的情况下,即可以理解并实施。
以上对本申请提供报文转发的方法进行了描述。下面对本申请提供报文转发的装置进行描述:
如图5所示,为本申请装置的一种硬件结构图,除了图5所示的处理器511、机器可读存储介质512、转发芯片513、内部总线514之外,根据该PE设备的实际功能,还可以包括其他硬件,对此不再赘述。
在不同的实施例中,所述机器可读存储介质512可以是:RAM(Radom Access Memory,随机存取存储器)、易失存储器、非易失性存储器、闪存、存储驱动器(如硬盘驱动器)、固态硬盘、任何类型的存储盘(如光盘、DVD等),或者类似的存储介质,或者它们的组合。
进一步,上述转发芯片513可接收报文;上述转发芯片513可确定接收所述报文的端口绑定的第一虚拟端口vPort;
上述转发芯片可将所述报文上送给处理器,当满足转发表项添加条件时,所述处理器111可调用上述机器可读存储介质512中保存的表项添逻辑的机器可读指令,该表项添加逻辑可为:在转发表中添加第一转发表项,所述第一转发表项包括的出端口为所述第一vPort, 所述第一转发表项包括的MAC地址为所述报文的源MAC地址、以及所述第一转发表项包括的虚拟局域网VLAN标识为所述第一vPort相关联的VLAN的VLAN标识;
例如,上述转发芯片513在确定了第一vPort后,可为报文添加第一层标签,该第一层标签中可携带该第一vPort绑定的ECID。上述转发芯片513可将添加了第一标签的报文上送至处理器511,处理器511根据报文中携带的ECID,确定与该ECID相关联的第一vPort。在满足转发表项添加条件时,可添加针对该报文的转发表项。其中,转发表项包括的MAC地址为该报文的源MAC地址,出端口为确定出的第一vPort、VLAN标为述第一vPort相关联的VLAN的VLAN标识。
上述转发芯片513可根据所述报文的目的MAC地址、以及所述报文所属VLAN的VLAN标识在所述转发表中查找匹配的第二转发表项;
上述转发芯片513可在端口绑定关系表中查找所述第二转发表项中包括的第二vPort绑定的端口,上述转发芯片513可通过所述第二vPort绑定端口对所述报文进行转发。
根据一个示例,上述转发芯片513可确定接收所述报文的端口绑定的所述第一vPort包括:当接收所述报文的端口为第一用户侧端口时,该转发芯片513可在所述端口绑定关系表中查找所述第一用户侧端口绑定的vPort作为所述第一vPort;当接收所述报文的端口为第一用户侧端口时,该转发芯片513可识别所述报文携带的特征参数,并将预先为所述特征参数分配指定的vPort确定为接收所述报文的端口绑定的第一vPort;当接收所述报文的端口为第一级联口Cascade Port时,该转发芯片513可将所述报文的第一层标签携带的源以太转发通道标识符ECID绑定的vPort确定为接收所述报文的端口绑定第一vPort。
根据另一个示例,上述转发芯片513可通过所述第二vPort绑定端口对所述报文进行转发,包括:若查找到所述第二vPort绑定的端口为上行口Upstream Port,且接收所述报文的端口为第一用户侧端口,则所述转发芯片在所述报文添加第一层标签、以及第二层标签并通过所述上行口Upstream Port发送;若查找到所述第二vPort绑定的端口为第二级联口Cascade Port且接收所述报文的端口为第一Cascade Port接收,则所述PE将所述报文通过所述第二Cascade Port转发;若查找到所述第二vPort绑定的端口为第二用户侧端口且接收所述报文的端口为第一用户侧端口,则该转发芯片513可将所述报文通过所述第二用户侧端口发送;若查找到所述第二vPort绑定的端口为Upstream Port,且接收所述报文的端口为第一Cascade Port接收,则该转发芯片513可将所述报文重定向至所述Upstream Port转发;若查找到所述第二vPort绑定的端口为第二级联口Cascade Port且接收所述报文的端口为第一Cascade Port接收,则所述PE将所述报文通过所述第二Cascade Port转发;若查找到所述第 二vPort绑定的端口为第二用户侧端口且接收所述报文的端口为第一Cascade Port接收,则该转发芯片513可去除所述报文携带的第一层标签和第二层标签,并通过所述第二用户侧端口发送;其中,所述第一层标签携带源以太转发通道标识符ECID,所述源ECID为所述第一vPort相关联的ECID,所述第二层标签携带所述第一vPort相关联的VLAN的标识。
根据另一个示例,若在所述转发表中未查找到匹配的所述第二转发表项且接收所述报文的端口为第一用户侧端口,则该转发芯片513可在所述报文添加第一层标签、以及第二层标签并通过Upstream Port发送;若在所述转发表中未查找到匹配的所述第二转发表项且接收所述报文的端口为第一Cascade Port,则该转发芯片513可将所述报文重定向至所述Upstream Port转发;其中,所述第一层标签携带源以太转发通道标识符ECID,所述源ECID为所述第一vPort相关联的ECID,所述第二层标签携带所述第一vPort相关联的VLAN的标识。
根据另一个示例,上述转发芯片513根据所述报文的目的MAC地址、以及所述报文所属VLAN的VLAN标识在所述转发表中查找匹配的第二转发表项,包括:当接收所述报文的端口为第一用户侧端口时,上述转发芯片513可根据所述报文的目的MAC地址、所述第一vPort相关联的VLAN的VLAN标识在所述转发表中查找匹配的所述第二转发表项;当接收所述报文的端口为Cascade Port时,上述转发芯片513可根据所述报文的目的MAC地址、所述报文携带的第二层标签中的VLAN标识在所述转发表中查找匹配的所述第二转发表项,其中,所述第二层标签携带所述第一vPort相关联的VLAN的标识。
根据另一个示例,所述转发表项添加条件包括以下中的任意一个或多个:在所述转发表中不存在MAC地址为所述报文的源MAC地址的转发表项;或者,接收所述报文的端口为用户侧端口,并且在所述转发表中的MAC地址为所述报文的源MAC地址的转发表项是基于从Upstream Port接收到报文而学习到的。
对于装置实施例而言,由于其基本对应于方法实施例,所以相关之处参见方法实施例的部分说明即可。以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性劳动的情况下,即可以理解并实施。
需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包 含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。
以上对本发明实施例所提供的方法和装置进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。

Claims (12)

  1. 一种报文转发方法,包括:
    端口扩展桥PE接收报文;
    所述PE确定接收所述报文的端口绑定的第一虚拟端口vPort;
    当满足转发表项添加条件时,所述PE在转发表中添加第一转发表项,所述第一转发表项包括的出端口为所述第一vPort、所述第一转发表项包括的MAC地址为所述报文的源MAC地址、以及所述第一转发表项包括的虚拟局域网VLAN标识为所述第一vPort相关联的VLAN的VLAN标识;
    所述PE根据所述报文的目的MAC地址、以及所述报文所属VLAN的VLAN标识在所述转发表中查找匹配的第二转发表项;
    所述PE在端口绑定关系表中查找所述第二转发表项中包括的第二vPort绑定的端口;
    所述PE通过所述第二vPort绑定的端口对所述报文进行转发。
  2. 根据权利要求1所述的方法,其中,确定所述第一vPort包括:
    当接收所述报文的端口为第一用户侧端口时,所述PE在所述端口绑定关系表中查找所述第一用户侧端口绑定的vPort作为所述第一vPort;
    当接收所述报文的端口为第一用户侧端口时,所述PE识别所述报文携带的特征参数,并将预先为所述特征参数分配指定的vPort确定为所述第一vPort;
    当接收所述报文的端口为第一级联口Cascade Port时,所述PE将所述报文的第一层标签携带的源以太转发通道标识符ECID绑定的vPort确定为所述第一vPort。
  3. 根据权利要求1所述的方法,其中,通过所述第二vPort绑定的端口对所述报文进行转发,包括:
    若查找到所述第二vPort绑定的端口为上行口Upstream Port,且接收所述报文的端口为第一用户侧端口,则所述PE在所述报文添加第一层标签、以及第二层标签并通过所述Upstream Port发送;
    若查找到所述第二vPort绑定的端口为第二级联口Cascade Port,且接收所述报文的端口为第一用户侧端口,则所述PE在所述报文添加第一层标签、以及第二层标签并通过所述第二Cascade Port发送;
    若查找到所述第二vPort绑定的端口为第二用户侧端口且接收所述报文的端口为第一用户侧端口,则所述PE将所述报文通过所述第二用户侧端口发送;
    若查找到所述第二vPort绑定的端口为Upstream Port且接收所述报文的端口为第一 Cascade Port,则所述PE将所述报文重定向至所述Upstream Port转发;
    若查找到所述第二vPort绑定的端口为第二级联口Cascade Port且接收所述报文的端口为第一Cascade Port接收,则所述PE将所述报文通过所述第二Cascade Port转发;
    若查找到所述第二vPort绑定的端口为第二用户侧端口且接收所述报文的端口为第一Cascade Port,则所述PE去除所述报文携带的第一层标签和第二层标签,并通过所述第二用户侧端口发送;
    其中,所述第一层标签携带源ECID,所述源ECID为所述第一vPort相关联的ECID,所述第二层标签携带所述第一vPort相关联的VLAN的标识。
  4. 根据权利要求1所述的方法,所述方法还包括:
    若在所述转发表中未查找到匹配的所述第二转发表项且接收所述报文的端口为第一用户侧端口,则所述PE在所述报文添加第一层标签、以及第二层标签并通过Upstream Port发送;
    若在所述转发表中未查找到匹配的所述第二转发表项且接收所述报文的端口为第一Cascade Port,则所述PE将所述报文重定向至所述Upstream Port转发;
    其中,所述第一层标签携带源以太转发通道标识符ECID,所述源ECID为所述第一vPort相关联的ECID,所述第二层标签携带所述第一vPort相关联的VLAN的标识。
  5. 根据权利要求1所述的方法,其中,根据所述报文的目的MAC地址、报文所属VLAN的VLAN标识在所述转发表中查找匹配的所述第二转发表项包括:
    当接收所述报文的端口为第一用户侧端口时,所述PE根据所述报文的目的MAC地址、所述第一vPort相关联的VLAN的VLAN标识在所述转发表中查找匹配的所述第二转发表项;
    当接收所述报文的端口为Cascade Port时,所述PE根据所述报文的目的MAC地址、所述报文携带的第二层标签中的VLAN标识在所述转发表中查找匹配的所述第二转发表项,其中,所述第二层标签携带所述第一vPort相关联的VLAN的标识。
  6. 根据权利要求1所述的方法,其中,所述转发表项添加条件包括以下中的任意一个或多个:
    在所述转发表中不存在MAC地址为所述报文的源MAC地址的转发表项;或者,
    接收所述报文的端口为用户侧端口,并且在所述转发表中的MAC地址为所述报文的源MAC地址的转发表项是基于从Upstream Port接收到报文而学习到的。
  7. 一种端口扩展桥PE,包括处理器和转发芯片,
    所述转发芯片接收报文;
    所述转发芯片确定接收所述报文的端口绑定的第一虚拟端口vPort;
    所述转发芯片将所述报文上送给所述处理器,当满足转发表项添加条件时,所述处理器在转发表中添加第一转发表项,所述第一转发表项包括的出端口为所述第一vPort,所述第一转发表项包括的MAC地址为所述报文的源MAC地址、以及所述第一转发表项包括的虚拟局域网VLAN标识为所述第一vPort相关联的VLAN的VLAN标识;
    所述转发芯片根据所述报文的目的MAC地址、以及所述报文所属VLAN的VLAN标识在所述转发表中查找匹配的第二转发表项;
    所述转发芯片在端口绑定关系表中查找所述第二转发表项中包括的第二vPort绑定的端口;
    所述转发芯片通过所述第二vPort绑定端口对所述报文进行转发。
  8. 根据权利要求7所述的PE,其中,所述转发芯片确定所述第一vPort包括:
    当接收所述报文的端口为第一用户侧端口时,所述转发芯片在所述端口绑定关系表中查找所述第一用户侧端口绑定的vPort作为所述第一vPort;
    当接收所述报文的端口为第一用户侧端口时,所述转发芯片识别所述报文携带的特征参数,并将预先为所述特征参数分配指定的vPort确定为第一vPort;
    当接收所述报文的端口为第一级联口Cascade Port时,所述转发芯片将所述报文的第一层标签携带的源以太转发通道标识符ECID绑定的vPort确定为第一vPort。
  9. 根据权利要求7所述的PE,其中,所述转发芯片通过所述第二vPort绑定端口对所述报文进行转发,包括:
    若查找到所述第二vPort绑定的端口为上行口Upstream Port,且接收所述报文的端口为第一用户侧端口,则所述转发芯片在所述报文添加第一层标签、以及第二层标签并通过所述Upstream Port;
    若查找到所述第二vPort绑定的端口为第二级联口Cascade Port,且接收所述报文的端口为第一用户侧端口,则所述转发芯片在所述报文添加第一层标签、以及第二层标签并通过所述第二Cascade Port发送;
    若查找到所述第二vPort绑定的端口为第二用户侧端口且接收所述报文的端口为第一用户侧端口,则所述转发芯片将所述报文通过所述第二用户侧端口发送;
    若查找到所述第二vPort绑定的端口为Upstream Port,且接收所述报文的端口为第一Cascade Port接收,则所述转发芯片将所述报文重定向至所述Upstream Port转发;
    若查找到所述第二vPort绑定的端口为第二级联口Cascade Port且接收所述报文的端口为第一Cascade Port接收,则所述PE将所述报文通过所述第二Cascade Port转发;
    若查找到所述第二vPort绑定的端口为第二用户侧端口且接收所述报文的端口为第一Cascade Port接收,则所述转发芯片去除所述报文携带的第一层标签和第二层标签,并通过所述第二用户侧端口发送;
    其中,所述第一层标签携带源以太转发通道标识符ECID,所述源ECID为所述第一vPort相关联的ECID,所述第二层标签携带所述第一vPort相关联的VLAN的标识。
  10. 根据权利要求7所述的PE,其中,若在所述转发表中未查找到匹配的所述第二转发表项且接收所述报文的端口为第一用户侧端口,则所述转发芯片在所述报文添加第一层标签、以及第二层标签并通过Upstream Port发送;
    若在所述转发表中未查找到匹配的所述第二转发表项且接收所述报文的端口为第一Cascade Port,则所述转发芯片将所述报文重定向至所述Upstream Port转发;
    其中,所述第一层标签携带源以太转发通道标识符ECID,所述源ECID为所述第一vPort相关联的ECID,所述第二层标签携带所述第一vPort相关联的VLAN的标识。
  11. 根据权利要求7所述的PE,其中,所述转发芯片根据所述报文的目的MAC地址、以及所述报文所属VLAN的VLAN标识在所述转发表中查找匹配的第二转发表项,包括:
    当接收所述报文的端口为第一用户侧端口时,所述转发芯片根据所述报文的目的MAC地址、所述第一vPort相关联的VLAN的VLAN标识在所述转发表中查找匹配的所述第二转发表项;
    当接收所述报文的端口为Cascade Port时,所述转发芯片根据所述报文的目的MAC地址、所述报文携带的第二层标签中的VLAN标识在所述转发表中查找匹配的所述第二转发表项,其中,所述第二层标签携带所述第一vPort相关联的VLAN的标识。
  12. 根据权利要求7所述的PE,其中,所述转发表项添加条件包括以下中的任意一个或多个:
    在所述转发表中不存在MAC地址为所述报文的源MAC地址的转发表项;或者,
    接收所述报文的端口为用户侧端口,并且在所述转发表中的MAC地址为所述报文的源MAC地址的转发表项是基于从Upstream Port接收到报文而学习到的。
PCT/CN2017/089147 2016-06-21 2017-06-20 报文转发 WO2017219958A1 (zh)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2018566849A JP6722776B2 (ja) 2016-06-21 2017-06-20 パケット転送
EP17814696.5A EP3474500A4 (en) 2016-06-21 2017-06-20 PACKET TRANSFER
US16/099,677 US10771385B2 (en) 2016-06-21 2017-06-20 Packet forwarding method and port extender

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610464540.4A CN107528784B (zh) 2016-06-21 2016-06-21 报文转发方法和装置
CN201610464540.4 2016-06-21

Publications (1)

Publication Number Publication Date
WO2017219958A1 true WO2017219958A1 (zh) 2017-12-28

Family

ID=60734406

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/089147 WO2017219958A1 (zh) 2016-06-21 2017-06-20 报文转发

Country Status (5)

Country Link
US (1) US10771385B2 (zh)
EP (1) EP3474500A4 (zh)
JP (1) JP6722776B2 (zh)
CN (1) CN107528784B (zh)
WO (1) WO2017219958A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109587065B (zh) * 2017-09-28 2021-02-23 北京金山云网络技术有限公司 转发报文的方法、装置、交换机、设备及存储介质
CN108965093B (zh) * 2018-08-24 2021-03-23 新华三技术有限公司 一种vlan分配方法及装置

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102148749A (zh) * 2010-11-05 2011-08-10 华为技术有限公司 一种交换机端口扩展的方法及装置
US20140269710A1 (en) * 2013-03-12 2014-09-18 Dell Products L.P. Port extender
CN104092595A (zh) * 2014-07-21 2014-10-08 杭州华三通信技术有限公司 基于802.1br的虚拟化系统中的报文处理方法及装置
CN105227464A (zh) * 2014-06-23 2016-01-06 杭州华三通信技术有限公司 Vcf系统中的报文转发方法及装置

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3954007B2 (ja) * 2003-11-13 2007-08-08 アンリツ株式会社 拡張中継システム及び中継装置
JP2007235302A (ja) * 2006-02-28 2007-09-13 Matsushita Electric Ind Co Ltd ブリッジ装置、プログラム記録媒体及び集積回路
CN102684979B (zh) * 2011-03-11 2018-08-14 中兴通讯股份有限公司 一种支持虚拟终端的组播数据转发方法及装置
EP2696538B1 (en) * 2011-05-06 2019-05-29 ZTE Corporation Method, system and controlling bridge for obtaining port extension topology information
US20120287930A1 (en) 2011-05-13 2012-11-15 Cisco Technology, Inc. Local switching at a fabric extender
US8798064B2 (en) * 2011-06-06 2014-08-05 Broadcom Corporation Method and system of frame forwarding with link aggregation in distributed ethernet bridges
US9077650B2 (en) * 2012-05-31 2015-07-07 Broadcom Corporation Multi-homing in an extended bridge
US9054982B2 (en) * 2012-12-21 2015-06-09 Broadcom Corporation Satellite controlling bridge architecture
US20150163072A1 (en) * 2013-12-05 2015-06-11 Broadcom Corporation Virtual Port Extender
US20150312151A1 (en) * 2014-04-29 2015-10-29 Dell Products L.P. Enhanced load distribution of non-unicast traffic to multi-homed nodes in a port extender environment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102148749A (zh) * 2010-11-05 2011-08-10 华为技术有限公司 一种交换机端口扩展的方法及装置
US20140269710A1 (en) * 2013-03-12 2014-09-18 Dell Products L.P. Port extender
CN105227464A (zh) * 2014-06-23 2016-01-06 杭州华三通信技术有限公司 Vcf系统中的报文转发方法及装置
CN104092595A (zh) * 2014-07-21 2014-10-08 杭州华三通信技术有限公司 基于802.1br的虚拟化系统中的报文处理方法及装置

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3474500A4 *

Also Published As

Publication number Publication date
US20190158401A1 (en) 2019-05-23
CN107528784A (zh) 2017-12-29
JP2019519166A (ja) 2019-07-04
EP3474500A1 (en) 2019-04-24
US10771385B2 (en) 2020-09-08
JP6722776B2 (ja) 2020-07-15
CN107528784B (zh) 2021-02-26
EP3474500A4 (en) 2019-05-15

Similar Documents

Publication Publication Date Title
JP6317851B1 (ja) 論理ルータ
US8819267B2 (en) Network virtualization without gateway function
EP2600573B1 (en) Method for transmitting addresses correspondence relationship in second-layer protocol using link status routing
US20220086086A1 (en) Packet processing method, device, and system
US8811409B2 (en) Routing VLAN tagged packets to far end addresses of virtual forwarding instances using separate administrations
US9608833B2 (en) Supporting multiple multicast trees in trill networks
US20170317850A1 (en) Layer-3 Forwarding in VXLAN
WO2022100554A1 (zh) Bier报文转发的方法、设备以及系统
WO2017215390A1 (zh) 一种纵向堆叠系统的数据转发端口选择方法及装置
EP3490197B1 (en) Message forwarding
EP3487123B1 (en) Message forwarding
EP2915315B1 (en) Otv scaling using site virtual mac addresses
US20160226753A1 (en) Scheme for performing one-pass tunnel forwarding function on two-layer network structure
WO2021042445A1 (zh) 一种二层专线网络系统、配置方法及设备
CN101110746B (zh) 运营商边缘设备、城域以太接入网及其处理数据的方法
WO2017219958A1 (zh) 报文转发
CN101286918A (zh) 虚拟专用网络系统及其数据处理方法
US11997005B2 (en) BIER overlay signaling enhancement
WO2016101515A1 (zh) 信息技术it设备端口的确定方法及装置
WO2017036384A1 (zh) 运营商边缘设备及数据转发方法
US11516123B2 (en) Configuring logical network devices for label-switched networks
CN115348238A (zh) Dhcp中继的方法、vtep网关、电子设备及介质

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: 17814696

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2018566849

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2017814696

Country of ref document: EP

Effective date: 20190121