NetStream Flow Statistics Exporting
The NDE exports flow statistics to a specified NSC for further analysis after the flows age in the NetStream cache.
Flow Statistics Exporting Modes
Original flow statistics exporting
The NDE collects statistics about all flows in original flow statistics exporting mode, and will export statistics about each flow to the NetStream server after the aging timer expires.
This mode enables the NetStream server to obtain detailed statistics about each flow, but increases network bandwidth and CPU usage. The statistics also occupy more memory on the NDE, which increases cost.
Aggregation flow statistics exporting
When in aggregation mode, the NDE aggregates flow statistics with the same aggregation entry values and then exports them to a specified NetStream server, significantly saving network bandwidth. The NDE supports the aggregation modes described in Table 11-2.
- Protocol number
- Source port number
- Destination port number
Aggregation Mode |
Aggregation Entries |
---|---|
as |
Source AS number, destination AS number, index of the inbound interface, and index of the outbound interface |
as-tos |
Source AS number, destination AS number, inbound interface index, outbound interface index, and ToS |
protocol-port |
Protocol number, source port number, and destination port number |
protocol-port-tos |
Protocol number, source port number, destination port number, ToS, inbound interface index, and outbound interface index |
source-prefix |
Source AS number, source mask length, source prefix, and inbound interface index |
source-prefix-tos |
Source AS number, source mask length, source prefix, ToS, and inbound interface index |
destination-prefix |
Destination AS number, destination mask length, destination prefix, and outbound interface index |
destination-prefix-tos |
Destination AS number, destination mask length, destination prefix, ToS, and outbound interface index |
prefix |
Source AS number, destination AS number, source mask length, destination mask length, source prefix, destination prefix, inbound interface index, and outbound interface index |
prefix-tos |
Source AS number, destination AS number, source mask length, destination mask length, source prefix, destination prefix, ToS, inbound interface index, and outbound interface index |
Flexible flow statistics exporting
- Protocol type
- DSCP field
- Source IP address
- Destination IP address
- Source port number
- Destination port number
- IPv6 flow label
- TTL value
- VLAN ID
- Source MAC address
- Destination MAC address
Versions of Exported Packets
- V5: NetStream packets use a fixed format and contain the original flow statistics collected based on 7-tuple information.
- V8: NetStream packets use a fixed format and support the aggregation exporting format.
- V9: NetStream packets are defined in profiles and support the exporting of BGP next hop. Statistical items can be combined, allowing more flexibility for exporting statistics.
Other versions are in the experimental stage and have not been released for commercial use.