Abstract:
Embodiments of this application disclose a packet processing method, apparatus, and device, and a packet forwarding method, apparatus, and device, to improve packet forwarding efficiency, save storage space of a network device, and expand a network scale. The packet processing method in the embodiments of this application includes: obtaining a packet including a destination address; obtaining outbound interface information of a network device on a forwarding path based on the destination address of the packet, where the forwarding path is a path for forwarding the packet from a source device to a destination device corresponding to the destination address; and encapsulating a packet header for the packet, where the packet header includes the outbound interface information of the network device that forwards the packet on the forwarding path.
Abstract:
This application discloses a method for forwarding a packet in a data center network. A first device obtains an original packet, and adds a first source label to the original packet to obtain a first packet. The first source label includes a forwarding type, an indication field, and an interface sequence. The forwarding type indicates that the first packet supports source label forwarding, the interface sequence indicates a first source label forwarding path of the original packet, and the indication field indicates information that is about an outbound interface and that should be read from the interface sequence. The first device sends the first packet to a next-hop switch through the outbound interface corresponding to the first source label forwarding path. The next-hop switch receives the first packet, and forwards the first packet based on the first source label.
Abstract:
Embodiments of the present invention provide a method for creating network devices, where the method includes: creating multiple virtual hardware systems of control planes on a hardware system of a control plane of a physical network device; creating multiple virtual hardware systems of forwarding planes on a hardware system of a forwarding plane of the physical network device; loading multiple software systems of the control planes to the multiple virtual hardware systems of the control planes, respectively; loading multiple software systems of the forwarding planes to the multiple virtual hardware systems of the forwarding planes, respectively; creating multiple communication channels. In addition, a corresponding apparatus also provided. By using the technical solutions provided by the embodiments of the present invention, multiple virtual network devices can run software systems in different versions.
Abstract:
This application discloses a flow entry generating method and apparatus. The method includes: receiving a service path establishment request, where the service path establishment request includes a constraint, a source device, and a target device; finding, in a data transmission network according to a cross-layer information model, a service path that meets the constraint and is from the source device to the target device, where the cross-layer information model is a model that describes, at a same layer, an overall topology relationship between an IP layer and an optical layer; and generating a respective corresponding flow entry for each forwarding device in the service path, and sending the flow entry to a corresponding forwarding device. This application can greatly reduce time complexity of computing the service path, and improve efficiency of computing the service path, thereby improving efficiency of generating a flow entry.
Abstract:
Embodiments of the present application disclose a message processing method, apparatus, and system, which are applied to SDN. An application sends a first message to a controller, and the message includes service content used to describe a service requirement. The service content includes target information and operation information. The application receives a second message sent by the controller. A payload of the second message includes solution information of at least one solution used to implement the service content. The application obtains the solution information of the at least one solution based on the payload of the second message. Therefore, a service requirement is converted into a control requirement between an application plane and a control plane.
Abstract:
A method of interface registration for a network device to join in a cluster system, comprises: when the network device joins in the cluster system, the network device's local interconnection board sends its board number to the network device's local main control board, the network device's local non-interconnection board receives the board number sent by the local main control board, wherein the local interconnection board is a board on which interfaces for interconnecting the network device to network devices in the cluster system are located; after the cluster interface registration of the local non-interconnection board and local interconnection board on the cluster main control board, the local non-interconnection board and the local interconnection board receive and store a mapping relationship between local interface information of the network device and global interface information of the network device sent by the cluster main control board respectively.
Abstract:
This application relates to the field of communications technologies, and discloses a network parameter (for example, an ECN threshold) configuration method and an apparatus, to dynamically configure a network parameter based on a change of a network transmission characteristic, so that the network parameter is dynamically adapted to a change of network traffic, thereby ensuring network transmission performance. The method includes: obtaining network statistical data corresponding to a first period, where the network statistical data includes a network transmission characteristic of a network device in the first period and a first value corresponding to a specified network parameter; determining, based on the network statistical data, a second value corresponding to the specified network parameter; and configuring the specified network parameter of the network device in a second period to the second value, where the second period is a period after the first period.
Abstract:
A method of inter-board communication in a router cluster, a router, and a router cluster are provided. The method comprises: the main router configuring and enabling an IP address of the interconnection interface of the main router, and acquiring IP address(es) of other router(s) in the router cluster; other router(s) except the main router configuring and enabling IP address(es) of interconnection interface(s) of other router(s) except the main router respectively, and acquiring the IP address of the main router; the main router establishing communication connections with other router(s) in the router cluster, and enabling the function of communication agent; the main router and the other router(s) in the router cluster transmitting internal control messages of the router cluster through their respective communication agent modules.
Abstract:
Embodiments of the present invention provide a method, an apparatus, and a system for flow measurement, which are used to reduce management bandwidth of a controller over a forwarding device. The method includes: receiving a data flow sent by a forwarding device, and knowing the type of the data flow by parsing the data flow; if the type of the data flow is a preset type in a measurement flow type set, obtaining a feature identifier carried in the data flow and packet header information of the data flow, and obtain operation information corresponding to the data flow, and adding a measurement operation for the feature identifier to the operation information, where the operation information is used to record various operations of the data flow; and sending, to the forwarding device, the packet header information and the operation information added with the measurement operation for the feature identifier.
Abstract:
This application discloses a congestion control method and related apparatus. In the congestion control method, a network device first obtains statistical information of a target egress queue within a first time period, where the target egress queue is any target egress queue in the network device. The network device determines an explicit congestion notification (ECN) threshold for the target egress queue within a second time period based on the statistical information of the target egress queue within the first time period, where the second time period is chronologically subsequent to the first time period. When a queue depth of the target egress queue exceeds the ECN threshold within the second time period, the network device sets an ECN mark for a data packet in the target egress queue.