display netstream export template

Function

The display ip netstream export template command displays whether a IPv4 template is exported correctly.

The display ip netstream export template option command displays statistics about the output IPv4 templates for parsing option packets.

The display ipv6 netstream export template command displays whether a IPv6 template is exported correctly.

The display ipv6 netstream export template option command displays statistics about the output IPv6 templates for parsing option packets.

Format

display ip netstream export template

display ip netstream export template option

display ipv6 netstream export template option

display ipv6 netstream export template

Parameters

Parameter Description Value
ip

Indicates the IPv4 netstream feature.

-

option

Display netstream export information of option template.

-

ipv6

Indicates the IPv6 netstream feature.

-

Views

All views

Default Level

3: Management level

Task Name and Operations

Task Name Operations
netstream read

Usage Guidelines

Usage Scenario

When original or aggregated flows are exported in V9 or IPFIX format, the associated data template must also be exported so that the NDA device can parse packets. To check whether the template is exported correctly, run the display ip netstream export template command. When the NMS device cannot parse flow packets, this command can be used to locate the fault.

Precautions

If the associated template is not exported, no template information is displayed in the command output.

Option packets sent from different boards or to different destination addresses are calculated only once.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display sending statistics of the current IPv4 template.
<HUAWEI> display ip netstream export template
------------------------------------------------------
TemplateName                        Success     Failed
------------------------------------------------------
origin                                   69          0
as                                       22          0
as-tos                                   15          0
protocol-port                            14          0
protocol-port-tos                        14          0
source-prefix                            14          0
source-prefix-tos                        14          0
destination-prefix                       14          0
destination-prefix-tos                   14          0
prefix                                   13          0
prefix-tos                               14          0
mpls-label                               14          0
vlan-id                                  14          0
bgp-nexthop-tos                          14          0
index-tos                                14          0
source-index-tos                         14          0
Record(system)                           14          0
Record aa(monitor)                       14          0
------------------------------------------------------
# Display sending statistics of the current IPv6 template.
<HUAWEI> display ipv6 netstream export template
------------------------------------------------------
TemplateName                        Success     Failed
------------------------------------------------------
origin                                  608          0
as                                     3512          0
as-tos                                 3496          0
protocol-port                          3488          0
protocol-port-tos                      3488          0
source-prefix                          3488          0
source-prefix-tos                      3496          0
destination-prefix                     3494          0
destination-prefix-tos                 3485          0
prefix                                 3502          0
prefix-tos                             3496          0
mpls-label                             3496          0
vlan-id                                3496          0
bgp-nexthop-tos                        3496          0
index-tos                              3496          0
Record(system)                         3496          0
Record aa(monitor)                     3496          0
------------------------------------------------------
# Display information about IPv6 output templates for parsing option packets.
<HUAWEI> display ipv6 netstream export template option
------------------------------------------------------
TemplateName                        Success     Failed
------------------------------------------------------
l3vpn                                     1          0
mpls-tal                                  1          0
if-bind                                   1          0
------------------------------------------------------
# Display information about IPv4 output templates for parsing option packets.
<HUAWEI> display ip netstream export template option
------------------------------------------------------
TemplateName                        Success     Failed
------------------------------------------------------
l3vpn                                     1          0
mpls-tal                                  1          0
if-bind                                   1          0
------------------------------------------------------
Table 1 Description of the display netstream export template command output
Item Description
TemplateName

Template type.

Success

Number of times when the template is sent successfully.

Failed

Number of times when the template fails to be sent successfully.

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