摘要:
Embodiments of the present invention provide a method and a device used for an Ethernet virtual private network, where the method includes: receiving, by a first provider edge PE device, a second data packet sent by a second PE device, where the second data packet carries a second label and a second source Media Access Control MAC address; and determining, by the first PE device according to the second label, that the second data packet is received by the second PE device from an Ethernet segment ES of the second PE device, and establishing a correspondence between the ES of the second PE device and the second source MAC address. Based on an ES and by using a data plane, a local PE learns a MAC address of a remote site, and there is no need to exchange C-MAC information by using a control plane, thereby reducing signaling overheads between PE devices on the control plane, and improving scalability of the control plane.
摘要:
The present invention discloses an SFC-based packet forwarding method, an apparatus, and a system, which can implement redirection of a packet forwarding path through automatic configuration that is performed by a control node on a service function forwarding node. The packet forwarding method includes: receiving, by a first service function forwarding node, a packet forwarding rule sent by a control node, where the packet forwarding rule is used to indicate a mapping relationship between a match item of traffic characteristic information of a packet and route prefix information; receiving, by the first service function forwarding node, a first packet, where a header of the first packet carries traffic characteristic information of the first packet; determining, by the first service function forwarding node based on the packet forwarding rule, target route prefix information corresponding to the traffic characteristic information of the first packet; and determining, by the first service function forwarding node, target next-hop information based on the target route prefix information, and forwarding the first packet based on the target next-hop information.
摘要:
Embodiments of the present invention provide a method and a device used for an Ethernet virtual private network, where the method includes: receiving, by a first provider edge PE device, a second data packet sent by a second PE device, where the second data packet carries a second label and a second source Media Access Control MAC address; and determining, by the first PE device according to the second label, that the second data packet is received by the second PE device from an Ethernet segment ES of the second PE device, and establishing a correspondence between the ES of the second PE device and the second source MAC address. Based on an ES and by using a data plane, a local PE learns a MAC address of a remote site, and there is no need to exchange C-MAC information by using a control plane, thereby reducing signaling overheads between PE devices on the control plane, and improving scalability of the control plane.
摘要:
The present invention discloses a method, an apparatus, and a system for forwarding a packet in SFC, which can standardize interaction between a routing and switching device and a controller, to implement smooth interconnection between the controller and the routing and switching device. The method includes: determining, by a control node, routing entry information of a service function forwarding node in a service function path SFP in the SFC, where the routing entry information records a mapping relationship between route prefix information and next hop information, the route prefix information includes a service path identifier SPI and a service index SI, the SPI is used to identify the SFP, the SI is used to identify a location of the service function forwarding node in the SFP, and the next hop information is used to indicate a next hop node of the service function forwarding node in the SFP; and sending, by the control node, the routing entry information to the service function forwarding node, where the routing entry information is used by the service function forwarding node to generate a forwarding table, and the forwarding table is used to instruct the service function forwarding node to forward a packet.
摘要:
The present invention discloses a packet forwarding method, including: determining, by an ingress provider edge Ingress PE in an Ethernet virtual private network instance EVI, that a state of the EVI on a first egress Egress PE is active Active, where an Ethernet virtual private network EVPN corresponding to the EVI includes a first CE; determining, by the Ingress PE, that a state of the EVI on a second Egress PE is inactive Inactive; skipping, by the Ingress PE, forwarding a broadcast, unknown unicast, or multicast BUM packet to the second Egress PE, where the BUM packet is from the first CE; and forwarding, by the Ingress PE, the BUM packet to the first Egress PE. Repeated BUM traffic that is transmitted in a bearer network and is not finally sent to a remote site is reduced; therefore, a waste of bandwidth in the bearer network is reduced.
摘要:
The present invention discloses a packet forwarding method, including: determining, by an ingress provider edge Ingress PE in an Ethernet virtual private network instance EVI, that a state of the EVI on a first egress Egress PE is active Active, where an Ethernet virtual private network EVPN corresponding to the EVI includes a first CE; determining, by the Ingress PE, that a state of the EVI on a second Egress PE is inactive Inactive; skipping, by the Ingress PE, forwarding a broadcast, unknown unicast, or multicast BUM packet to the second Egress PE, where the BUM packet is from the first CE; and forwarding, by the Ingress PE, the BUM packet to the first Egress PE. Repeated BUM traffic that is transmitted in a bearer network and is not finally sent to a remote site is reduced; therefore, a waste of bandwidth in the bearer network is reduced.
摘要:
The present invention discloses an SFC-based packet forwarding method, an apparatus, and a system, which can implement redirection of a packet forwarding path through automatic configuration that is performed by a control node on a service function forwarding node. The packet forwarding method includes: receiving, by a first service function forwarding node, a packet forwarding rule sent by a control node, where the packet forwarding rule is used to indicate a mapping relationship between a match item of traffic characteristic information of a packet and route prefix information; receiving, by the first service function forwarding node, a first packet, where a header of the first packet carries traffic characteristic information of the first packet; determining, by the first service function forwarding node based on the packet forwarding rule, target route prefix information corresponding to the traffic characteristic information of the first packet; and determining, by the first service function forwarding node, target next-hop information based on the target route prefix information, and forwarding the first packet based on the target next-hop information.
摘要:
The present invention discloses an SFC-based packet forwarding method, an apparatus, and a system, which can implement redirection of a packet forwarding path through automatic configuration that is performed by a control node on a service function forwarding node. The packet forwarding method includes: receiving, by a first service function forwarding node, a packet forwarding rule sent by a control node, where the packet forwarding rule is used to indicate a mapping relationship between a match item of traffic characteristic information of a packet and route prefix information; receiving, by the first service function forwarding node, a first packet, where a header of the first packet carries traffic characteristic information of the first packet; determining, by the first service function forwarding node based on the packet forwarding rule, target route prefix information corresponding to the traffic characteristic information of the first packet; and determining, by the first service function forwarding node, target next-hop information based on the target route prefix information, and forwarding the first packet based on the target next-hop information.