ip netstream export template option application-label

Function

The ip netstream export template option application-label command enables the device to output time, application, and label (TAL) option information to the NSC.

The undo ip netstream export template option application-label command disables device from outputting TAL option information to the NSC.

By default, the function of exporting system option packet statistics is disabled and TAL option information is not sent to the NSC.

Format

ip netstream export template option application-label

undo ip netstream export template option application-label

Parameters

Parameter Description Value
ip

Displays the IPv4 netstream feature.

-

Views

System view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
netstream write

Usage Guidelines

Usage Scenario

Option packets are exported in V9 or IPFIX format. Therefore, the NetStream Data Exporter (NDE) must send a matching option template to the NetStream Collector (NSC) so that the NMS can properly parse option packets. After the NetStream sends packet statistics to the NSC, the NSC must analyze and store the statistics in sampling mode. To output the TAL option information to the NSC, run the ip netstream export template option application-label command on a provider edge (PE) in a Layer 3 virtual private network (L3VPN) and based on the sampled traffic sent from the P and the TAL option information sent from the PE, the NSC locates the L3VPN to which traffic belongs.

At present, interface option packet statistics that can be exported are interface sampling parameters, the index of the interface where NetStream is enabled, and the interface direction.

Configuration Impact

After ip netstream export template option application-label command is executed, application modules encapsulate the TAL option in NetStream packets and send them to the NSC when advertising labels or other application information.

Example

# Enable the device to output TAL option information to the NSC in the system view.
<HUAWEI> system-view
[~HUAWEI] ip netstream export template option application-label
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >