The display ip netstream cache slot command displays information about various aggregated flows in the NetStream IPv4 flow buffer.
The display ipv6 netstream cache slot command displays information about various aggregated flows in the NetStream IPv6 flow buffer.
display ip netstream cache { source-index-tos | bgp-community } slot slot-id
display { ip | ipv6 } netstream cache { origin | as | as-tos | protocol-port | protocol-port-tos | source-prefix | source-prefix-tos | destination-prefix | destination-prefix-tos | prefix | prefix-tos | mpls-label | vlan-id | bgp-nexthop-tos | index-tos } slot slot-id
display { ip | ipv6 } netstream cache flexflowtpl record-name slot slot-id
display ip netstream cache vni-sip-dip slot slot-id
Parameter | Description | Value |
---|---|---|
slot-id |
Specifies the ID of the slot where the NetStream service board for displaying information about the NetStream flow buffer resides. |
The value is a string of 1 to 32 case-sensitive characters, spaces not supported. |
ip |
Indicates the IPv4 netstream feature. |
- |
source-index-tos |
Displays information about flows aggregated based on the source-index-ToS. |
- |
bgp-community |
Displays information about flows aggregated based on the bgp-community. |
- |
ipv6 |
Indicates the IPv6 netstream feature. |
- |
origin |
Displays information about original flows. |
- |
as |
Displays information about flows aggregated based on the AS number. |
- |
as-tos |
Displays information about flows aggregated based on the AS number and ToS. |
- |
protocol-port |
Displays information about flows aggregated based on the protocol number and port number. |
- |
protocol-port-tos |
Displays information about flows aggregated based on the protocol-port-ToS. |
- |
source-prefix |
Displays information about flows aggregated based on the source-prefix. |
- |
source-prefix-tos |
Displays information about flows aggregated based on the source-prefix-ToS. |
- |
destination-prefix |
Displays information about flows aggregated based on the destination IP address and prefix. |
- |
destination-prefix-tos |
Displays information about flows aggregated based on the destination IP address, prefix, and ToS. |
- |
prefix |
Displays information about flows aggregated based on the prefix. |
- |
prefix-tos |
Displays information about flows aggregated based on the prefix and ToS. |
- |
mpls-label |
Displays information about flows aggregated based on the MPLS label. |
- |
vlan-id |
Displays information about flows aggregated based on the VLAN-ID. |
- |
bgp-nexthop-tos |
Displays information about flows aggregated based on the BGP next hop and ToS. |
- |
index-tos |
Displays information about flows aggregated based on the index and ToS. |
- |
flexflowtpl record-name |
Specifies the name of a flexible flow template. |
The value is a string of 1 to 32 characters. |
vni-sip-dip |
Displays information about vni-sip-dip flows. |
- |
Usage Scenario
The display ip netstream cache origin command and display ipv6 netstream cache origin command display information about original flows in the NetStream flow buffer.
The command can be configured only on a physical system (PS).Precautions
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display ip netstream cache bgp-community slot 1 DstIf SrcIf Community1 Community2 Community3 Community4 Streams Packets Direction -------------------------------------------------------------------------- GI0/1/1 GI0/1/2 65536001 0 0 0 792 6266 in
<HUAWEI> display ipv6 netstream cache origin slot 1 DstIf SrcIf DstP Msk Pro Tos SrcP Msk Flags Ttl Packets Bytes NextHop Direction DstIP DstAs SrcIP SrcAs BGP: BGP NextHop TopLabelType Label1 Exp1 Bottom1 Label2 Exp2 Bottom2 Label3 Exp3 Bottom3 TopLabelIpAddress VlanId VniId CreateFlowTime LastRefreshTime VPN FlowLabel RdValue -------------------------------------------------------------------------- Unknown GigabitEthernet0/1/1 0 0 59 0 0 0 0 100 443426 56758528 :: in 2001:db8:1::1 0 2001:db8:2::2 0 :: UNKNOWN 0 0 0 0 0 0 0 0 0 0.0.0.0 0 0 2018-05-09 11:38:07 2018-05-09 11:40:30 vpn1 112706 65525:1
<HUAWEI> display ipv6 netstream cache as slot 1 DstIf SrcIf DstAs Streams Packets Direction SrcAs -------------------------------------------------------------------------- GI0/1/0 Unknown 0 985988 985988 out 0
<HUAWEI> display ip netstream cache flexflowtpl record123 slot 1 DstIf SrcIf DstP Msk Pro Tos SrcP Msk Flags Packets Bytes FirstTimeStamp LastTimeStamp NextHop Direction DstIP DstAs SrcIP SrcAs BGP: BGP NextHop Label1 Exp1 Bottom1 Label2 Exp2 Bottom2 Label3 Exp3 Bottom3 TopLabelIpAddress DstVlanId SrcVlanId -------------------------------------------------------------------------- GigabitEthernet0/1/0 GigabitEthernet0/1/1 101 24 TCP 0 100 24 FIN|RST 446453 44645300 60458 60501 192.168.1.100 in 192.168.1.0 0 192.168.1.0 0 - - - - - - - - - - - 0 0
<HUAWEI> display ip netstream cache origin slot 1 DstIf SrcIf DstP Msk Pro Tos SrcP Msk Flags Ttl Packets Bytes NextHop Direction DstIP DstAs SrcIP SrcAs BGP: BGP NextHop TopLabelType Label1 Exp1 Bottom1 Label2 Exp2 Bottom2 Label3 Exp3 Bottom3 TopLabelIpAddress VlanId VniId CreateFlowTime LastRefreshTime VPN FlowLabel RdValue -------------------------------------------------------------------------- Unknown GigabitEthernet0/1/0 0 0 253 0 0 0 0 60 3 384 0.0.0.0 in 192.168.1.3 0 192.168.1.4 0 0.0.0.0 UNKNOWN 0 0 0 0 0 0 0 0 0 0.0.0.0 0 0 2018-05-09 11:38:07 2018-05-09 11:40:30 vpn1 - -:- Unknown GigabitEthernet0/1/1 0 0 253 0 0 0 0 60 1 128 0.0.0.0 in 192.168.1.5 0 192.168.1.6 0 0.0.0.0 UNKNOWN 0 0 0 0 0 0 0 0 0 0.0.0.0 0 0 2018-05-09 11:38:07 2018-05-09 11:40:30 vpn1 - 65525:1
<HUAWEI> display ip netstream cache as slot 1 DstIf SrcIf DstAs Streams Packets Direction SrcAs -------------------------------------------------------------------------- GI0/1/0 Unknown 0 985988 985988 out 0
Item | Description |
---|---|
DstIf | Destination interfaces. |
SrcIf | Source interfaces. |
Streams | Number of aggregated flows. |
Packets | Number of passed IP packets. |
Direction | Sampling direction.
|
DstP | Destination port number. |
Msk | Source mask or destination mask. |
Pro | Protocol type. |
Tos | Service type. |
SrcP | Source port number. |
Flags | TCP flag. |
Ttl | Ttl. |
Bytes | Bytes of passed IP packets. |
NextHop | Next hop IP address. |
DstIP | Destination IP address. |
DstAs | Destination AS numbers. |
SrcIP | Source IP address. |
SrcAs | Source AS numbers. |
BGP: BGP NextHop | BGP next hop. |
TopLabelType | Type of the outer label.
|
TopLabelIpAddress | FEC. |
VlanId | The vlan ID of packets. |
VniId | The vlan ID of Vxlan tunnel. |
CreateFlowTime | Flow table creation time. |
LastRefreshTime | Flow table update time. |
VPN | Virtual Private Net. |
FlowLabel | Flow label information. |
RdValue | RD value. |
FirstTimeStamp | The time stamp of the first IP packet. |
LastTimeStamp | The time stamp of the last IP packet. |
DstVlanId | Destination Vlan ID. |
SrcVlanId | Source Vlan ID. |
Label | Label value. |
Exp | EXP value. |
Bottom | Stack bottom symbol. The value 1 indicates that the label is a bottom-of-stack label. For example, if the value of Bottom2 is 1, the packet has two labels and the outer label is the bottom-of-stack label. |
Community | Community attribute. |