< Home

Configuring NetStream Interface Index Length

Pre-configuration Tasks

The NetStream flow statistics exporting has been configured.

Only V9 supports NetStream interface index mapping.

Context

The NMS obtains interface information of exported packets according to the interface indexes in NetStream packets. Interface indexes consist of either 16 or 32 digits. NMS devices from different vendors may use different numbers of digits in interface indexes. The number of digits in the interface index used by the device must be the same as the number of digits in the interface index used by the NMS. For example, if the NMS can parse 32-digit interface indexes, set the number of digits in the interface indexes contained in exported NetStream packets to 32.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Set the number of digits in the interface index for exported packets.
    1. Run ip netstream export index-switch index-switch

      The number of digits in the interface index for exported packets carrying IPv4 flow statistics is set.

      By default, packets carrying IPv4 flow statistics have interface indexes of 16 digits.

    2. Run ipv6 netstream export index-switch index-switch

      The number of digits in the interface index for exported packets carrying IPv6 flow statistics is set.

      By default, packets carrying IPv6 flow statistics have interface indexes of 16 digits.

Verifying the Configuration

Run the display netstream { all | global | interface interface-type interface-number } command to check the NetStream configuration.

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