Collecting traffic statistics on BGP/MPLS VPN networks helps monitor the BGP/MPLS VPN network condition.
In Figure 1, statistics about MPLS flows sent by the P to the NetStream Collector (NSC) inform the NSC of the traffic volume and traffic type corresponding to each label. Such statistics, however, cannot tell to which VPN each traffic belongs. In this case, the PE sends the meaning of each label to the NSC so that the NSC can determine to which VPN the received traffic belongs. The NSC can analyze the traffic data of each VPN and display the result.
Follow the configuration procedures described in Collecting Statistics About MPLS IPv4 Packets or Collecting Statistics About MPLS IPv6 Packets.
The output of TAL options is enabled, and the corresponding TAL option template is sent to the NSC