Abstract:
A label distribution method and device are disclosed. In an embodiment the method includes: a first routing device sends a first BGP update message including a first VPN instance identifier and a first RT to a second routing device; the first routing device receives a second BGP update message including a second VPN instance identifier and a second RT; the first routing device allocates a first VPN instance label to a second VPN instance after the second routing device determines that the first RT is equal to the second RT; and the first routing device sends a third BGP update message including the first VPN instance label to the second routing device. Mutual learning on VPN instances is performed, and a label is allocated to a VPN instance, so that a service tail end node can identify a VPN instance from which an L3VPN service specifically comes.
Abstract:
The present application provides a method and a device for clearing a MAC forwarding entry. The method includes: detecting, by a first RB, that a topology of a network accessed by a local terminal changes; and sending, by the first RB, a first packet to a second RB, so that the second RB clears a corresponding forwarding entry after receiving the first packet, where the second RB refers to an RB configured with at least one VLAN the same as that of the first RB.
Abstract:
A label management method, a data stream processing method, and a device, where the label management method includes allocating, by a controller, a source label to a data stream, sending, by the controller, a first Border Gateway Protocol (BGP) update packet to an ingress network device on a label switching path (LSP) of the data stream, and sending a second BGP update packet to an egress network device on the LSP of the data stream, where the first BGP update packet includes a stream identifier of the data stream and the source label, and the second BGP update packet includes a mapping relationship between the source label and a source object of the data stream. Hence, configuration, management, and maintenance can be simplified.
Abstract:
A label distribution method and device are disclosed. In an embodiment the method includes: a first routing device sends a first BGP update message including a first VPN instance identifier and a first RT to a second routing device; the first routing device receives a second BGP update message including a second VPN instance identifier and a second RT; the first routing device allocates a first VPN instance label to a second VPN instance after the second routing device determines that the first RT is equal to the second RT; and the first routing device sends a third BGP update message including the first VPN instance label to the second routing device. Mutual learning on VPN instances is performed, and a label is allocated to a VPN instance, so that a service tail end node can identify a VPN instance from which an L3VPN service specifically comes.
Abstract:
The present application discloses a method, a device and a system for establishing an LSP. The method includes: allocating, by a proxy node device, a label for a destination node device, generating a label mapping message carrying the label, an address of the destination node device and an address of the proxy node device, and sending the label mapping message to an upstream node device to initiate establishment of a first LSP from an entry node device to the proxy node device; stitching, by the proxy node device, the first LSP with a second LSP to form a third LSP from the entry node device to the destination node device, where the second LSP is an LSP established between the proxy node device and the destination node device.
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:
The present invention discloses a forward entry generating method, a forward node, and a controller. The method includes: receiving, by a first forward node, MPLS forwarding path information, which is sent by a controller, of a MPLS forwarding path, where the MPLS forwarding path information includes: ingress node information, transit node information, and egress node information; sending the MPLS forwarding path information to a third forward node; and generating an MPLS forward entry of the first forward node according to the MPLS forwarding path information. According to the method, the forward node, and the controller in embodiments of the present invention, it can be avoided that the controller sends, in a point-to-point manner, MPLS forward entries to all forward nodes that an MPLS forwarding path passes through, thereby effectively improving efficiency of generating an MPLS forward entry and reducing occupation of outbound bandwidth of the controller.
Abstract:
Embodiments of the present invention disclose a method and an apparatus for establishing a multicast path. The method includes: when computing a multicast branch path to a first leaf node by using a constraint fails, degrading the constraint to obtain a secondary constraint; computing a multicast branch path to the first leaf node according to the secondary constraint; and establishing a multicast branch path to the first leaf node according to the multicast branch path obtained by computation. By using the method according to the embodiments of the present invention, for a leaf node to which a multicast path cannot be established according to a primary constraint, a substitute multicast path is established according to a secondary constraint, which ensures that service traffic can reach all leaf nodes in a multicast service and that the multicast service for the leaf nodes is quickly recovered when a fault occurs.
Abstract:
A method for processing a packet on an SR network is provided, including: receiving a packet, where a packet header of the packet includes a destination address field, a first pointer, a second pointer, and a list used to process the packet, the list includes a plurality of sequentially arranged identifiers, and a value of the first pointer and a value of the second pointer jointly indicate a location of a first identifier in the plurality of identifiers in the list; determining the first identifier based on the value of the first pointer and the value of the second pointer; and copying the first identifier to the destination address field. In this method, a CL pointer is set in the packet header to jointly form a two-dimensional pointer with an SL pointer, to indicate a location of a C-SID in a SID list.
Abstract:
This application provides a packet sending method. The method includes: receiving, by a first network device, a data packet, and encapsulating the data packet to obtain a first packet, where the first packet includes an IPv6 header, a bit index explicit replication BIER header, and the data packet, and some bits of a source IPv6 address field in the IPv6 header include identification information of a first tenant; and sending, by the first network device, the first packet to a second network device, where the identification information of the first tenant is used by the second network device to determine to send the data packet to an interface, corresponding to the first tenant, of the second network device.