Abstract:
This application describes a data transmission method, a network node, and a storage medium for communications technologies. In this application, an underlay segment identifier corresponding to an underlay path is designed, and the underlay segment identifier is advertised, so that a node on a segment routing network can sense the underlay path by using the underlay segment identifier. In this way, when a data packet is transmitted, the data packet can be sent based on an underlay segment identifier carried in the data packet and through an underlay path corresponding to the underlay segment identifier. Therefore, an underlay path through which a data packet is to be transmitted may be specified based on a service requirement, so that different data packets can be transmitted through different underlay paths, thereby improving flexibility and facilitating traffic planning.
Abstract:
A method includes: a first network device generates a data link layer-based autonomic control plane (L2 ACP) packet, wherein the first network device is an autonomic device in the autonomic network; encapsulates, based on a frame at a data link layer, the L2 ACP packet, wherein the frame at the data link layer comprises a source data link layer address and a destination data link layer address, and the source data link layer address is a data link layer address of the first network device; and sends, according to the destination data link layer address, the L2 ACP packet encapsulated based on the frame at the data link layer to a second network device, wherein the second network device is also an autonomic device in the autonomic network, and the second network device is a neighboring device of the first network device.
Abstract:
A forwarding table generation method is provided. The method includes: determining, by a forwarding device, a first timeslot set, where the first timeslot set includes multiple timeslots during which the forwarding device sends, to a first device by using a first flexible Ethernet group, multiple encoded data blocks generated by a physical coding sublayer; determining, by the forwarding device, a second timeslot set, where the second timeslot set includes multiple timeslots during which the forwarding device receives, by using a second FlexE group, the multiple encoded data blocks sent by a second device; and generating, by the forwarding device, a forwarding table, where the forwarding table includes a mapping relationship between the second FlexE group and the multiple timeslots included in the second timeslot set, and between the first FlexE group and the multiple timeslots included in the first timeslot set.
Abstract:
This application discloses a method for computing a forwarding path. The method includes: receiving, by a network device, notification packets separately sent by a plurality of forwarding nodes, where each notification packet includes interface forwarding delay information of the forwarding node that sends the notification packet, device forwarding delay information of the forwarding node, and a transmission delay of a link connected to the forwarding node; obtaining the interface forwarding delay information and the device forwarding delay information of each of the plurality of forwarding nodes, and obtaining a transmission delay of a link between the plurality of forwarding nodes; and computing a forwarding path between a first forwarding node and a second forwarding node, where a forwarding delay of the forwarding path meets a delay requirement of a service.
Abstract:
A method for implementing a GRE tunnel, an access point (AP), and a gateway (GW). The method includes: the AP receives a first packet, where the first packet carries an address of the GW; configures a GRE tunnel to the GW, where a source destination of the GRE tunnel is an address of the AP, and a destination address of the GRE tunnel is the address of the GW; the AP receives a second packet sent by user equipment; performs GRE tunnel encapsulation for the second packet to form a third packet; and the AP sends the third packet to the GW by using the GRE tunnel, where the third packet carries the address of the AP. The embodiments of the present application enable efficient establishment of the GRE tunnel between the AP and the GW if there are a large quantity of APs.
Abstract:
A method and a network device for establishing FlexE path includes a first forwarding node receiving a first path establishment request message sent by a first source node, where the first path establishment request message is used to establish a first FlexE path between the first source node and a first destination node, and the first FlexE path is used to transmit a first service flow; the first forwarding node establishing a second FlexE path between the first forwarding node and a second forwarding node based on the first path establishment request message, and deleting an established third FlexE path between the first forwarding node and the second forwarding node after the second FlexE path is established; and the first forwarding node establishing and storing a correspondence between the first FlexE path and the second FlexE path.
Abstract:
A routing table creation method, an electronic device, and a network are provided. The method includes: generating a first probe packet, where the first probe packet has a source address and a destination address; sending, from a source node corresponding to the source address, the first probe packet on a network including at least two nodes, until the first probe packet reaches a destination node corresponding to the destination address, and recording addresses of nodes through which the first probe packet passes, to form a first path; generating a second path according to the first path, where the second path is a reverse path of the first path; generating a first response packet, sending the first response packet along a second path until the first response packet reaches the source node; and creating a routing table entry according to the second path.
Abstract:
A method for implementing a GRE tunnel, an access point (AP), and a gateway (GW). The method includes: the AP receives a first packet, where the first packet carries an address of the GW; configures a GRE tunnel to the GW, where a source destination of the GRE tunnel is an address of the AP, and a destination address of the GRE tunnel is the address of the GW; the AP receives a second packet sent by user equipment; performs GRE tunnel encapsulation for the second packet to form a third packet; and the AP sends the third packet to the GW by using the GRE tunnel, where the third packet carries the address of the AP. The embodiments of the present application enable efficient establishment of the GRE tunnel between the AP and the GW if there are a large quantity of APs.
Abstract:
A method for implementing a generic routing encapsulation (GRE) tunnel, an access point (AP), and a network system. The method includes establishing a Control And Provisioning of Wireless Access Points (CAPWAP) tunnel with an access controller (AC), receiving addresses of at least two gateways, establishing at least two GRE tunnels coupled to the gateways respectively according to the addresses of the at least two gateways, and selecting one of the at least two GRE tunnels to transmit data.
Abstract:
Example embodiments of this application provide a method and an apparatus for transmitting a service flow based on FlexE. The method includes: sending, by a first network device, a first FlexE overhead frame to a second network device, where the first network device and the second network device transmit a service flow using a first FlexE group, and the first FlexE overhead frame includes FlexE group adjustment identification information and PHY information of a physical layer (PHY) included in a second FlexE group; receiving, by the first network device, a second FlexE overhead frame sent by the second network device, where the second FlexE overhead frame includes FlexE group adjustment acknowledgment identification information; adjusting, by the first network device, the first FlexE group to the second FlexE group; and sending, by the first network device, the service flow to the second network device based on the second FlexE group, to dynamically adjust a FlexE group.