< Home

display netstream cache ip record

Function

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

Format

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

If the destination mac-address mac-address, source mac-address mac-address, ttl ttl-number, or vlan vlan-id parameter is specified, the verbose parameter must be specified too.

Parameters

Parameter

Description

Value

record-name

Specifies the name of a flexible flow statistics template.

It must be an existing template name on the device.

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.

destination mac-address mac-address

Specifies the destination MAC address of packets.

-

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.

source mac-address mac-address

Specifies the source MAC address of packets.

-

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.

ttl ttl-number

Specifies the TTL value of packets.

The value is an integer that ranges from 1 to 255.

vlan vlan-id

Specifies the VLAN ID of packets.

The value is an integer that ranges from 1 to 4094.

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 flexible flows on the device.

Precaution

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

Example

# Display IPv4 flexible flow statistics on the device.

<HUAWEI> display netstream cache ip record record1 slot 0 verbose
NOTE:    L4 Info: Source Port:Destination Port:Protocol
         TCP Flags: Ack, Fin, Push, Reset, Syn, Urgent
NetStream cache information:
--------------------------------------------------------------------------------
 SrcIP                DstIP              L4 Info            DstAS     Direction
 SrcIf                DstIf              TCP Flags          SrcAS     ToS
 NextHop              BGPNextHop         Octets             Packets   TTL
 SMAC                 DMAC               VLAN
--------------------------------------------------------------------------------
 255.255.255.255      255.255.255.255    0:0:0              100       OUT
 GE0/0/10             GE0/0/11           0:0:0:0:0:0        --        0
 10.1.1.1             10.1.1.1           528                4         20
 df:b8:19:b3:f5:c0    00:00:00:01:01:01  60   
--------------------------------------------------------------------------------
Table 1 Description of the display netstream cache ip record 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.

SrcIP

Source IP address of packets.

DstIP

Destination IP address of packets.

DstAS

Destination AS number of packets.

Direction

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

SrcIf

Source interface of packets.

DstIf

Destination interface of packets.

SrcAS

Source AS number of packets.

ToS

ToS field of packets.

NextHop

Next hop address.

BGPNextHop

Address of the BGP next hop.

Octets

Number of octets in packets.

Packets

Number of packets.

TTL

TTL value of packets.

SMAC

Source MAC address of packets.

DMAC

Destination MAC address of packets.

VLAN

VLAN ID of packets.

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