WO2016124156A1 - Packet transmission - Google Patents
Packet transmission Download PDFInfo
- Publication number
- WO2016124156A1 WO2016124156A1 PCT/CN2016/073611 CN2016073611W WO2016124156A1 WO 2016124156 A1 WO2016124156 A1 WO 2016124156A1 CN 2016073611 W CN2016073611 W CN 2016073611W WO 2016124156 A1 WO2016124156 A1 WO 2016124156A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- vlan
- downlink packet
- packet
- port
- server
- Prior art date
- Legal status (The legal status 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 status listed.)
- Ceased
Links
Images
Classifications
-
- 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
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1001—Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
- H04L67/1004—Server selection for load balancing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
- H04L67/566—Grouping or aggregating service requests, e.g. for unified processing
Definitions
- a Data Center (DC) server may be managed via an Integrated Light-Out (ILO) port which is also called a server out-of-band management port. ILO is also sometimes referred to as “in case of line out” .
- the ILO port is a separate dedicated physical port, and the DC server sets a physical port aside as the ILO port. Management packets may be transmitted between a network management device and the DC server via the ILO port.
- a dedicated management network is necessary so that the network management device can manage the DC server via the ILO port.
- the management network is separated from a service network of the DC server.
- FIG. 1 is a flowchart illustrating a packet transmission method according to some examples of the present disclosure.
- FIG. 2 is a flowchart illustrating a packet transmission method according to some examples of the present disclosure.
- FIG. 3 is a diagram illustrating the structure of a DC network according to some examples of the present disclosure.
- FIG. 4 is a diagram illustrating the structure of a packet transmission apparatus according to some examples of the present disclosure.
- FIG. 5 is a diagram illustrating the structure of a packet transmission apparatus according to some examples of the present disclosure.
- the present disclosure is described by referring mainly to an example thereof.
- numerous specific details are set forth in order to provide a thorough understanding of the present disclosure. It will be readily apparent however, that the present disclosure may be practiced without limitation to these specific details. In other instances, some methods and structures have not been described in detail so as not to unnecessarily obscure the present disclosure.
- the terms “a” and “an” are intended to denote at least one of a particular element.
- the term “includes” means includes but not limited to, the term “including” means including but not limited to.
- the term “based on” means based at least in part on.
- a DC server sets a physical port aside as an ILO port.
- a network management device transmits management packets via the ILO port, so as to manage the DC server. Accordingly, physical port resources of the DC server are occupied.
- a dedicated management network is necessary so that the network management device can manage the DC server, which causes high network construction costs.
- FIG. 1 is a flowchart illustrating a packet transmission method according to some examples of the present disclosure.
- the method may be applicable to an Intelligent Resilient Framework (IRF) system.
- IRF Intelligent Resilient Framework
- multiple network devices may be connected through physical IRF ports and may be virtualized into a device after necessary configurations are performed.
- the method includes the following blocks.
- a downlink packet is received.
- the downlink packet contains a tag of a first Virtual Local Area Network (VLAN) for indicating the downlink packet to be transmitted in the first VLAN.
- VLAN Virtual Local Area Network
- the downlink packet is a known unicast packet whose destination address is the Media Access Control (MAC) address of a DC server
- the first VLAN is a management VLAN and an egress port corresponding to the downlink packet is an aggregation port
- the downlink packet is transmitted via a physical port bundled with the first VLAN in the aggregation port.
- the management VLAN may be a VLAN used for managing the DC server, and the physical port bundled with the first VLAN is also bundled with a service VLAN.
- the downlink packet is a packet sent by a network management device or a core network to the DC server.
- a physical port in the aggregation port for transmitting service packets of the DC server is bundled with the management VLAN.
- a downlink packet is received. If the downlink packet is a known unicast packet whose destination address is the MAC address of the DC server, the first VLAN is a management VLAN and an egress port corresponding to the downlink packet is an aggregation port, the downlink packet is transmitted via the physical port bundled with the management VLAN in the aggregation port.
- the management packets transmitted in the management VLAN may be transmitted via a service network and it is unnecessary to set a physical port for transmitting the management packets aside, thereby reducing network construction costs and fully utilizing physical port resources of the IRF system.
- the aggregation port may include multiple physical ports.
- One or more physical ports may be selected from the multiple physical ports to transmit service packets.
- load balance and flow backup may be implemented.
- One of the multiple physical ports may be bundled with the management VLAN to transmit management packets.
- the downlink packet is an unknown unicast packet or a broadcast packet and the first VLAN is the management VLAN, the downlink packet is transmitted via all physical ports bundled with the management VLAN except a physical port receiving the downlink packet.
- the downlink packet is a known unicast packet whose destination address is the MAC address of the DC server
- the first VLAN is a service VLAN and an egress port corresponding to the downlink packet is an aggregation port
- a physical port corresponding to the downlink packet is selected from the multiple physical ports included in the aggregation port according to a load balance algorithm.
- the downlink packet is forwarded to the DC server via the physical port corresponding to the downlink packet.
- a forwarding table is searched.
- a forwarding entry in the forwarding table may indicate a relationship between a MAC address, a VLAN and an egress port.
- the egress port corresponding to the downlink packet is identified according to the destination MAC address of the downlink packet and the tag of the first VLAN, it is determined that the downlink packet is a known unicast packet.
- the forwarding table may be configured in advance, or may be obtained by the IRF system through learning packets exchanged with the DC server. For example, an uplink packet sent by the DC server via a first physical port is received. The uplink packet contains the MAC address of the DC server and the tag of the first VLAN.
- the forwarding table does not store a forwarding entry for indicating a relationship between an egress port, the MAC address of the DC server and the first VLAN
- an aggregation port including the first physical port is determined as an egress port corresponding to the MAC address of the DC server and the first VLAN
- the forwarding entry for indicating a relationship between the aggregation port including the first physical port, the MAC address of the DC server and the first VLAN is stored into the forwarding table.
- the uplink packet is a packet sent from the DC server to the IRF system.
- the IRF system consists of top-of-rack (TOR) devices, and the TOR devices may be TOR switches.
- TOR top-of-rack
- FIG. 2 is a flowchart illustrating a packet transmission method according to some examples of the present disclosure. As shown in FIG. 2, the method includes the following blocks.
- a management VLAN for managing DC servers is allocated in advance.
- the management VLAN may transmit management packets.
- the tag of the management VLAN is VLAN 401.
- the management VLAN is bundled with a physical port of a DC server, and bundled with a physical port of an IRF system connected with the physical port of the DC server.
- the physical ports bundled with the management VLAN may also be bundled with a service VLAN to transmit service packets.
- Access Control List (ACL) rules are configured in the IRF system.
- an egress port corresponding to the known layer 2 unicast downlink management VLAN packet is set as a physical port bundled with the management VLAN in the aggregation port.
- an egress port corresponding to the unknown layer 2 unicast or broadcast downlink management VLAN packet is set as all local physical ports bundled with the management VLAN except an ingress port corresponding to the unknown layer 2 unicast or broadcast downlink management VLAN packet.
- the IRF system receives a layer 2 management VLAN packet sent by a network management device, and determines whether the layer 2 management VLAN packet is a unicast packet or a broadcast packet according to the destination MAC address of the layer 2 management VLAN packet.
- block 204 is performed.
- block 206 is performed.
- the IRF system searches a locally generated layer 2 MAC forwarding table for a layer 2 MAC forwarding entry corresponding to the destination MAC address of the unicast packet and the tag of the management VLAN, and determines whether the layer 2 MAC forwarding entry is identified. If the IRF system identifies the layer 2 MAC forwarding entry, block 205 is performed; otherwise, block 206 is performed.
- the IRF system finds that an egress port in the identified layer 2 MAC forwarding entry is an aggregation port, and forwards the unicast packet via a physical port bundled with the management VLAN in the aggregation port according to the first ACL rule. And thus, this flowchart ends.
- the IRF system forwards the broadcast packet via all local physical ports bundled with the management VLAN except an ingress port corresponding to the broadcast packet according to the second ACL rule.
- the IRF system When the IRF system broadcasts the layer 2 management VLAN packet, if an egress port is a single physical port which is not an aggregation port, the IRF system forwards the layer 2 management VLAN packet via the physical port. If an egress port is an aggregation port, the IRF system forwards the layer 2 management VLAN packet via the physical ports bundled with the management VLAN in the aggregation port.
- the management VLAN for managing DC servers is allocated, and the first ACL rule is configured in the IRF system.
- the first ACL rule when a condition is met that a known layer 2 unicast downlink management VLAN packet is received and an egress port in a layer 2 MAC forwarding entry corresponding to the known layer 2 unicast downlink management VLAN packet is an aggregation port, an egress port corresponding to the known layer 2 unicast downlink management VLAN packet is set as a physical port bundled with the management VLAN in the aggregation port.
- a physical port of the DC server may be bundled with the service VLAN after bundled with the management VLAN. Accordingly, both management packets and service packets may be transmitted via the physical port. Therefore, it is unnecessary for the DC server to set a physical port for transmitting management packets aside, thereby fully utilizing physical port resources of the DC server .
- management packets may be successfully transmitted in a service network. Accordingly, it is unnecessary to establish a dedicated management network separated from the service network, thereby saving network establishment costs.
- an IRF system includes a TOR switch 1 and a TOR switch 2, and a DC server 1 and a DC server 2 are connected with the IRF system.
- the physical port P11 of the DC server 1 is connected with the physical port G1/0/1 of the TOR switch 1.
- the physical port P12 of the DC server 1 is connected with the physical port G2/0/1 of the TOR switch 2.
- the physical port P21 of the DC server 2 is connected with the physical port G1/0/2 of the TOR switch 1.
- the physical port P22 of the DC server 2 is connected with the physical port G2/0/2 of the TOR switch 2.
- the physical port G1/0/1 of the TOR switch 1 and the physical port G2/0/1 of the TOR switch 2 are bundled as an aggregation port G1 according to Link Aggregation Control Protocol (LACP)
- LACP Link Aggregation Control Protocol
- the physical port G1/0/2 of the TOR switch 1 and the physical port G2/0/2 of the TOR switch 2 are bundled as an aggregation port G2 according to the LACP.
- the physical port P11 of the DC server 1 is bundled with a management VLAN 401, and the physical port P21 of the DC server 2 is bundled with the management VLAN 401.
- the physical port G1/0/1 connected with the physical port P11 is bundled with the management VLAN 401
- the physical port G1/0/2 connected with the physical port P21 is bundled with the management VLAN 401.
- an egress port corresponding to the known layer 2 unicast downlink VLAN 401 packet is set as a physical port bundled with the management VLAN 401 in the aggregation port.
- an egress port corresponding to the unknown layer 2 unicast or broadcast downlink VLAN 401 packet is set as all local physical ports bundled with the management VLAN 401 except an ingress port corresponding to the unknown layer 2 unicast or broadcast downlink VLAN 401 packet.
- a process of the TOR switch learning the layer 2 MAC forwarding entry is implemented as follows.
- the TOR switch 1 receives a layer 2 management VLAN 401 packet from the DC server 1 via the physical port G1/0/1, and searches a local layer 2 MAC forwarding table for a layer 2 MAC forwarding entry corresponding to the source MAC address of the layer 2 management VLAN 401 packet and the VLAN 401. If the TOR switch 1 does not identify the layer 2 MAC forwarding entry, the TOR switch 1 learns the layer 2 MAC forwarding entry.
- the layer 2 MAC forwarding entry includes a VLAN tag, i.e., VLAN 401, a MAC address, i.e., the source MAC address of the layer 2 management VLAN 401 packet (i.e., the MAC address of the DC server 1) , and an egress port, i.e., the aggregation port G1 (i.e., the aggregation port to which the ingress port G1/0/1 of the layer 2 management VLAN 401 packet belongs) .
- VLAN tag i.e., VLAN 401
- a MAC address i.e., the source MAC address of the layer 2 management VLAN 401 packet (i.e., the MAC address of the DC server 1)
- an egress port i.e., the aggregation port G1 (i.e., the aggregation port to which the ingress port G1/0/1 of the layer 2 management VLAN 401 packet belongs) .
- the TOR switch 1 receives a layer 2 management VLAN 401 packet from the DC server 2 via the physical port G1/0/2, and searches the local layer 2 MAC forwarding table for a layer 2 MAC forwarding entry corresponding to the source MAC address of the layer 2 management VLAN 401 packet and the VLAN 401. If the TOR switch 1 does not identify the layer 2 MAC forwarding entry, the TOR switch 1 learns the layer 2 MAC forwarding entry.
- the layer 2 MAC forwarding entry includes a VLAN tag, i.e., VLAN 401, a MAC address, i.e., the source MAC address of the layer 2 management VLAN 401 packet (i.e., the MAC address of the DC server 2) , and an egress port, i.e., the aggregation port G2 (i.e., the aggregation port to which the ingress port G1/0/2 of the layer 2 management VLAN 401 packet belongs) .
- VLAN tag i.e., VLAN 401
- a MAC address i.e., the source MAC address of the layer 2 management VLAN 401 packet (i.e., the MAC address of the DC server 2)
- an egress port i.e., the aggregation port G2 (i.e., the aggregation port to which the ingress port G1/0/2 of the layer 2 management VLAN 401 packet belongs) .
- each device in the IRF system may synchronize its layer 2 MAC forwarding entry to other devices in the IRF system.
- a process of a TOR switch forwarding a layer 2 management packet is implemented as follows.
- the TOR switch 1 receives a layer 2 unicast management packet sent from a network management device to the DC server 1.
- a VLAN tag in the layer 2 unicast management packet is the VLAN 401
- the destination address of the layer 2 unicast management packet is the address of the DC server 1.
- the TOR switch 1 locally identifies a layer 2 MAC forwarding entry.
- An egress port in the layer 2 MAC forwarding entry is the aggregation port G1.
- the TOR switch 1 finds that the layer 2 unicast management packet meets the condition in the first ACL rule, and thus forwards the layer 2 unicast management packet via the physical port G1/0/1 bundled with the VLAN 401 in the aggregation port G1 according to the first ACL rule.
- the layer 2 unicast management packet may arrive at the physical port P11 of the DC server 1.
- the TOR switch 1 receives a layer 2 unicast management packet sent from the network management device to the DC server 2.
- a VLAN tag in the layer 2 unicast management packet is the VLAN 401
- the destination address of the layer 2 unicast management packet is the address of the DC server 2.
- the TOR switch 1 locally identifies a layer 2 MAC forwarding entry.
- An egress port in the layer 2 MAC forwarding entry is the aggregation port G2.
- the TOR switch 1 finds that the layer 2 unicast management packet meets the condition in the first ACL rule, and thus forwards the layer 2 unicast management packet via the physical port G1/0/2 bundled with the VLAN 401 in the aggregation port G2 according to the first ACL rule.
- the layer 2 unicast management packet may arrive at the physical port P21 of the DC server 2.
- the TOR switch 1 receives a layer 2 broadcast management packet from the network management device.
- a VLAN tag in the layer 2 broadcast management packet is the VLAN 401
- the destination address of the layer 2 broadcast management packet is a broadcast address.
- the TOR switch 1 finds that the layer 2 broadcast management packet meets the condition in the second ACL rule, and thus forwards the layer 2 broadcast management packet via the physical port G1/0/1 bundled with the VLAN 401 in the aggregation port G1 and the physical port G1/0/2 bundled with the VLAN 401 in the aggregation port G2 according to the second ACL rule.
- the layer 2 broadcast management packet may arrive at the physical port P11 of the DC server 1 and the physical port P21 of the DC server 2.
- a process of a TOR switch forwarding a layer 2 service packet is implemented as follows.
- the TOR switch 1 receives a layer 2 service packet from a core network, and locally identifies a layer 2 MAC forwarding entry according to a VLAN tag in the layer 2 service packet and the destination MAC address of the layer 2 service packet.
- the TOR switch 1 finds that an egress port in the layer 2 MAC forwarding entry is an aggregation port, distributes the layer 2 service packet to a physical port of the aggregation port according to a predefined load balance algorithm and forwards the layer 2 service packet via the physical port.
- a Hash calculation is performed for five-tuple information of the layer 2 service packet according to a predefined Hash algorithm, and maps a calculation result to a physical port of the aggregation port G1, e.g. G1/0/1 or G2/0/1, and then forwards the layer 2 service packet via the physical port. If the calculation result is mapped to the physical port G2/0/1, the TOR switch 1 forwards the layer 2 service packet and the physical port G2/0/1 to the TOR switch 2, and the TOR switch 2 forwards the layer 2 service packet via the physical port G2/0/1.
- the process of the TOR switch 2 forwarding the layer 2 service packet is similar to the process of the TOR switch 1 forwarding the layer 2 service packet.
- the layer 2 management packets may be forwarded via a fixed physical port in the IRF system, and the layer 2 service packets may be forwarded via the physical ports in the IRF system according to the load balance algorithm.
- FIG. 4 is a diagram illustrating the structure of a packet transmission apparatus according to some examples of the present disclosure.
- the apparatus may be a TOR switch.
- the apparatus includes a non-transitory machine-readable storage medium 410 and a processor 420.
- the non-transitory machine-readable storage medium 410 may store machine-readable instructions that can be executed by the processor 420.
- the processor 420 may read the machine-readable instructions stored in the non-transitory machine-readable storage medium 410 to perform a process of:
- the downlink packet contains a tag of a first VLAN for indicating the downlink packet to be transmitted in the first VLAN;
- the first VLAN is a management VLAN and an egress port corresponding to the downlink packet is an aggregation port, transmitting the downlink packet via a physical port bundled with management VLAN in the aggregation port.
- the management VLAN may be a VLAN used for managing the DC server, and the physical port bundled with the first VLAN is also bundled with a service VLAN.
- the processor 420 may read the machine-readable instructions stored in the non-transitory machine-readable storage 410 to further perform a process of:
- the downlink packet is an unknown unicast packet or a broadcast packet and the first VLAN is the management VLAN, transmitting the downlink packet via all physical ports bundled with the management VLAN except a physical port receiving the downlink packet.
- the processor 420 may read the machine-readable instructions stored in the non-transitory machine-readable storage medium 410 to further perform a process of:
- the downlink packet is a known unicast packet whose destination address is the MAC address of the DC server
- the first VLAN is a service VLAN and an egress port corresponding to the downlink packet is an aggregation port, selecting a physical port corresponding to the downlink packet from the multiple physical ports included in the aggregation port according to a load balance algorithm
- the processor 420 may read the machine-readable instructions stored in the non-transitory machine-readable storage medium 410 to further perform a process of:
- a forwarding entry in the forwarding table may indicate a relationship between a MAC address, a VLAN and an egress port
- the egress port corresponding to the downlink packet is identified according to the destination MAC address of the downlink packet and the tag of the first VLAN, determining that the downlink packet is a known unicast packet.
- the processor 420 may read the machine-readable instructions stored in the non-transitory machine-readable storage medium 410 to further perform a process of:
- the forwarding table when the forwarding table does not store a forwarding entry for indicating a relationship between an egress port, the MAC address of the DC server and the first VLAN, determining that an aggregation port including the first physical port as an egress port corresponding to the MAC address of the DC server and the first VLAN, and storing the forwarding entry for indicating a relationship between the aggregation port including the first physical port, the MAC address of the DC server and the first VLAN into the forwarding table.
- a non-transitory machine-readable storage medium may store machine-readable instructions, and a processor may read the machine-readable instructions stored in the non-transitory machine-readable storage medium to perform a process of:
- the downlink packet contains a tag of a first VLAN for indicating the downlink packet to be transmitted in the first VLAN;
- the first VLAN is a management VLAN and an egress port corresponding to the downlink packet is an aggregation port, transmitting the downlink packet via a physical port bundled with the management VLAN in the aggregation port.
- the management VLAN may be a VLAN used for managing the DC server, and the physical port bundled with the first VLAN is also bundled with a service VLAN.
- the processor may read the machine-readable instructions stored in the non-transitory machine-readable storage medium to further perform a process of:
- the downlink packet is an unknown unicast packet or a broadcast packet and the first VLAN is the management VLAN, transmitting the downlink packet via all physical ports bundled with the management VLAN except a physical port receiving the downlink packet.
- the processor may read the machine-readable instructions stored in the non-transitory machine-readable storage medium to further perform a process of:
- the downlink packet is a known unicast packet whose destination address is the MAC address of the DC server
- the first VLAN is a service VLAN and an egress port corresponding to the downlink packet is an aggregation port, selecting a physical port corresponding to the downlink packet from the multiple physical ports included in the aggregation port according to a load balance algorithm
- the processor may read the machine-readable instructions stored in the non-transitory machine-readable storage medium to further perform a process of:
- a forwarding entry in the forwarding table may indicate a relationship between a MAC address, a VLAN and an egress port
- the processor may read the machine-readable instructions stored in the non-transitory machine-readable storage medium to further perform a process of:
- the forwarding table when the forwarding table does not store a forwarding entry for indicating a relationship between an egress port, the MAC address of the DC server and the first VLAN, determining that an aggregation port including the first physical port as an egress port corresponding to the MAC address of the DC server and the first VLAN, and storing the forwarding entry for indicating a relationship between the aggregation port including the first physical port, the MAC address of the DC server and the first VLAN into the forwarding table.
- the machine-readable storage medium for storing the machine-readable instructions may be any electric, magnetic or optical storage medium or other physical storage medium.
- the non-transitory storage medium may include or store information, e.g. executable instructions and data.
- the non-transitory storage medium may be a Radom Access Memory (RAM) , a transitory storage medium, a non-transitory storage medium, a Flash card, a storage driver (e.g. a disk driver) , a solid-state disk, a storage disk of any type (e.g. an optical disk and a DVD) , or a similar storage medium, or any combination of the above.
- the machine-readable storage medium described above may be non-transitory.
- FIG. 5 is a diagram illustrating the structure of a packet transmission apparatus according to some examples of the present disclosure.
- the apparatus may be a TOR switch.
- the apparatus includes a receiving unit 510, a processing unit 520 and a transmitting unit 530.
- the receiving unit 510 is to receive a downlink packet.
- the downlink packet contains a tag of a first VLAN for indicating the downlink packet to be transmitted in the first VLAN.
- the processing unit 520 is to determine whether the downlink packet is a known unicast packet whose destination address is the MAC address of a DC server, whether the first VLAN is a management VLAN, and whether an egress port corresponding to the downlink packet is an aggregation port.
- the transmitting unit 530 is to transmit the downlink packet via a physical port bundled with the management VLAN in the aggregation port.
- the management VLAN may be a VLAN used for managing the DC server, and the physical port bundled with the first VLAN is also bundled with a service VLAN.
- the transmitting unit 530 is to transmit the downlink packet via all physical ports bundled with the management VLAN except a physical port receiving the downlink packet.
- the processing unit 520 is to select a physical port corresponding to the downlink packet from the multiple physical ports included in the aggregation port according to a load balance algorithm.
- the transmitting unit 530 is to forward the downlink packet to the DC server via the physical port corresponding to the downlink packet.
- the processing unit 520 is to search a forwarding table.
- a forwarding entry in the forwarding table may indicate a relationship between a MAC address, a VLAN and an egress port.
- the processing unit 520 is to determine that the downlink packet is a known unicast packet when identifying an egress port corresponding to the downlink packet according to the destination MAC address of the downlink packet and the tag of the first VLAN.
- the receiving unit 510 is to receive an uplink packet sent by the DC server via a first physical port.
- the uplink packet contains the MAC address of the DC server and the tag of the first VLAN.
- the processing unit 520 is to determine that an aggregation port including the first physical port as an egress port corresponding to the MAC address of the DC server and the first VLAN, and store the forwarding entry for indicating a relationship between the aggregation port including the first physical port, the MAC address of the DC server and the first VLAN into the forwarding table.
- a physical port in the aggregation port for transmitting service packets of the DC server is bundled with the first VLAN which may transmit management packets of the DC server. After a management packet is received, the management packet may be transmitted via the physical port bundled with first VLAN. Thus, the management packet may be transmitted via a service network and it is unnecessary to set a physical port for transmitting management packets aside, thereby reducing network construction costs and fully utilizing physical port resources of the IRF system.
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
In an example, a downlink packet is received. The downlink packet contains a tag of a first Virtual Local Area Network (VLAN) for indicating the downlink packet to be transmitted in the first VLAN. If the downlink packet is a known unicast packet whose destination address is a Media Access Control (MAC) address of a Data Center (DC) server, the first VLAN is a management VLAN and an egress port corresponding to the downlink packet is an aggregation port, the downlink packet is transmitted via a physical port bundled with first VLAN in the aggregation port. The management VLAN may be a VLAN used for managing the DC server, and the physical port bundled with the first VLAN is also bundled with a service VLAN.
Description
This application claims the benefit of priority from Chinese Patent Application No. 201510064868.2, entitled “Method and apparatus for managing data center servers” , filed on February 6, 2015, the entire content of which is hereby incorporated by reference.
A Data Center (DC) server may be managed via an Integrated Light-Out (ILO) port which is also called a server out-of-band management port. ILO is also sometimes referred to as “in case of line out” . The ILO port is a separate dedicated physical port, and the DC server sets a physical port aside as the ILO port. Management packets may be transmitted between a network management device and the DC server via the ILO port. A dedicated management network is necessary so that the network management device can manage the DC server via the ILO port. The management network is separated from a service network of the DC server.
Features of the present disclosure are illustrated by way of example and not limited in the following figure (s) , in which like numerals indicate like elements, in which:
FIG. 1 is a flowchart illustrating a packet transmission method according to some examples of the present disclosure.
FIG. 2 is a flowchart illustrating a packet transmission method according to some examples of the present disclosure.
FIG. 3 is a diagram illustrating the structure of a DC network according to some examples of the present disclosure.
FIG. 4 is a diagram illustrating the structure of a packet transmission apparatus according to some examples of the present disclosure.
FIG. 5 is a diagram illustrating the structure of a packet transmission apparatus according to some examples of the present disclosure.
For simplicity and illustrative purposes, the present disclosure is described by referring mainly to an example thereof. In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present disclosure. It will be readily apparent however, that the present disclosure may be practiced without limitation to these specific details. In other instances, some methods and structures have not been described in detail so as not to unnecessarily obscure the present disclosure. Throughout the present disclosure, the terms “a” and “an” are intended to denote at least one of a particular element. As used herein, the term “includes” means includes but not limited to, the term “including” means including but not limited to. The term “based on” means based at least in part on.
In a management packet transmission method, a DC server sets a physical port aside as an ILO port. A network management device transmits management packets via the ILO port, so as to manage the DC server. Accordingly, physical port resources of the DC server are occupied.
In addition, a dedicated management network is necessary so that the network management device can manage the DC server, which causes high network construction costs.
FIG. 1 is a flowchart illustrating a packet transmission method according to some examples of the present disclosure. The method may be applicable to an Intelligent Resilient Framework (IRF) system. In the IRF system, multiple network devices may be connected through physical IRF ports and may be virtualized into a device after necessary configurations are performed.
As shown in FIG. 1, the method includes the following blocks.
At block 110, a downlink packet is received. The downlink packet contains a tag of a first Virtual Local Area Network (VLAN) for indicating the downlink packet to be transmitted in the first VLAN.
At block 120, if the downlink packet is a known unicast packet whose destination address is the Media Access Control (MAC) address of a DC server, the first VLAN is a management VLAN and an egress port corresponding to the downlink packet is an aggregation port, the downlink packet is transmitted via a physical port bundled with the first VLAN in the aggregation port. The management
VLAN may be a VLAN used for managing the DC server, and the physical port bundled with the first VLAN is also bundled with a service VLAN.
In some examples of the present disclosure, the downlink packet is a packet sent by a network management device or a core network to the DC server.
In some examples of the present disclosure, a physical port in the aggregation port for transmitting service packets of the DC server is bundled with the management VLAN. A downlink packet is received. If the downlink packet is a known unicast packet whose destination address is the MAC address of the DC server, the first VLAN is a management VLAN and an egress port corresponding to the downlink packet is an aggregation port, the downlink packet is transmitted via the physical port bundled with the management VLAN in the aggregation port. Thus, the management packets transmitted in the management VLAN may be transmitted via a service network and it is unnecessary to set a physical port for transmitting the management packets aside, thereby reducing network construction costs and fully utilizing physical port resources of the IRF system.
In some examples of the present disclosure, the aggregation port may include multiple physical ports. One or more physical ports may be selected from the multiple physical ports to transmit service packets. By the aggregation port, load balance and flow backup may be implemented. One of the multiple physical ports may be bundled with the management VLAN to transmit management packets.
In some examples of the present disclosure, if the downlink packet is an unknown unicast packet or a broadcast packet and the first VLAN is the management VLAN, the downlink packet is transmitted via all physical ports bundled with the management VLAN except a physical port receiving the downlink packet.
In some examples of the present disclosure, if the downlink packet is a known unicast packet whose destination address is the MAC address of the DC server, the first VLAN is a service VLAN and an egress port corresponding to the downlink packet is an aggregation port, a physical port corresponding to the downlink packet is selected from the multiple physical ports included in the aggregation port according to a load balance algorithm.
The downlink packet is forwarded to the DC server via the physical port corresponding to the downlink packet.
In some examples of the present disclosure, after the downlink packet is received and if the downlink packet is a unicast packet, a forwarding table is searched. A forwarding entry in the forwarding table may indicate a relationship between a MAC address, a VLAN and an egress port.
When the egress port corresponding to the downlink packet is identified according to the destination MAC address of the downlink packet and the tag of the first VLAN, it is determined that the downlink packet is a known unicast packet.
In some examples of the present disclosure, the forwarding table may be configured in advance, or may be obtained by the IRF system through learning packets exchanged with the DC server. For example, an uplink packet sent by the DC server via a first physical port is received. The uplink packet contains the MAC address of the DC server and the tag of the first VLAN. When the forwarding table does not store a forwarding entry for indicating a relationship between an egress port, the MAC address of the DC server and the first VLAN, an aggregation port including the first physical port is determined as an egress port corresponding to the MAC address of the DC server and the first VLAN, and the forwarding entry for indicating a relationship between the aggregation port including the first physical port, the MAC address of the DC server and the first VLAN is stored into the forwarding table.
In some examples of the present disclosure, the uplink packet is a packet sent from the DC server to the IRF system.
Some examples of the present disclosure may be applied to the IRF system. The IRF system consists of top-of-rack (TOR) devices, and the TOR devices may be TOR switches.
FIG. 2 is a flowchart illustrating a packet transmission method according to some examples of the present disclosure. As shown in FIG. 2, the method includes the following blocks.
At block 200, a management VLAN for managing DC servers is allocated in advance. The management VLAN may transmit management packets.
In this example, the tag of the management VLAN is VLAN 401.
At block 201, the management VLAN is bundled with a physical port of a DC server, and bundled with a physical port of an IRF system connected with the physical port of the DC server.
The physical ports bundled with the management VLAN may also be bundled with a service VLAN to transmit service packets.
At block 202, for any IRF system connected with the DC server, the following Access Control List (ACL) rules are configured in the IRF system.
In a first ACL rule, when a condition is met that a known layer 2 unicast downlink management VLAN packet is received and an egress port in a layer 2 MAC forwarding entry corresponding to the known layer 2 unicast downlink management VLAN packet is an aggregation port, an egress port corresponding to the known layer 2 unicast downlink management VLAN packet is set as a physical port bundled with the management VLAN in the aggregation port.
In a second ACL rule, when a condition is met that an unknown layer 2 unicast or broadcast downlink management VLAN packet is received, an egress port corresponding to the unknown layer 2 unicast or broadcast downlink management VLAN packet is set as all local physical ports bundled with the management VLAN except an ingress port corresponding to the unknown layer 2 unicast or broadcast downlink management VLAN packet.
At block 203, the IRF system receives a layer 2 management VLAN packet sent by a network management device, and determines whether the layer 2 management VLAN packet is a unicast packet or a broadcast packet according to the destination MAC address of the layer 2 management VLAN packet. When determining that the layer 2 management VLAN packet is a unicast packet, block 204 is performed. When determining that the layer 2 management VLAN packet is a broadcast packet, block 206 is performed.
At block 204, the IRF system searches a locally generated layer 2 MAC forwarding table for a layer 2 MAC forwarding entry corresponding to the destination MAC address of the unicast packet and the tag of the management VLAN, and determines whether the layer 2 MAC forwarding entry is identified. If the IRF system identifies the layer 2 MAC forwarding entry, block 205 is performed; otherwise, block 206 is performed.
At block 205, the IRF system finds that an egress port in the identified layer 2 MAC forwarding entry is an aggregation port, and forwards the unicast packet via a physical port bundled with the management VLAN in the aggregation port according to the first ACL rule. And thus, this flowchart ends.
At block 206, the IRF system forwards the broadcast packet via all local physical ports bundled with the management VLAN except an ingress port corresponding to the broadcast packet according to the second ACL rule.
When the IRF system broadcasts the layer 2 management VLAN packet, if an egress port is a single physical port which is not an aggregation port, the IRF system forwards the layer 2 management VLAN packet via the physical port. If an egress port is an aggregation port, the IRF system forwards the layer 2 management VLAN packet via the physical ports bundled with the management VLAN in the aggregation port.
According to the above examples, the management VLAN for managing DC servers is allocated, and the first ACL rule is configured in the IRF system. In the first ACL rule, when a condition is met that a known layer 2 unicast downlink management VLAN packet is received and an egress port in a layer 2 MAC forwarding entry corresponding to the known layer 2 unicast downlink management VLAN packet is an aggregation port, an egress port corresponding to the known layer 2 unicast downlink management VLAN packet is set as a physical port bundled with the management VLAN in the aggregation port.
Because one physical port may support multiple VLANs, a physical port of the DC server may be bundled with the service VLAN after bundled with the management VLAN. Accordingly, both management packets and service packets may be transmitted via the physical port. Therefore, it is unnecessary for the DC server to set a physical port for transmitting management packets aside, thereby fully utilizing physical port resources of the DC server .
In addition, management packets may be successfully transmitted in a service network. Accordingly, it is unnecessary to establish a dedicated management network separated from the service network, thereby saving network establishment costs.
An example will be described hereinafter.
As shown in FIG. 3, an IRF system includes a TOR switch 1 and a TOR switch 2, and a DC server 1 and a DC server 2 are connected with the IRF system.
The physical port P11 of the DC server 1 is connected with the physical port G1/0/1 of the TOR switch 1.
The physical port P12 of the DC server 1 is connected with the physical
port G2/0/1 of the TOR switch 2.
The physical port P21 of the DC server 2 is connected with the physical port G1/0/2 of the TOR switch 1.
The physical port P22 of the DC server 2 is connected with the physical port G2/0/2 of the TOR switch 2.
In the IRF system, the physical port G1/0/1 of the TOR switch 1 and the physical port G2/0/1 of the TOR switch 2 are bundled as an aggregation port G1 according to Link Aggregation Control Protocol (LACP) , and the physical port G1/0/2 of the TOR switch 1 and the physical port G2/0/2 of the TOR switch 2 are bundled as an aggregation port G2 according to the LACP.
The following processing is performed in advance.
The physical port P11 of the DC server 1 is bundled with a management VLAN 401, and the physical port P21 of the DC server 2 is bundled with the management VLAN 401.
On the TOR switch 1, the physical port G1/0/1 connected with the physical port P11 is bundled with the management VLAN 401, and the physical port G1/0/2 connected with the physical port P21 is bundled with the management VLAN 401.
Following ACL rules are configured in the TOR switch 1 and the TOR switch 2 in the IRF system.
In a first ACL rule, when a condition is met that a known layer 2 unicast downlink VLAN 401 packet is received and an egress port in a layer 2 MAC forwarding entry corresponding to the known layer 2 unicast downlink VLAN 401 packet is an aggregation port, an egress port corresponding to the known layer 2 unicast downlink VLAN 401 packet is set as a physical port bundled with the management VLAN 401 in the aggregation port.
In a second ACL rule, when a condition is met that an unknown layer 2 unicast or broadcast downlink VLAN 401 packet is received, an egress port corresponding to the unknown layer 2 unicast or broadcast downlink VLAN 401 packet is set as all local physical ports bundled with the management VLAN 401 except an ingress port corresponding to the unknown layer 2 unicast or broadcast downlink VLAN 401 packet.
A process of the TOR switch learning the layer 2 MAC forwarding entry
is implemented as follows.
The TOR switch 1 receives a layer 2 management VLAN 401 packet from the DC server 1 via the physical port G1/0/1, and searches a local layer 2 MAC forwarding table for a layer 2 MAC forwarding entry corresponding to the source MAC address of the layer 2 management VLAN 401 packet and the VLAN 401. If the TOR switch 1 does not identify the layer 2 MAC forwarding entry, the TOR switch 1 learns the layer 2 MAC forwarding entry.
The layer 2 MAC forwarding entry includes a VLAN tag, i.e., VLAN 401, a MAC address, i.e., the source MAC address of the layer 2 management VLAN 401 packet (i.e., the MAC address of the DC server 1) , and an egress port, i.e., the aggregation port G1 (i.e., the aggregation port to which the ingress port G1/0/1 of the layer 2 management VLAN 401 packet belongs) .
The TOR switch 1 receives a layer 2 management VLAN 401 packet from the DC server 2 via the physical port G1/0/2, and searches the local layer 2 MAC forwarding table for a layer 2 MAC forwarding entry corresponding to the source MAC address of the layer 2 management VLAN 401 packet and the VLAN 401. If the TOR switch 1 does not identify the layer 2 MAC forwarding entry, the TOR switch 1 learns the layer 2 MAC forwarding entry.
The layer 2 MAC forwarding entry includes a VLAN tag, i.e., VLAN 401, a MAC address, i.e., the source MAC address of the layer 2 management VLAN 401 packet (i.e., the MAC address of the DC server 2) , and an egress port, i.e., the aggregation port G2 (i.e., the aggregation port to which the ingress port G1/0/2 of the layer 2 management VLAN 401 packet belongs) .
According to characteristics of the IRF system, each device in the IRF system, such as the TOR switches 1 and 2 in this example, may synchronize its layer 2 MAC forwarding entry to other devices in the IRF system.
A process of a TOR switch forwarding a layer 2 management packet is implemented as follows.
The TOR switch 1 receives a layer 2 unicast management packet sent from a network management device to the DC server 1. A VLAN tag in the layer 2 unicast management packet is the VLAN 401, and the destination address of the layer 2 unicast management packet is the address of the DC server 1. The TOR switch 1 locally identifies a layer 2 MAC forwarding entry. An egress port in the
layer 2 MAC forwarding entry is the aggregation port G1. The TOR switch 1 finds that the layer 2 unicast management packet meets the condition in the first ACL rule, and thus forwards the layer 2 unicast management packet via the physical port G1/0/1 bundled with the VLAN 401 in the aggregation port G1 according to the first ACL rule. The layer 2 unicast management packet may arrive at the physical port P11 of the DC server 1.
The TOR switch 1 receives a layer 2 unicast management packet sent from the network management device to the DC server 2. A VLAN tag in the layer 2 unicast management packet is the VLAN 401, and the destination address of the layer 2 unicast management packet is the address of the DC server 2. The TOR switch 1 locally identifies a layer 2 MAC forwarding entry. An egress port in the layer 2 MAC forwarding entry is the aggregation port G2. The TOR switch 1 finds that the layer 2 unicast management packet meets the condition in the first ACL rule, and thus forwards the layer 2 unicast management packet via the physical port G1/0/2 bundled with the VLAN 401 in the aggregation port G2 according to the first ACL rule. The layer 2 unicast management packet may arrive at the physical port P21 of the DC server 2.
The TOR switch 1 receives a layer 2 broadcast management packet from the network management device. A VLAN tag in the layer 2 broadcast management packet is the VLAN 401, and the destination address of the layer 2 broadcast management packet is a broadcast address. The TOR switch 1 finds that the layer 2 broadcast management packet meets the condition in the second ACL rule, and thus forwards the layer 2 broadcast management packet via the physical port G1/0/1 bundled with the VLAN 401 in the aggregation port G1 and the physical port G1/0/2 bundled with the VLAN 401 in the aggregation port G2 according to the second ACL rule. The layer 2 broadcast management packet may arrive at the physical port P11 of the DC server 1 and the physical port P21 of the DC server 2.
A process of a TOR switch forwarding a layer 2 service packet is implemented as follows.
The TOR switch 1 receives a layer 2 service packet from a core network, and locally identifies a layer 2 MAC forwarding entry according to a VLAN tag in the layer 2 service packet and the destination MAC address of the layer 2 service packet. The TOR switch 1 finds that an egress port in the layer 2 MAC forwarding
entry is an aggregation port, distributes the layer 2 service packet to a physical port of the aggregation port according to a predefined load balance algorithm and forwards the layer 2 service packet via the physical port.
For example, if the egress port in the layer 2 MAC forwarding entry is the aggregation port G1, a Hash calculation is performed for five-tuple information of the layer 2 service packet according to a predefined Hash algorithm, and maps a calculation result to a physical port of the aggregation port G1, e.g. G1/0/1 or G2/0/1, and then forwards the layer 2 service packet via the physical port. If the calculation result is mapped to the physical port G2/0/1, the TOR switch 1 forwards the layer 2 service packet and the physical port G2/0/1 to the TOR switch 2, and the TOR switch 2 forwards the layer 2 service packet via the physical port G2/0/1.
The process of the TOR switch 2 forwarding the layer 2 service packet is similar to the process of the TOR switch 1 forwarding the layer 2 service packet.
According to the above examples, the layer 2 management packets may be forwarded via a fixed physical port in the IRF system, and the layer 2 service packets may be forwarded via the physical ports in the IRF system according to the load balance algorithm.
FIG. 4 is a diagram illustrating the structure of a packet transmission apparatus according to some examples of the present disclosure. The apparatus may be a TOR switch. The apparatus includes a non-transitory machine-readable storage medium 410 and a processor 420. The non-transitory machine-readable storage medium 410 may store machine-readable instructions that can be executed by the processor 420. The processor 420 may read the machine-readable instructions stored in the non-transitory machine-readable storage medium 410 to perform a process of:
receiving a downlink packet, wherein the downlink packet contains a tag of a first VLAN for indicating the downlink packet to be transmitted in the first VLAN; and
if the downlink packet is a known unicast packet whose destination address is the MAC address of a DC server, the first VLAN is a management VLAN and an egress port corresponding to the downlink packet is an aggregation port, transmitting the downlink packet via a physical port bundled with management VLAN in the aggregation port. The management VLAN may be a VLAN used for managing the DC server, and the physical port bundled with the first VLAN is also
bundled with a service VLAN.
In some examples of the present disclosure, the processor 420 may read the machine-readable instructions stored in the non-transitory machine-readable storage 410 to further perform a process of:
if the downlink packet is an unknown unicast packet or a broadcast packet and the first VLAN is the management VLAN, transmitting the downlink packet via all physical ports bundled with the management VLAN except a physical port receiving the downlink packet.
In some examples of the present disclosure, the processor 420 may read the machine-readable instructions stored in the non-transitory machine-readable storage medium 410 to further perform a process of:
if the downlink packet is a known unicast packet whose destination address is the MAC address of the DC server, the first VLAN is a service VLAN and an egress port corresponding to the downlink packet is an aggregation port, selecting a physical port corresponding to the downlink packet from the multiple physical ports included in the aggregation port according to a load balance algorithm; and
forwarding the downlink packet to the DC server via the physical port corresponding to the downlink packet.
In some examples of the present disclosure, the processor 420 may read the machine-readable instructions stored in the non-transitory machine-readable storage medium 410 to further perform a process of:
after the downlink packet is received and if the downlink packet is a unicast packet, searching a forwarding table, wherein a forwarding entry in the forwarding table may indicate a relationship between a MAC address, a VLAN and an egress port; and
when the egress port corresponding to the downlink packet is identified according to the destination MAC address of the downlink packet and the tag of the first VLAN, determining that the downlink packet is a known unicast packet.
In some examples of the present disclosure, the processor 420 may read the machine-readable instructions stored in the non-transitory machine-readable storage medium 410 to further perform a process of:
receiving an uplink packet sent by the DC server via a first physical port, wherein the uplink packet contains the MAC address of the DC server and the tag of
the first VLAN; and
when the forwarding table does not store a forwarding entry for indicating a relationship between an egress port, the MAC address of the DC server and the first VLAN, determining that an aggregation port including the first physical port as an egress port corresponding to the MAC address of the DC server and the first VLAN, and storing the forwarding entry for indicating a relationship between the aggregation port including the first physical port, the MAC address of the DC server and the first VLAN into the forwarding table.
A non-transitory machine-readable storage medium is provided according to some examples of the present disclosure. The non-transitory machine-readable storage medium may store machine-readable instructions, and a processor may read the machine-readable instructions stored in the non-transitory machine-readable storage medium to perform a process of:
receiving a downlink packet, wherein the downlink packet contains a tag of a first VLAN for indicating the downlink packet to be transmitted in the first VLAN; and
if the downlink packet is a known unicast packet whose destination address is the MAC address of a DC server, the first VLAN is a management VLAN and an egress port corresponding to the downlink packet is an aggregation port, transmitting the downlink packet via a physical port bundled with the management VLAN in the aggregation port. The management VLAN may be a VLAN used for managing the DC server, and the physical port bundled with the first VLAN is also bundled with a service VLAN.
In some examples of the present disclosure, the processor may read the machine-readable instructions stored in the non-transitory machine-readable storage medium to further perform a process of:
if the downlink packet is an unknown unicast packet or a broadcast packet and the first VLAN is the management VLAN, transmitting the downlink packet via all physical ports bundled with the management VLAN except a physical port receiving the downlink packet.
In some examples of the present disclosure, the processor may read the machine-readable instructions stored in the non-transitory machine-readable storage medium to further perform a process of:
if the downlink packet is a known unicast packet whose destination address is the MAC address of the DC server, the first VLAN is a service VLAN and an egress port corresponding to the downlink packet is an aggregation port, selecting a physical port corresponding to the downlink packet from the multiple physical ports included in the aggregation port according to a load balance algorithm; and
forwarding the downlink packet to the DC server via the physical port corresponding to the downlink packet.
In some examples of the present disclosure, the processor may read the machine-readable instructions stored in the non-transitory machine-readable storage medium to further perform a process of:
after the downlink packet is received and if the downlink packet is a unicast packet, searching a forwarding table, wherein a forwarding entry in the forwarding table may indicate a relationship between a MAC address, a VLAN and an egress port; and
when an egress port corresponding to the downlink packet is identified according to the destination MAC address of the downlink packet and the tag of the first VLAN, determining that the downlink packet is a known unicast packet.
In some examples of the present disclosure, the processor may read the machine-readable instructions stored in the non-transitory machine-readable storage medium to further perform a process of:
receiving an uplink packet sent by the DC server via a first physical port, wherein the uplink packet contains the MAC address of the DC server and the tag of the first VLAN; and
when the forwarding table does not store a forwarding entry for indicating a relationship between an egress port, the MAC address of the DC server and the first VLAN, determining that an aggregation port including the first physical port as an egress port corresponding to the MAC address of the DC server and the first VLAN, and storing the forwarding entry for indicating a relationship between the aggregation port including the first physical port, the MAC address of the DC server and the first VLAN into the forwarding table.
The machine-readable storage medium for storing the machine-readable instructions may be any electric, magnetic or optical storage medium or other physical storage medium. The non-transitory storage medium may include or store
information, e.g. executable instructions and data. For example, the non-transitory storage medium may be a Radom Access Memory (RAM) , a transitory storage medium, a non-transitory storage medium, a Flash card, a storage driver (e.g. a disk driver) , a solid-state disk, a storage disk of any type (e.g. an optical disk and a DVD) , or a similar storage medium, or any combination of the above.
The machine-readable storage medium described above may be non-transitory.
FIG. 5 is a diagram illustrating the structure of a packet transmission apparatus according to some examples of the present disclosure. The apparatus may be a TOR switch. The apparatus includes a receiving unit 510, a processing unit 520 and a transmitting unit 530.
The receiving unit 510 is to receive a downlink packet. The downlink packet contains a tag of a first VLAN for indicating the downlink packet to be transmitted in the first VLAN.
The processing unit 520 is to determine whether the downlink packet is a known unicast packet whose destination address is the MAC address of a DC server, whether the first VLAN is a management VLAN, and whether an egress port corresponding to the downlink packet is an aggregation port.
If the downlink packet is a known unicast packet whose destination address is the MAC address of a DC server, the first VLAN is a management VLAN and an egress port corresponding to the downlink packet is an aggregation port, the transmitting unit 530 is to transmit the downlink packet via a physical port bundled with the management VLAN in the aggregation port. The management VLAN may be a VLAN used for managing the DC server, and the physical port bundled with the first VLAN is also bundled with a service VLAN.
In some examples of the present disclosure, if the downlink packet is an unknown unicast packet or a broadcast packet and the first VLAN is the management VLAN, the transmitting unit 530 is to transmit the downlink packet via all physical ports bundled with the management VLAN except a physical port receiving the downlink packet.
In some examples of the present disclosure, if the downlink packet is a known unicast packet whose destination address is the MAC address of the DC server, the first VLAN is a service VLAN and an egress port corresponding to the
downlink packet is an aggregation port, the processing unit 520 is to select a physical port corresponding to the downlink packet from the multiple physical ports included in the aggregation port according to a load balance algorithm. The transmitting unit 530 is to forward the downlink packet to the DC server via the physical port corresponding to the downlink packet.
In some examples of the present disclosure, after the receiving unit 510 receives the downlink packet and if the downlink packet is a unicast packet, the processing unit 520 is to search a forwarding table. A forwarding entry in the forwarding table may indicate a relationship between a MAC address, a VLAN and an egress port. The processing unit 520 is to determine that the downlink packet is a known unicast packet when identifying an egress port corresponding to the downlink packet according to the destination MAC address of the downlink packet and the tag of the first VLAN.
In some examples of the present disclosure, the receiving unit 510 is to receive an uplink packet sent by the DC server via a first physical port. The uplink packet contains the MAC address of the DC server and the tag of the first VLAN. When the forwarding table does not store a forwarding entry for indicating a relationship between an egress port, the MAC address of the DC server and the first VLAN, the processing unit 520 is to determine that an aggregation port including the first physical port as an egress port corresponding to the MAC address of the DC server and the first VLAN, and store the forwarding entry for indicating a relationship between the aggregation port including the first physical port, the MAC address of the DC server and the first VLAN into the forwarding table.
In an examples of the present disclosure, a physical port in the aggregation port for transmitting service packets of the DC server is bundled with the first VLAN which may transmit management packets of the DC server. After a management packet is received, the management packet may be transmitted via the physical port bundled with first VLAN. Thus, the management packet may be transmitted via a service network and it is unnecessary to set a physical port for transmitting management packets aside, thereby reducing network construction costs and fully utilizing physical port resources of the IRF system.
Although described specifically throughout the entirety of the instant disclosure, representative examples of the present disclosure have utility over a wide
range of applications, and the above discussion is not intended and should not be construed to be limiting, but is offered as an illustrative discussion of aspects of the disclosure.
What has been described and illustrated herein is an example along with some of its variations. The terms, descriptions and figures used herein are set forth by way of illustration only and are not meant as limitations. Many variations are possible within the spirit and scope of the subject matter, which is intended to be defined by the following claims --and their equivalents --in which all terms are meant in their broadest reasonable sense unless otherwise indicated.
Claims (15)
- A packet transmission method, comprising:receiving a downlink packet, the downlink packet containing a tag of a first Virtual Local Area Network (VLAN) for indicating the downlink packet to be transmitted in the first VLAN; andif the downlink packet is a known unicast packet whose destination address is a Media Access Control (MAC) address of a Data Center (DC) server, the first VLAN is a management VLAN and an egress port corresponding to the downlink packet is an aggregation port, transmitting the downlink packet via a physical port bundled with the first VLAN in the aggregation port,wherein the management VLAN is a VLAN used for managing the DC server, and the physical port bundled with the first VLAN is bundled with a service VLAN.
- The method of claim 1, further comprising:if the downlink packet is an unknown unicast packet or a broadcast packet and the first VLAN is the management VLAN, transmitting the downlink packet via all physical ports bundled with the management VLAN except a physical port receiving the downlink packet.
- The method of claim 1, further comprising:if the downlink packet is a known unicast packet whose destination address is the MAC address of the DC server, the first VLAN is a service VLAN and the egress port corresponding to the downlink packet is the aggregation port, selecting a physical port corresponding to the downlink packet from multiple physical ports included in the aggregation port according to a load balance algorithm; andforwarding the downlink packet to the DC server via the physical port corresponding to the downlink packet.
- The method of claim 1, further comprising:after the downlink packet is received and if the downlink packet is a unicast packet, searching a forwarding table, wherein a forwarding entry in the forwarding table indicates a relationship between a MAC address, a VLAN and an egress port; andwhen the egress port corresponding to the downlink packet is identified according to the destination MAC address of the downlink packet and the tag of the first VLAN, determining that the downlink packet is a known unicast packet.
- The method of claim 4, further comprising:receiving an uplink packet sent by the DC server via a first physical port, wherein the uplink packet contains the MAC address of the DC server and the tag of the first VLAN; andwhen the forwarding table does not store a forwarding entry for indicating a relationship between an egress port, the MAC address of the DC server and the first VLAN, determining that an aggregation port including the first physical port as the egress port corresponding to the MAC address of the DC server and the first VLAN, and storing the forwarding entry for indicating a relationship between the aggregation port including the first physical port, the MAC address of the DC server and the first VLAN into the forwarding table.
- A packet transmission apparatus, comprising a non-transitory storage medium and a processor,the non-transitory storage medium storing machine-readable instructions to be executed by the processor; andthe processor is to read the machine-readable instructions stored in the non-transitory storage medium to perform a process of:receiving a downlink packet, the downlink packet containing a tag of a first Virtual Local Area Network (VLAN) for indicating the downlink packet to be transmitted in the first VLAN; andif the downlink packet is a known unicast packet whose destination address is a Media Access Control (MAC) address of a Data Center (DC) server, the first VLAN is a management VLAN and an egress port corresponding to the downlink packet is an aggregation port, transmitting the downlink packet via a physical port bundled with the first VLAN in the aggregation port,wherein the management VLAN is a VLAN used for managing the DC server, and the physical port bundled with the first VLAN is bundled with a service VLAN.
- The apparatus of claim 6, wherein the processor is to read the machine-readable instructions stored in the non-transitory storage medium to further perform a process of:if the downlink packet is an unknown unicast packet or a broadcast packet and the first VLAN is the management VLAN, transmitting the downlink packet via all physical ports bundled with the management VLAN except a physical port receiving the downlink packet.
- The apparatus of claim 6, wherein the processor is to read the machine-readable instructions stored in the non-transitory storage medium to further perform a process of:if the downlink packet is a known unicast packet whose destination address is the MAC address of the DC server, the first VLAN is a service VLAN and the egress port corresponding to the downlink packet is the aggregation port, selecting a physical port corresponding to the downlink packet from multiple physical ports included in the aggregation port according to a load balance algorithm; andforwarding the downlink packet to the DC server via the physical port corresponding to the downlink packet.
- The apparatus of claim 6, wherein the processor is to read the machine-readable instructions stored in the non-transitory storage medium to further perform a process of:after the downlink packet is received and if the downlink packet is a unicast packet, searching a forwarding table, wherein a forwarding entry in the forwarding table indicates a relationship between a MAC address, a VLAN and an egress port; andwhen the egress port corresponding to the downlink packet is identified according to the destination MAC address of the downlink packet and the tag of the first VLAN, determining that the downlink packet is a known unicast packet.
- The apparatus of claim 9, wherein the processor is to read the machine-readable instructions stored in the non-transitory storage medium to further perform a process of:receiving an uplink packet sent by the DC server via a first physical port, wherein the uplink packet contains the MAC address of the DC server and the tag of the first VLAN; andwhen the forwarding table does not store a forwarding entry for indicating a relationship between an egress port, the MAC address of the DC server and the first VLAN, determining that an aggregation port including the first physical port as the egress port corresponding to the MAC address of the DC server and the first VLAN, and storing the forwarding entry for indicating a relationship between the aggregation port including the first physical port, the MAC address of the DC server and the first VLAN into the forwarding table.
- A non-transitory storage medium, to store machine-readable instructions that can be executed by a processor, wherein the machine-readable instructions are executed by the processor to perform a process of:receiving a downlink packet, the downlink packet containing a tag of a first Virtual Local Area Network (VLAN) for indicating the downlink packet to be transmitted in the first VLAN; andif the downlink packet is a known unicast packet whose destination address is a Media Access Control (MAC) address of a Data Center (DC) server, the first VLAN is a management VLAN and an egress port corresponding to the downlink packet is an aggregation port, transmitting the downlink packet via a physical port bundled with the first VLAN in the aggregation port,wherein the management VLAN is a VLAN used for managing the DC server, and the physical port bundled with the first VLAN is bundled with a service VLAN.
- The non-transitory storage medium of claim 11, wherein the machine-readable instructions are executed by the processor to further perform a process of:if the downlink packet is an unknown unicast packet or a broadcast packet and the first VLAN is the management VLAN, transmitting the downlink packet via all physical ports bundled with the management VLAN except a physical port receiving the downlink packet.
- The non-transitory storage medium of claim 11, wherein the machine-readable instructions are executed by the processor to further perform a process of:if the downlink packet is a known unicast packet whose destination address is the MAC address of the DC server, the first VLAN is a service VLAN and the egress port corresponding to the downlink packet is the aggregation port, selecting a physical port corresponding to the downlink packet from multiple physical ports included in the aggregation port according to a load balance algorithm; andforwarding the downlink packet to the DC server via the physical port corresponding to the downlink packet.
- The non-transitory storage medium of claim 11, wherein the machine-readable instructions are executed by the processor to further perform a process of:after the downlink packet is received and if the downlink packet is a unicast packet, searching a forwarding table, wherein a forwarding entry in the forwarding table indicates a relationship between a MAC address, a VLAN and an egress port; andwhen the egress port corresponding to the downlink packet is identified according to the destination MAC address of the downlink packet and the tag of the first VLAN, determining that the downlink packet is a known unicast packet.
- The non-transitory storage medium of claim 14, wherein the machine-readable instructions are executed by the processor to further perform a process of:receiving an uplink packet sent by the DC server via a first physical port, wherein the uplink packet contains the MAC address of the DC server and the tag of the first VLAN; andwhen the forwarding table does not store a forwarding entry for indicating a relationship between an egress port, the MAC address of the DC server and the first VLAN, determining that an aggregation port including the first physical port as the egress port corresponding to the MAC address of the DC server and the first VLAN, and storing the forwarding entry for indicating a relationship between the aggregation port including the first physical port, the MAC address of the DC server and the first VLAN into the forwarding table.
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510064868.2A CN105991439B (en) | 2015-02-06 | 2015-02-06 | Manage the method and device of data center server |
| CN201510064868.2 | 2015-02-06 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2016124156A1 true WO2016124156A1 (en) | 2016-08-11 |
Family
ID=56563481
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2016/073611 Ceased WO2016124156A1 (en) | 2015-02-06 | 2016-02-05 | Packet transmission |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN105991439B (en) |
| WO (1) | WO2016124156A1 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107547243A (en) * | 2017-05-24 | 2018-01-05 | 新华三技术有限公司 | A kind of message forwarding method and device |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106789531B (en) * | 2016-12-20 | 2020-02-21 | 深圳市菲菱科思通信技术股份有限公司 | VLAN (virtual local area network) allocation method and device based on dynamic MAC (media access control) |
| CN112637234B (en) * | 2020-12-30 | 2023-03-21 | 锐捷网络股份有限公司 | Security rule updating method and device based on port change |
| CN114745255B (en) * | 2022-04-12 | 2023-11-10 | 深圳星云智联科技有限公司 | Hardware chip, DPU, server, communication method and related device |
| CN115865561B (en) * | 2022-11-17 | 2025-11-04 | 北京物芯科技有限责任公司 | Message forwarding methods, systems, switches, electronic devices, and readable storage media |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101764752A (en) * | 2009-12-25 | 2010-06-30 | 杭州华三通信技术有限公司 | Method and system for managing remote concentrated image |
| US20120287785A1 (en) * | 2011-05-14 | 2012-11-15 | International Business Machines Corporation | Data traffic handling in a distributed fabric protocol (dfp) switching network architecture |
| CN103166874A (en) * | 2013-03-25 | 2013-06-19 | 杭州华三通信技术有限公司 | A message forwarding method and device |
| CN103227757A (en) * | 2012-08-31 | 2013-07-31 | 杭州华三通信技术有限公司 | Message forwarding method and equipment |
Family Cites Families (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2002021312A2 (en) * | 2000-09-05 | 2002-03-14 | Vocaltec Communications Ltd. | System and method for facilitating coordinated browsing of data objects |
| US9021116B2 (en) * | 2010-08-10 | 2015-04-28 | Dell Products, Lp | System and method to create virtual links for end-to-end virtualization |
| US8891375B2 (en) * | 2012-08-02 | 2014-11-18 | Cisco Technology, Inc. | System and method for virtual Ethernet interface binding |
| US9374241B2 (en) * | 2013-03-14 | 2016-06-21 | International Business Machines Corporation | Tagging virtual overlay packets in a virtual networking system |
| CN104104570B (en) * | 2013-04-07 | 2018-09-04 | 新华三技术有限公司 | Aggregation processing method in IRF systems and device |
| CN104283811B (en) * | 2013-07-09 | 2017-10-03 | 新华三技术有限公司 | Message forwarding method and device |
| CN103338161B (en) * | 2013-07-10 | 2016-06-15 | 杭州华三通信技术有限公司 | A kind of method and apparatus realizing cross-equipment aggregation |
-
2015
- 2015-02-06 CN CN201510064868.2A patent/CN105991439B/en active Active
-
2016
- 2016-02-05 WO PCT/CN2016/073611 patent/WO2016124156A1/en not_active Ceased
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101764752A (en) * | 2009-12-25 | 2010-06-30 | 杭州华三通信技术有限公司 | Method and system for managing remote concentrated image |
| US20120287785A1 (en) * | 2011-05-14 | 2012-11-15 | International Business Machines Corporation | Data traffic handling in a distributed fabric protocol (dfp) switching network architecture |
| CN103227757A (en) * | 2012-08-31 | 2013-07-31 | 杭州华三通信技术有限公司 | Message forwarding method and equipment |
| CN103166874A (en) * | 2013-03-25 | 2013-06-19 | 杭州华三通信技术有限公司 | A message forwarding method and device |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107547243A (en) * | 2017-05-24 | 2018-01-05 | 新华三技术有限公司 | A kind of message forwarding method and device |
| CN107547243B (en) * | 2017-05-24 | 2021-04-02 | 新华三技术有限公司 | Message forwarding method and device |
Also Published As
| Publication number | Publication date |
|---|---|
| CN105991439B (en) | 2019-05-10 |
| CN105991439A (en) | 2016-10-05 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11102059B2 (en) | Virtual network health checker | |
| US9374294B1 (en) | On-demand learning in overlay networks | |
| US10581635B2 (en) | Managing routing information for tunnel endpoints in overlay networks | |
| US10567344B2 (en) | Automatic firewall configuration based on aggregated cloud managed information | |
| US20140036924A1 (en) | Multi-chassis link aggregation in a distributed virtual bridge | |
| US20110264610A1 (en) | Address Data Learning and Registration Within a Distributed Virtual Bridge | |
| US20140133486A1 (en) | Systems and methods for forming and using a group of link aggregation groups to reduce traffic on interconnect links | |
| WO2016177321A1 (en) | Packet forwarding | |
| US9602393B2 (en) | Unregistered multicast packet forwarding to multicast router ports | |
| EP3292666B1 (en) | Multicast data packet forwarding | |
| EP2979402A1 (en) | Forwarding packets | |
| EP3292664B1 (en) | Multicast data packet forwarding | |
| US10715352B2 (en) | Reducing data transmissions in a virtual private network | |
| US11177979B2 (en) | Synchronizing route | |
| US20240406101A1 (en) | Virtual router function sharding for scalable multi-tenant routing | |
| WO2015127643A1 (en) | Method and communication node for learning mac address in a layer-2 communication network | |
| US20150117202A1 (en) | Openflow data channel and control channel separation | |
| US10313275B2 (en) | Packet forwarding | |
| US20170257313A1 (en) | Methods, Routing Device and Further Routing Device for Managing Data Frames In Switched Networks | |
| CN105991439B (en) | Manage the method and device of data center server | |
| US10313274B2 (en) | Packet forwarding | |
| US20160366056A1 (en) | Data center networking | |
| EP3198808B1 (en) | Local packet switching at a satellite device | |
| US20150249550A1 (en) | Method and Apparatus for Sending Transparent Interconnection of Lots of Links Data Frame | |
| US20170070473A1 (en) | A switching fabric including a virtual switch |
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: 16746151 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 16746151 Country of ref document: EP Kind code of ref document: A1 |