Abstract:
A packet forwarding method and apparatus, and a communication network, related to the field of communication technologies. In the solutions provided, a controller may obtain a correspondence between an application-aware identifier of a service flow and a network service required for transmitting the service flow, and deliver the correspondence to a network device. Further, when identifying the service flow as a service flow indicated by the application-aware identifier, the network device may directly forward a packet of the service flow by using the corresponding network service. The controller may establish and deliver the correspondence between the application-aware identifier and the network service, so that the network device can directly forward the service packet of the service flow based on the correspondence. Therefore, flexibility of forwarding the service packet is effectively improved.
Abstract:
Embodiments of this application disclose a route advertisement method and a device, to improve efficiency of generating a route advertisement message. The method is applied to a network including a first network device and a second network device, and the first network device and the second network device establish a user datagram protocol UDP-based border gateway protocol BGP connection. The method includes: The first network device obtains one or more route sending groups, where each route sending group includes one or more pieces of route information; the first network device separately generates at least one route advertisement message based on each route sending group, the route advertisement message includes the one or more pieces of route information in the route sending group corresponding to the route advertisement message; and the first network device sends the route advertisement message to the second network device through the BGP connection.
Abstract:
A method for allocating a global label is provided, including: receiving, by a controller, a first message sent by a forwarding apparatus, where the first message carries a first label range, multiple labels included in the first label range are a subset of multiple labels included in a label space of the forwarding apparatus, and the first label range is not equal to the label space of the forwarding apparatus; and allocating, by the controller, a global label to the forwarding apparatus according to the first label range carried in the first message, where the global label is a label in the first label range. In addition, a method for obtaining a global label, a controller, and a forwarding apparatus are further provided. The foregoing solutions improve efficiency of global label allocation.
Abstract:
Embodiments of the present application disclose a method for advertising information about a PE device and a related apparatus, which are applied to a BGP-based MVPN. The method includes: a PE device in the MVPN determines a role of the PE device in the MVPN and a working status corresponding to the role, where the role is a root node and/or a leaf node, and the working status is active or standby; the PE device generates a BGP update message, carrying an IP address of the PE device, an identifier of the MVPN, the role of the PE device, and the working status of the PE device; and the PE device sends the BGP update message to a BGP neighbor of the PE device in the MVPN. The method and apparatus may alleviate a configuration workload and reduce an error occurrence during an application of a BGP-based MVPN.
Abstract:
Embodiments of the present invention provide a Multiprotocol Label Switching traffic engineering tunnel establishing method and device. A tunnel establishing method includes: receiving, by a second routing device, an identifier, which is sent by a first routing device, of an MPLS TE tunnel from a first VPN instance to a second VPN instance; acquiring, by the second routing device according to the identifier, path information of the MPLS TE tunnel from the first VPN instance to the second VPN instance; and establishing an MPLS TE tunnel from the second VPN instance to the first VPN instance according to the acquired path information. Therefore, forward and reverse bidirectional tunnels are co-routed or partially co-routed, thereby solving a problem caused by non-co-routing during BFD.
Abstract:
In embodiments of this application, the network node may receive a first data packet, where the first data packet carries first traffic feature data of a first data flow to which the first data packet belongs. The network node may determine a data forwarding policy based on the first traffic feature data. Because the data forwarding policy includes a policy used when the network node forwards a data packet included in the first data flow, the network node may forward the data packet based on the data forwarding policy. It may be learned that, in this solution, there is no need for a controller to determine the forwarding policy and the network node to execute the forwarding policy. Instead, the network node may learn of the traffic feature data of the transmitted data flow in real time, and determine and use the data forwarding policy in a timely manner.
Abstract:
A first network device includes a processor and a memory having instructions stored thereon that, when executed by the processor, cause the first network device to: obtain a first virtual private network (VPN) route sent by a second network device. The first VPN route includes first identification information that uniquely identifies a first VPN instance in the second network device. The first network device is also caused to generate a second VPN route according to a second VPN instance accessing a third network device and the first VPN route. The second VPN route carries second identification information and routing information of the first VPN route. The second identification information uniquely identifies the second VPN instance in the third network device. The first identification information is different from the second identification information. The first network device is further caused to send the second VPN route to the third network device.
Abstract:
A data packet detection method, a device, and a system are disclosed. The method includes: receiving first control information sent by a controller; receiving a first data packet sent by a previous-hop network device of a first network device, where the first data packet includes first detection information, and the first detection information includes a first detection node identifier, a first sequence number, and first collection information; determining, based on the first collection information, first collected data corresponding to the first collection information, and updating the first detection node identifier; and sending, to a next-hop network device of the first network device, the first data packet carrying the updated first detection information. This implements information telemetry on a data packet on a transmission path.
Abstract:
A network device creates a virtual border gateway protocol (BGP) peer and the BGP peer is enabled all BGP capability data configured in the network device. A BGP monitoring protocol (BMP) module of the network device acquires the enabled BGP capability by using a BGP message. According to the solution of the embodiment, the network device obtains all BGP capabilities configured in the network device and sends all the BGP capabilities to a monitoring server, so that the monitoring server can fully understand actual capability supported by the entire network, further providing an effective basis for deployment of and decision on the entire network.
Abstract:
The present disclosure discloses a packet processing method, device, and system. The system includes: a controller, configured to: allocate a service label to a service processing manner of an FEC, establish a mapping relationship between the service label and the service processing manner, send the service label to a source node, and send the mapping relationship to a destination node; the source node, configured to: receive the service label sent by the controller, receive a first packet, insert the service label to the first packet to obtain a second packet, and send the second packet to the destination node; the destination node, configured to: receive the mapping relationship sent by the controller, receive the second packet sent by the source node, and pop the service label from the second packet according to the mapping relationship, to obtain the first packet.