Outputting Flexible Flows

To ensure that flexible flows can be correctly output to the NMS, specify the related parameters for flexible flows.

Context

IPv6 flexible flow packets can be output only in the V9 format.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run ipv6 netstream export version 9 [ origin-as | peer-as ] [ bgp-nexthop ]

    The output version number and AS option of flexible flow packets are specified.

  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

      The system view is displayed.

  4. Run ipv6 netstream apply record record-name

    Flexible flows are applied in the system view.

    Flexible flow packets can be output only in the V9 format. If the ipv6 netstream export version command is run in the system view to specify the IPFIX packet output format, the ipv6 netstream apply record command does not take effect.

  5. (Optional) Run ipv6 netstream export template timeout-rate timeout-interval

    The interval at which the template for outputting flexible flows in the V9 format is updated.

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

    The source IP address and source port are specified for flexible flows.

  7. Specify the destination IP address and UDP port number of the peer NSC for NetStream flexible flows in the system or slot view.

    • In the system view:

      Run ipv6 netstream export host [ ipv6 ] ip-address port [ vpn-instance vpn-instance-name ] [ version { 9 | ipfix } ] [ dscp dscp-value ]

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

    • In the slot view:

      1. Run slot slot-id

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

      2. Run ipv6 netstream export host [ ipv6 ] ip-address port [ vpn-instancevpn-instance-name ] [ version { 9 | ipfix } ] [ dscpdscp-value ]

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

      3. Run quit

        Return to the system view.

  8. (Optional) Set parameters for aging flexible flows as needed.

  9. Run commit

    The configuration is committed.

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