Abstract:
Embodiments of the present invention provide a label-based measurement method, apparatus, and system. The method includes: allocating at least two labels to the same FEC; obtaining a label insertion mode for the at least two labels; receiving data packet, where one of the at least two labels is inserted in the data packet; and performing, according to the label insertion mode and the data packet, performance measurement on a network that the FEC passes through. By using the technical solutions provided in the embodiments of the present invention, a problem of network bandwidth occupation caused by inserting a test packet and an OAM packet during performance measurement and a problem of measurement result inaccuracy caused by OAM packet loss may be solved.
Abstract:
Embodiments provide a packet forwarding method and a network device, which are applicable to a system that includes a source node, a destination node, a first device, and a second device, where L1, L2, L3 and L4 are established, and the packet forwarding method includes: receiving, by the second device through a universal tunnel, a packet to be sent to a destination node, where the packet carries service data and one of identifiers of the L1, the L2, the L3, and the L4; according to the identifier carried in the packet, querying a preconfigured logical channel mapping in the second device, determining that a forwarding channel is the L4, and sending the service data in the packet to the destination node through the L4. By using the technical solutions, the number of ICB PWs can be reduced.
Abstract:
A method and network device for distributing Multi-Protocol Label Switching (MPLS) labels are provided by the present invention. The method for distributing the MPLS labels includes: a first device receives a Border Gateway Protocol (BGP) protocol message transmitted from a second device, wherein the BGP protocol message carries a service identifier of the second device; the first device establishes, according to the service identifier of the first device and the service identifier of the second device, a corresponding relationship between the first device and the second device; the first device distributes a MPLS label for the corresponding relationship. The present invention realizes that the MPLS labels are distributed for some type of the specific logical relationship between the two nodes in the BGP protocol, so that the network devices running the BGP protocol can efficiently obtain the MPLS label corresponding to the specific logical relationship.
Abstract:
A controller obtains a forwarding latency requirement of a service flow and a destination address of the service flow, and determines a forwarding path that meets the forwarding latency requirement. The controller determines that an ingress node forwards a first cycle time number of a packet and an intermediate node forwards a second cycle time number of the packet, and separately determines a corresponding adjacent segment identifier. A label stack generated by the controller includes the adjacent segment identifier and the adjacent segment identifier. The controller sends the label stack to the ingress node, to trigger the ingress node to forward the packet within a period of time corresponding to the first cycle time number. The controller determines the forwarding path based on the forwarding latency requirement of the service flow, and generates a label stack corresponding to a forwarding time point.
Abstract:
A forwarding entry generation method includes sending, by a controller, a plurality of resource allocation request messages to a plurality of network devices in a network slice, to trigger the plurality of network devices to allocate resources, where the resource allocation request message includes an identifier of the network slice and a resource that needs to be allocated by a corresponding network device to the network slice; receiving, by the controller, a plurality of resource allocation response messages including the identifier of the network slice and a segment identifier of a corresponding network device, and a resource allocated by each device belongs to the network slice; and generating, by the controller, a forwarding table corresponding to the network slice, where the forwarding table includes a forwarding entry for arriving at a network device in the network slice.
Abstract:
Embodiments of this application provide a bit-forwarding ingress router, a bit-forwarding router, and an OAM test method, and pertain to the field of multicast networks. A first BFR receives an OAM request packet from a BFIR; the first BFR determines, according to the OAM request packet, that a destination BFR corresponding to the OAM request packet is the first BFR; and the first BFR obtains a first OAM response packet according to an ID of the BFIR, and sends the first OAM response packet to the BFIR. According to the method and the apparatus that are provided in the embodiments of this application, a problem that a BFIR cannot diagnose or handle a transmission fault when the fault occurs during transmission of a multicast packet can be resolved, which helps implement connectivity testing by using an OAM packet and enables testing of multiple BFERs.
Abstract:
A packet sending method of a controller includes obtaining a forwarding latency requirement of a service flow and a destination address of the service flow; determining a forwarding path that meets the forwarding latency requirement, and determining a number of a first cycle time in which an ingress node forwards a packet and a number of a second cycle time in which an intermediate node forwards the packet; sending a first entry to the ingress node that includes a sequence number of the packet and the first cycle time number; and sending a second entry to the intermediate node that includes the sequence number of the packet and the second cycle time number.
Abstract:
This application provides a multicast data packet processing method and a forwarding device. The method implemented by a first forwarding device includes: establishing a segment routing header SRH-based tunnel with a third forwarding device, wherein the SRH-based tunnel passes through a second forwarding device that does not support bit index explicit replication BIER; generating a first multicast data packet based on a multicast data packet from a multicast source and the SRH-based tunnel, wherein the first multicast data packet includes a first packet header, a second packet header, and the multicast data packet from the multicast source, the first packet header includes an SRH header, and a destination address included in the second packet header is an address of the second forwarding device; and sending the first multicast data packet to the second forwarding device through the SRH-based tunnel.
Abstract:
A method for forwarding a packet, and a network device are provided. The method includes: receiving, a first packet, where the first packet includes first indication information, payload data, and a packet sequence number of the first packet in a data flow corresponding to the first packet; when the first network device determines that the first packet includes the first indication information, generating, a plurality of second packets based on the first packet, where each of the plurality of second packets includes the payload data, the packet sequence number, and second indication information; and separately forwarding, the plurality of second packets to a second network device over different forwarding paths in a plurality of forwarding paths.
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.