< Home

ipv6 netstream export index-switch

Function

The ipv6 netstream export index-switch command sets the number of digits in the interface index contained in an exported packet carrying IPv6 flow statistics.

The undo ipv6 netstream export index-switch command restores the default setting.

By default, an interface index contains 16 digits.

Format

ipv6 netstream export index-switch index-switch

undo ipv6 netstream export index-switch

Parameters

Parameter

Description

Value

index-switch

Specifies the digit of the interface index.

The value is an integer that can be 16 or 32. The default is 16.

Views

System view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

You can run the ipv6 netstream export index-switch command to set the number of digits in the interface index to 16 or 32.

Set the type of the interface index contained in exported packets the same as the type of the interface index that can be parsed by the NMS. For example, if the NMS can parse the 32-digit interface index, set the type of the interface index contained in exported packets to 32-digit interface index.

Prerequisites

The interface index length in exported packets can be set to 32 bits only when the NMS supports 32-bit interface index; otherwise, the NMS cannot identify the NetStream packets.

Example

# Change the interface index type of the exported packets carrying IPv6 flow statistics from 16-digit to 32-digit.

<HUAWEI> system-view
[HUAWEI] ipv6 netstream export index-switch 32
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >