The ip netstream export index-switch command sets the number of digits in the interface index contained in an exported packet carrying IPv4 flow statistics.
By default, the number of digits in interface indexes is 16.
Parameter |
Description |
Value |
---|---|---|
index-switch |
Specifies the number of digits in the index of a specified interface. |
The value is 16 or 32. The default value is 16. |
Usage Scenario
You can run the ip netstream export index-switch command to set the number of digits in the interface index to 16 or 32.
The number of digits in an interface index contained in exported packets must be the same as the number of digits in an interface index that can be parsed by the NMS. For example, if the NMS can parse the 32-digit interface index, set the number of digits in an interface index contained in exported packets to 32.
Precautions
The number of digits in the interface index can be changed to 32 only when the NMS supports 32-digit interface index. If the number of digits in an interface index contained in exported packets is different from the number of digits in an interface index supported by the NMS, the NMS cannot identify NetStream packets sent by the device.
This command is valid for V9. Before changing 16-digit interface indexes to 32-digit interface indexes, ensure that:
When the 32-digit interface index is used, the version of exported packets of original flows cannot be changed from V9 to V5, and the version of exported packets carrying aggregation flow statistics cannot be changed from V9 to V8.