< Home

display ip netstream

Function

The display ip netstream command displays NetStream configurations. You can run this command in any interface view to display the NetStream information of a specific interface, or you can run this command in the system view or the aggregation view to display the system or aggregated NetStream information.

Format

display { ip | ipv6 } netstream { cache [ slot slot-id cpu cpu-id ] | export [ template ] }

Parameters

Parameter Description Value

ip

Indicates an IPv4 data flow.

-

ipv6

Indicates an IPv6 data flow.

The NetStream aggregation view does not support this parameter.

-

cache

Displays the information about the NetStream cache of the NetStream board.

-

slot slot-id cpu cpu-id

Indicates the CPU that processes NetStream services.

Only the USG6635E/6655E, USG6680E and USG6712E/6716E support this parameter.

  • slot 11 cpu 0 indicates the primary CPU.
  • slot 12 cpu 0 indicates the secondary CPU.

export

Displays the information about the NetSteam statistics on outgoing packets.

-

template

Displays the information about the NetStream template.

-

Views

All views

Default Level

3: Management level

Usage Guidelines

The display ip netstream command displays only the interface on which NetsStream sampling is configured

The displayed information covers the NetStream aging mode, the status of sampling for incoming IPv4 packets, the sampling mode, and sampling interval. If the interface is a Layer-2 interface, the ID of the VLAN that the Layer-2 interface belongs to is also displayed.

Example

# Displays the information about the NetStream cache.

<sysname> display ip netstream cache  
 IP netstream cache information                                                 
  Stream active timeout(minute)  : 30                                           
  Stream inactive timeout(second): 1                                            
  Stream entry been created      : 105                                          
  Last clearing of statistics    : never                                        
                                                                                
 IP packet number of different size                                             
 1-80        81-552      553-576     577-612     613-1480    1481-1500   1501-  
 738         36          0           0           0           0           0      
                                                                                
                                                                                
 Protocol           Total  Packets   Stream   Packets Active(sec)   Idle(sec)   
                  Streams     /Sec     /Sec   /stream     /stream     /stream   
 ----------------------------------------------------------------------------   
 UDP-other             17        0        0         1           0           1   
 UDP-NetBios           72        2        0         3           1           1   
 TCP-Telnet            16        3        0        28           3           1   
 Total                105        6        0         7           1           1   
                                                                                
                                                                                
 DstIf            DstIP           SrcIP           Pro Tos Flgs Pkts             
 SrcIf            DstP  Msk AS    SrcP  Msk AS    NextHop                       
 BGP: BGP NextHop                                                               
 --------------------------------------------------------------------------     
                                                                                
 GigabitEthernet 0/0/1          172.16.17.255   172.16.17.159    17  0   0    3                
 GigabitEthernet 0/0/0          137   0   0     137   0   0     10.1.1.1                     
 0.0.0.0                                                                        
Table 1 Description of the display ip netstream cache command output

Item

Description

Stream active timeout(minute)

Aging time of active streams, in minutes

Stream inactive timeout(second)

Aging time of inactive streams, in minutes

Stream entry been created

Number of created streams

Last clearing of statistics

Last time when the statistics about streams are cleared

IP packet number of different size

Number of IP packets of different sizes

Protocol

Protocol packet that generates traffic

Total Streams

Number of flows generated by protocol packets

Packets /Sec

Number of protocol packets generated per second

Stream /Sec

Number of flows generated per second

Packets /stream

Number of packets contained in each flow

Active(sec) /stream

Aging of the active time of the flow

Idle(sec) /stream

Aging of the inactive time of the flow

DstIf

Destination interface contained in the NetStream information

DstIP

Destination IP address contained in the NetStream information

SrcIP

Source IP address contained in the NetStream information

Pro

Protocol number contained in the NetStream information

Tos

Priority information contained in a flow

Flgs

TCP flag field contained in the NetStream information

Pkts

Number of packets contained in the NetStream information

SrcIf

Source port number contained in the NetStream information

DstP

Destination port number contained in the NetStream information

Msk

Mask contained in the NetStream information

AS

AS domain number contained in the NetStream information

SrcPAS domain number contained in the NetStream information

Source port number

NextHop

Next-hop address contained in the NetStream information

BGP: BGP NextHop

BGP next-hop address contained in the NetStream information

# Displays the information about the NetSteam statistics on outgoing packets.

<sysname> display ip netstream export  
Version 5 export information 
Exported stream number: 1 
Exported UDP datagram number: 1 failed number:0 
Table 2 Description of the display ip netstream export command output

Item

Description

Version n

Indicates the version in which packets are exported.

Exported stream number

Indicates the number of exported flows.

Exported UDP datagram number

Indicates the number of the exported UDP packets.

failed number

Indicates the number of statistical information entries that fail to be sent.

# Displays the information about the NetStream template.

<sysname> display ip netstream export template  
Option Template export is disabled 
Option Template exported(packets) : 0 
Stream Template exported(packets) : 1 
Cache version 9 export is enabled 
Template export configuration: 
Template timeout(minutes) : 30 
Template refresh rate(packets) : 20 
Option export configuration: 
Option timeout(minutes) : 30 
Option refresh rate(packets) : 20
Table 3 Description of the display ip netstream export template command output

Item

Description

Option Template export is disabled

Disables option template export.

Option Template exported(packets)

Indicates the number of the sent Option templates.

Stream Template exported(packets)

Indicates the number of the sent stream templates.

Cache version n export is enabled

Indicates the version in which packets are exported.

Template export configuration

Indicates the current template configuration.

Template timeout(minutes)

Indicates the timeout period of sending templates.

Template refresh rate(packets)

Indicates the interval for refreshing templates.

Option export configuration

Indicates the optional template configuration.

Option timeout(minutes)

Indicates the timeout period of sending Option templates.

Option refresh rate(packets)

Indicates the timeout period of sending Option templates.

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