This section describes the behavior when MPLS sampling is used on egress interfaces in various scenarios (label pop or swap) on provider routers (P routers). For more information on configuration and background specific to MPLS applications, see the JUNOS MPLS Applications Configuration Guide.
Previously, IPv4 packets (only) would have been sent to the PIC for sampling even though you configured MPLS sampling. No flows should be created, with the result that the parser fails.
With the current capability of applying MPLS templates, MPLS flows are created.
Resulting behavior is that MPLS packets are sent to PIC. The flow being sampled corresponds to the label before the swap.
Resulting behavior is that you cannot sample MPLS packets on the PE-A to P router link.