< Home

display netstream cache ip origin

Function

The display netstream cache ip origin command displays details about IPv4 original flow statistics on a device.

Format

display netstream cache ip origin [ { inbound | outbound } | destination interface interface-type interface-number | destination ip ip-address | destination port port-number | source interface interface-type interface-number | source ip ip-address | source port port-number | protocol protocol-type | tos tos-number ] * slot slot-id [ verbose ]

Parameters

Parameter

Description

Value

inbound

Specifies incoming packets.

-
outbound

Specifies outgoing packets.

-
destination interface interface-type interface-number

Specifies the destination interface of packets.

-
destination ip ip-address

Specifies the destination IP address of packets.

-
destination port port-number

Specifies the destination port number of packets.

The value is an integer that ranges from 0 to 65535.
source interface interface-type interface-number

Specifies the source interface of packets.

-
source ip ip-address

Indicates the source IP address of packets.

-
source port port-number

Specifies the source port number of packets.

The value is an integer that ranges from 0 to 65535.
protocol protocol-type

Specifies the protocol type of packets.

The value is an integer that ranges from 0 to 255.
tos tos-number

Specifies the ToS value of packets.

The value is an integer that ranges from 0 to 255.
slot slot-id

Specifies the slot ID.

The value depends on the device configuration.

verbose

Displays detailed information.

-

Views

All views

Default Level

3: Management level

Usage Guidelines

Usage Scenario

This command displays real-time statistics on IPv4 original flows on the device.

Precaution

This command must be executed before the flows age out; otherwise, no information will be displayed.

Example

# Display details about IPv4 original flow statistics on the device.

<HUAWEI> display netstream cache ip origin slot 0 verbose
NOTE:    L4 Info: Source Port:Destination Port:Protocol
         TCP Flags: Ack, Fin, Push, Reset, Syn, Urgent
NetStream cache information:
--------------------------------------------------------------------------------
 SrcIf               SrcIP/Mask            DstIP/Mask           L4 Info
 ToS                 Direction             SrcAS                DstAS
 DstIf               TCP Flags             Octets               Packets
 NextHop             BGPNextHop
--------------------------------------------------------------------------------
 GE0/0/5             10.1.1.2/--           10.1.1.1/--          0:0:114
 0                   IN                    --                   --
 --                  0:0:0:0:0:0           5200                 50
 --                  --
--------------------------------------------------------------------------------
..........................
Table 1 Description of the display netstream cache ip origin command output

Item

Description

NOTE

Note.

L4 Info: Source Port:Destination Port:Protocol

Transport-layer information of packets: including source port, destination port, and protocol type.

TCP Flags: Ack, Fin, Push, Reset, Syn, Urgent

TCP flag of packets: including ACK, Fin, Push, Reset, Syn, and Urgent.

NetStream cache information

NetStream flow information.

SrcIf

Source interface of packets.

SrcIP/Mask

Source IP address and mask of packets.

DstIP/Mask

Destination IP address and mask of packets.

ToS

ToS of packets.

Direction

Packet sampling direction:
  • IN: inbound direction
  • OUT: outbound direction

SrcAS

Source AS number of packets.

DstAS

Destination AS number of packets.

DstIf

Destination interface of packets.

Octets

Number of octets in packets.

Packets

Number of packets.

NextHop

Next hop address.

BGP NextHop

BGP next hop address.

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