Outputting Aggregated Flows

To ensure that aggregated flows are correctly output to the NMS, configure the aging time, source address, and destination address for aggregated flows.

Context

IPv6 aggregated flows can be output in V9 or IPFIX format.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run ipv6 netstream export host ip-address port [ vpn-instance vpn-instance-name ] [ dscp dscp-value ]

    The destination IP address and destination port number for traffic statistics are specified.

    The destination IP address specified in the system view takes precedence over that specified in the NetStream aggregation view.

  3. Run ipv6 netstream aggregation { as | as-tos | bgp-nexthop-tos | destination-prefix | destination-prefix-tos | index-tos | mpls-label | prefix | prefix-tos | protocol-port | protocol-port-tos | source-prefix | source-prefix-tos | vlan-id }

    The IPv6 NetStream aggregation view is displayed.

  4. Run enable

    The NetStream aggregation mode is enabled.

  5. (Optional) Run template timeout-rate timeout-interval

    The interval at which the template for outputting aggregated flows in the V9 or IPFIX format is refreshed is set.

  6. Run ipv6 netstream export source { ip-address | ipv6 ipv6-address } [ port ]

    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 those 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.

  7. Run ipv6 netstream export host [ ipv6 ] ip-address port [ vpn-instance vpn-instance-name ] [ dscp dscp-value ]

    The destination IP address and the UDP port number of the peer NSC are specified for traffic statistics export.

    • You can specify eight destination IP addresses in the system view, IPv4 NetStream aggregation view, and IPv4 NetStream aggregation view.

    • The destination IP address specified in the system view takes precedence over that specified in the NetStream aggregation view.

  8. Run quit

    Return to the system view.

  9. (Optional) Set parameters for aging aggregated flows as needed.

  10. (Optional) Exit the IPv6 aggregated configuration mode view. In the system view, run ipv6 netstream export template sequence-number fixed

    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.

  11. Run commit

    The configuration is committed.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >