To ensure that aggregated flows are correctly output to the NMS, specify the aging time, output format, and source and destination addresses for aggregated flows.
The system view is displayed.
The destination IP address and UDP port number of the peer NSC are specified for NetStream original flows to be output.
If the destination IP addresses are specified in both the system and the aggregation views, the configuration in the aggregation view takes effect.
The IPv4 NetStream aggregation view is displayed.
The NetStream aggregation mode is enabled.
The output format is specified for the aggregated flows. Flows aggregated in as, as-tos, destination-prefix, destination-prefix-tos, prefix, prefix-tos, protocol-port, protocol-port-tos, source-prefix, or source-prefix-tos mode are output in V8 format by default. You can specify the output format for aggregated flows as needed.
For the vlan-id, bgp-nhp-tos, vni-sip-dip, and index-tos aggregation modes, aggregated packets can be encapsulated only in the default V9 format. You can change the format to IPFIX using the export version command.
The interval at which the template for outputting aggregated flows in the V9 or IPFIX format is refreshed is set.
The source IP address and source port are specified for aggregated flows.
The source IP address and source port specified in the aggregation view take precedence over that specified in the system view. If no source IP address or source port is specified in the aggregation view, the source IP address and source port specified in the system view take effect.
The destination IP address and UDP port number of the peer NSC are specified for NetStream original flows to be output.
The destination IP address specified in the NetStream aggregation view takes precedence over that specified in the system view.
Return to the system view.
The view of the slot in which the interface board for NetStream sampling resides is displayed.
Run ip netstream export sequence-mode flow
The command applies to the V9 format only.
Return to the system view.
Run ip netstream aggregation timeout active { active-interval | interval-second active-interval-second }
The active aging time of NetStream aggregated flows is set.
Run ip netstream aggregation timeout inactive inactive-interval
The inactive aging time is set for NetStream aggregated flows.
The sequence numbers of template packets and option template packets in IPFIX format are configured to remain unchanged, but data packets and option data packets in IPFIX format are still consecutively numbered.
The configuration is committed.