Egress pipeline with tag manipulation and ESI label push capability
AssigneeArista Networks, Inc.
InventorsVishal Bandekar, Digvijay Singh Gahlot, Ramakrishnan Ganapathy Iyer, Legena Puthanpurayil Kuttipunathil
Life of this patent
Estimating the term…
Abstract
Packet processing in a EVPN L2 MPLS deployment includes performing tag editing operations in the egress pipeline. More particularly, tag manipulation is based on the egress port. Packet processing further includes performing ESI label selection in the egress pipeline, and includes selecting the ESI label based on the ingress port where the ingress port can be a physical port or a subinterface configured on a physical port.
Claims17
A method in a network device on an Ethernet virtual private network (EVPN) Layer 2 (L2) multi-protocol label switching (MPLS) network, the method comprising:
- receiving an ingress packet;
- performing first processing in response to receiving the ingress packet in an ingress pipeline;
- and
- performing second processing on the ingress packet in an egress pipeline separate from the ingress pipeline to generate an egress packet, the second processing including:
- modifying a virtual local area network (VLAN) tag contained in the ingress packet based at least on an egress port on which the egress packet is to be transmitted to generate a modified VLAN tag for an egress packet;
- pushing at least one MPLS label onto the egress packet;
- and
- transmitting the egress packet containing the modified VLAN tag to a destination device on the MPLS network,
- wherein the EVPN L2 MPLS network includes a plurality of Ethernet segments (ES's), wherein the ingress packet is received on one of the plurality of ES's (ingress ES), wherein the at least one MPLS label is an identifier of the ingress ES when the destination device is connected to an ES that is the same as the ingress ES.
A network device on an MPLS network, the network device comprising:
- one or more computer processors;
- a first port, the first port having ingress pipeline circuitry associated with the first port;
- and
- a second port different from the first port, the second port having egress pipeline circuitry, separate from the ingress pipeline, associated with the second port,
- wherein an ingress packet received on the first port is processed by the ingress pipeline circuitry to generate metadata,
- wherein the ingress packet is processed by the egress pipeline circuitry using the metadata to generate an egress packet, the egress packet comprising:
- a modified VLAN tag generated by modifying a VLAN tag in the ingress packet based at least on the second port on which the egress packet is to be transmitted;
- and
- at least one MPLS label determined based on the first port;
- and
- wherein the egress pipeline circuitry transmits the egress packet containing the modified VLAN tag to the MPLS network to a destination device,
- wherein the EVPN L2 MPLS network includes a plurality of Ethernet segments (ES's), wherein the ingress packet is received on one of the plurality of ES's (ingress ES), wherein the at least one MPLS label is an identifier of the ingress ES when the destination device is connected to an ES that is the same as the ingress ES.
A method in a network device on an MPLS network, the method comprising:
- using first pipeline circuitry of the network device to process a received packet;
- and
- using second pipeline circuitry of the network device different from the first pipeline circuitry to generate an egress packet from the received packet, including:
- modifying a VLAN tag contained in the received packet based at least on an egress port, the egress packet containing the modified VLAN tag;
- and
- pushing an MPLS label onto the egress packet that is determined based on an ingress port of the network device on which the received packet ingressed;
- and
- transmitting the egress packet to a destination device, the egress packet transmitted on the egress port of the network device,
- wherein the ingress packet is a flood packet, the method further comprising identifying a plurality of destination devices and repeating the modifying, pushing, and transmitting for each destination device in the plurality of destination devices.
Dependencies are inferred from the claim text.