Outputting Original Flows

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.

Context

IPv6 original flows can be output only in V9 or IPFIX format.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run ipv6 netstream export version { 9 [ origin-as | peer-as ] [ bgp-nexthop ] [ ttl ] [ route-distinguisher ] | ipfix [ origin-as | peer-as ] [ bgp-nexthop ] [ ttl ] }

    The output format of original flows is configured.

  3. (Optional) Configure NetStream packets to carry the flow sequence field.

    1. Run slot slot-id

      The view of the slot in which the interface board for NetStream sampling resides is displayed.

    2. Run ip netstream export sequence-mode flow

      The NetStream export sequence mode is set to flow.

      The command applies to the V9 format only.

    3. Run quit

      Return to the system view.

  4. (Optional) 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.

  5. Run ipv6 netstream export template timeout-rate timeout-interval

    The interval at which the template for outputting original flows in the V9 or IPFIX format is updated.

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

    The source IP address and source port number are specified for original flows to be output.

  7. In the system or slot view, specify the destination IP address and UDP port number of the peer NSC for original flows to be output.

    • In the system view:

      Run ipv6 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:

      1. Run slot slot-id

        The view of the slot where the interface board for NetStream sampling resides is displayed.

      2. 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 original flows to be output.

      3. Run quit

        Return to the system view.

  8. (Optional) Set parameters for aging original flows.

    • Run ipv6 netstream timeout active { active-interval | interval-second active-interval-second }

      The active aging time is set for NetStream flows.

    • Run ipv6 netstream timeout inactive inactive-interval

      The inactive aging time is set for NetStream original flows.

  9. Run commit

    The configuration is committed.

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