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.
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.The actual command output varies according to the device. The command output here is only an example.
<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
------------------------------------------------------
<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
------------------------------------------------------
<HUAWEI> display ipv6 netstream export template option
------------------------------------------------------
TemplateName Success Failed
------------------------------------------------------
l3vpn 1 0
mpls-tal 1 0
if-bind 1 0
------------------------------------------------------
<HUAWEI> display ip netstream export template option
------------------------------------------------------
TemplateName Success Failed
------------------------------------------------------
l3vpn 1 0
mpls-tal 1 0
if-bind 1 0
------------------------------------------------------
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. |