To ensure that original flows can be correctly output to the NMS, configure the aging time, output format, and source and destination addresses for original flows.
The system view is displayed.
The output format of original flows is configured.
NetStream original flow packets support V5 and V9 as well as IPFIX packet formats. V5, IPFIX, and V9 packet formats are mutually exclusive.
The V9 format allows the output original flows to carry more variable statistics, to expand newly defined flow elements more flexibly, and to generate new records more easily.
Compared with the V9 format, the IPFIX format improves packet extensibility and compatibility, security, and reliability. In addition, the IPFIX format has an enterprise identifier field added. When setting this field, you must use the IPFIX format for outputting NetStream IPv4 original flows.
NetStream original flows need to carry BGP next-hop information.
Interface indexes carried in the output NetStream original flows need to be extended from 16 bits to 32 bits.
The view of the slot where the interface board for NetStream sampling resides is displayed.
Run ip netstream export sequence-mode flow
The command applies to the V9 format only.
The system view is displayed.
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 interval at which the template for outputting original flows in the V9 or IPFIX format is updated.
The source IP address and source port number are specified for original flows.
In the system view:
Run ip netstream export host [ ipv6 ] ip-address port [ vpn-instance vpn-instance-name ] [ dscp dscp-value ]
The destination IP address and UDP port number of the peer NSC are specified for original flows to be output.
In the slot view:
Run slot slot-id
The view of the slot where the interface board for NetStream sampling resides is displayed.
Run ip netstream export host [ ipv6 ] ip-address port [ vpn-instance vpn-instance-name ] [ dscp dscp-value ]
The destination IP address and UDP port number of the peer NSC are specified for original flows to be output.
Run quit
The system view is displayed.
Run ip netstream timeout active { active-interval | interval-second active-interval-second }
The active aging time is set for NetStream original flows.
Run ip netstream timeout inactive inactive-interval
The inactive aging time is set for NetStream original flows.
The configuration is committed.