Pseudowire packet loss measurement
AssigneeJuniper Networks, Inc.
InventorPrabakaran Thirumali Sampath
Life of this patent
Estimating the term…
Abstract
In general, techniques are described for measuring service-specific packet data unit (PDU) loss for individual pseudowires that interconnect two or more L2 customer networks in a L2 virtual private network (L2VPN), such as a VPLS instance. In one example of the techniques, for every pseudowire of a VPLS instance pseudowire mesh, a pseudowire label policer at each of the pseudowire endpoints maintains respective counters for the number of PDUs transmitted and received at the endpoint. The pseudowire label policer may identify service-specific PDUs transmitted and received over individual pseudowires of the VPLS instance by mapping pseudowire labels for the PDUs to the VPLS instance.
Claims19
A method comprising:
- receiving, by a local router from a local layer two (L2) network coupled to the local router via an attachment circuit for a Virtual Private Local Area Network (LAN) Service (VPLS) instance, a plurality of L2 packet data units (PDUs);
- sending, by the local router via a first pseudowire to a first remote router, each of the plurality of PDUs;
- sending, by the local router via a second pseudowire to a second remote router that is different from the first remote router, each of the plurality of PDUs, wherein the first pseudowire and the second pseudowire operate over a layer three (L3) packet-switched network to transport the plurality of PDUs for the VPLS instance;
- applying, by the local router, a first pseudowire label policer to increment a first transit counter associated with the first pseudowire for each of the plurality of PDUs that the local router sends via the first pseudowire to the first remote router;
- applying, by the local router, a second pseudowire label policer to increment a second transit counter associated with the second pseudowire for each of the plurality of PDUs that the local router sends via the second pseudowire to the second remote router;
- receiving, by the local router from the first remote router, a first receipt counter value for the first pseudowire that indicates a count of PDUs received by the first remote router from the local router via the first pseudowire;
- receiving, by the local router from the second remote router, a second receipt counter value for the second pseudowire that indicates a count of PDUs received by the second remote router from the local router via the second pseudowire;
- determining pseudowire packet loss data for the first pseudowire computing a first difference value between a first transmit counter value of the first transmit counter and the first receipt counter value and for the second pseudowire by computing a second difference value between a second transmit counter value of the second transmit counter and the second receipt counter value;
- and
- sending the pseudowire packet loss data including the first difference value for the first pseudowire and the second difference value for the second pseudowire from the local router to a management entity.
A router comprising:
- a control unit having one or more processors;
- one or more interface cards configured to receive, from a local layer two (L2) network coupled to the router by an attachment circuit for a Virtual Private Local Area Network (LAN) Service (VPLS) instance configured for the router, a plurality of L2 packet data units (PDUs);
- a VPLS layer of the control unit configured to send, via a first pseudowire to a first remote router, each of the plurality of PDUs,
- wherein the VPLS layer is further configured to send, via a second pseudowire to a second remote router that is different from the first remote router, each of the plurality of PDUs, wherein the first pseudowire and the second pseudowire operate over a layer three (L3) packet-switched network to transport the plurality of PDUs for the VPLS instance;
- a first pseudowire label policer configured for application by the router to increment a first transit counter associated with the first pseudowire for each of the plurality of PDUs that the local router sends via the first pseudowire to the first remote router;
- a second pseudowire label policer configured for application by the router to increment a second transit counter associated with the second pseudowire for each of the plurality of PDUs that the local router sends via the second pseudowire to the second remote router,
- wherein the one or more interface cards are further configured to receive, from the first remote router, a first receipt counter value for the first pseudowire that indicates a count of PDUs received by the first remote router from the local router via the first pseudowire, and
- wherein the one or more interface cards are further configured to receive, from the second remote router, a second receipt counter value for the second pseudowire that indicates a count of PDUs received by the second remote router from the local router via the second pseudowire;
- a loss measurement module of the control unit configured to determine pseudowire packet loss data for the first pseudowire by computing a first difference value between a first transmit counter value of the first transmit counter and the first receipt counter value and for the second pseudowire by computing a second difference value between a second transmit counter value of the second transmit counter and the second receipt counter value;
- and
- a management interface of the control unit configured to send the pseudowire packet loss data including the first difference value for the first pseudowire and the second difference value for the second pseudowire from the local router to a management entity.
A non-transitory computer-readable medium comprising instructions that cause a processor to:
- receive, by a local router from a local layer two (L2) network coupled to the local router by an attachment circuit for a Virtual Private Local Area Network (LAN) Service (VPLS) instance, a plurality of L2 packet data units (PDUs);
- send, by the local router via a first pseudowire to a first remote router, each of the plurality of PDUs;
- send, by the local router via a second pseudowire to a second remote router that is different from the first remote router, each of the plurality of PDUs, wherein the first pseudowire and the second pseudowire operate over a layer three (L3) packet-switched network to transport the plurality of PDUs for the VPLS instance;
- apply, by the local router, a first pseudowire label policer to increment a first transit counter associated with the first pseudowire for each of the plurality of PDUs that the local router sends via the first pseudowire to the first remote router;
- apply, by the local router, a second pseudowire label policer to increment a second transit counter associated with the second pseudowire for each of the plurality of PDUs that the local router sends via the second pseudowire to the second remote router;
- receive, by the local router from the first remote router, a first receipt counter value for the first pseudowire that indicates a count of PDUs received by the first remote router from the local router via the first pseudowire;
- receive, by the local router from the second remote router, a second receipt counter value for the second pseudowire that indicates a count of PDUs received by the second remote router from the local router via the second pseudowire;
- determine pseudowire packet loss data for the first pseudowire computing a first difference value between a first transmit counter value of the first transmit counter and the first receipt counter value and for the second pseudowire by computing a second difference value between a second transmit counter value of the second transmit counter and the second receipt counter value;
- and
- send the pseudowire packet loss data including the first difference value for the first pseudowire and the second difference value for the second pseudowire from the local router to a management entity.
A method comprising:
- receiving, by a local router from a local layer two (L2) network coupled to the local router by an attachment circuit for a Virtual Private Local Area Network (LAN) Service (VPLS) instance, a plurality of L2 packet data units (PDUs);
- sending, by the local router via a first service link to a first remote router, each of the plurality of PDUs;
- sending, by the local router via a second service link to a second remote router that is different from the first remote router, each of the plurality of PDUs, wherein the first service link and the second service link operate over a layer three (L3) packet-switched network to transport the plurality of PDUs for the VPLS instance;
- applying, by the local router, a first policer to increment a first transit counter associated with the first service link for each of the plurality of PDUs that the local router sends via the first service link to the first remote router;
- applying, by the local router, a second policer to increment a second transit counter associated with the second service link for each of the plurality of PDUs that the local router sends via the second service link to the second remote router;
- receiving, by the local router from the first remote router, a first receipt counter value for the first service link that indicates a count of PDUs received by the first remote router from the local router via the first service link;
- receiving, by the local router from the second remote router, a second receipt counter value for the second service link that indicates a count of PDUs received by the second remote router from the local router via the second service link;
- determining service link packet loss data for the first service link computing a first difference value between a first transmit counter value of the first transmit counter and the first receipt counter value and for the second service link by computing a second difference value between a second transmit counter value of the second transmit counter and the second receipt counter value;
- and
- sending the service link packet loss data including the first difference value for the first service link and the second difference value for the second service link from the local router to a management entity.
Dependencies are inferred from the claim text.