< Home

display netstream

Function

The display netstream command displays the NetStream configurations.

Format

display netstream { all | global | interface interface-type interface-number }

Parameters

Parameter

Description

Value

all

Displays all the NetStream configurations, including:

  • NetStream configurations in the system view
  • NetStream configurations in the aggregation view
  • NetStream configurations in the flexible flow statistics template view
  • NetStream configurations in the interface view

-

global

Displays the global NetStream configurations, including:

  • NetStream configurations in the system view
  • NetStream configurations in the aggregation view
  • NetStream configurations in the flexible flow statistics template view

-

interface interface-type interface-number

Displays the NetStream configurations on a specified interface.

The parameter interface-type interface-number specifies the interface type and number.

-

Views

All views

Default Level

3: Management level

Usage Guidelines

This command displays the NetStream configurations for both IPv4 and IPv6 flows.

Example

# Display all the NetStream configurations.

<HUAWEI> display netstream all
system                                                                          
ip netstream export version 9                                                   
ip netstream export source 10.1.1.1                                             
ip netstream export host 10.0.0.2 6000 vpn-instance test                                          
ip netstream export host 10.5.5.5 6000                                           
ipv6 netstream export version 9                                                 
ipv6 netstream export host 10.0.0.3 6000 vpn-instance huawei                                        
ip netstream record test
ip netstream record test1 vxlan inner-ip                                                        
ip netstream aggregation destination-prefix                                     
 enable                                                                         
 export version 9                                                               
ip netstream aggregation protocol-port                                          
 export version 9                                                               
                                                                                
slot 0                                                                          
GigabitEthernet0/0/1                                                           
 ip netstream inbound 
Table 1 Description of the display netstream all command output

Item

Description

system

Global NetStream configurations.

ip netstream export version version

The field version indicates the version of the exported packets carrying IPv4 original flow statistics. This field is displayed only when the ip netstream export version command has been executed. If the version retains the default setting, this field is not displayed.

ip netstream export host ip-address port-number vpn-instance vpn-instance-name

The ip-address field indicates the destination address of the exported packets carrying IPv4 flow statistics. The port-number field is the UDP port. The vpn-instance-name field is the name of the VPN instance to which the specified destination address belongs. This field is displayed only when the ip netstream export host command has been executed in the system view.

ip netstream export source ip-address

The field ip-address indicates the source address of the exported packets carrying IPv4 flow statistics. This field is displayed only when the ip netstream export source command has been executed. If the source address is not specified, the outbound interface IP address is used.

ipv6 netstream export version version

The field version indicates the version of the exported packets carrying IPv6 original flow statistics. This field is displayed only when the ipv6 netstream export version command has been executed. If the version retains the default setting, this field is not displayed.

ipv6 netstream export host ip-address port-number vpn-instance vpn-instance-name

The ip-address field indicates the destination address of the exported packets carrying IPv6 flow statistics. The port-number field is the UDP port. The vpn-instance-name field is the name of the VPN instance to which the specified destination address belongs. This field is displayed only when the ipv6 netstream export host command has been executed in the system view.

ip netstream record record-name

The flexible flow statistics template is record-name. This field is displayed only when the ip netstream record command has been executed in the system view. If the flexible flow statistics template is not specified, this field is not displayed.

ip netstream record record-name vxlan inner-ip

The VXLAN flexible flow statistics template is record-name. This field is displayed only when the ip netstream record command has been executed in the system view.

ip netstream aggregation destination-prefix

Destination-prefix aggregation method. This field is displayed only when the ip netstream aggregation command has been executed to set the aggregation method.

Currently, the following aggregation methods are supported:

  • as: AS aggregation
  • as-tos: AS-ToS aggregation
  • destination-prefix: destination-prefix aggregation
  • destination-prefix-tos: destination-prefix-ToS aggregation
  • prefix: prefix aggregation
  • prefix-tos: prefix-ToS aggregation
  • protocol-port: protocol-port aggregation
  • protocol-port-tos: protocol-port-ToS aggregation
  • source-prefix: source-prefix aggregation
  • source-prefix-tos: source-prefix-ToS aggregation

enable

The destination-prefix aggregation method is enabled. This field is displayed only when the enable command has been executed in the aggregation view.

export version version

The field version indicates the version format of the exported packets carrying aggregation flow statistics. If the version retains the default setting, this field is not displayed. This field is displayed only when the export version command has been executed.

slot x

NetStream configurations on the card in slot x.

GigabitEthernet0/0/1

ip netstream inbound

The flow statistics function is enabled for incoming packets on GigabitEthernet0/0/1. This field is displayed only when the ip netstream command has been executed in the interface view.

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