A NetStream packet can carry either original AS attribute or peer AS attribute for BGP routes. Original and peer AS types are mutually exclusive. A device advertises BGP routes within an original AS or transparently transmits BGP route information from a peer AS to a local AS.
Inter-AS NetStream monitors and collects statistics about traffic sent by the original or peer AS to a local AS, which provides reference for network deployment. As shown in Figure 1:
A specific IP address prefix is assigned to each ISP network. NetStream destination-prefix aggregation helps collect statistics about traffic traveling to ISP networks can be collected based on destination IP addresses and masks. Traffic with different destination IP addresses and masks is charged separately.
NetStream is deployed on a user interface of a PE to collect statistics about traffic exchanged between an MPLS network and an IP network. The statistics helps provide an accounting scheme.
NetStream is deployed on a network interface on the PE and P to collect statistics about MPLS packets. The MPLS service mode can be pinpointed.
NetStream collects statistics about VPN traffic based on VPN instance IDs.