The display netstream cache ipv6 record command displays details about IPv6 flexible flow statistics on a device.
display netstream cache ipv6 record record-name [ { inbound | outbound } | destination interface interface-type interface-number | destination ipv6 ipv6-address | destination port port-number | destination mac-address mac-address | source interface interface-type interface-number | source ipv6 ipv6-address | source port port-number | source mac-address mac-address | flowlabel flowlabel | protocol protocol-type | tos tos-number | ttl ttl-number | vlan vlan-id ] * slot slot-id [ verbose ]
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 ipv6 ipv6-address | Specifies the destination IPv6 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 ipv6 ipv6-address | Specifies the source IPv6 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. | - |
flowlabel flowlabel | Specifies the flow label of packets. |
The value is an integer that ranges from 0 to 1048575. |
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. |
- |
Usage Scenario
This command displays real-time statistics on IPv6 flexible flows on the device.
Precaution
This command must be executed before the flows age out; otherwise, no information will be displayed.
# Display IPv6 flexible flow statistics on the device.
<HUAWEI> display netstream cache ipv6 record test slot 0 verbose NOTE: L4 Info: Source Port:Destination Port:Protocol TCP Flags: Ack, Fin, Push, Reset, Syn, Urgent NetStream cache information: -------------------------------------------------------------------------------- SrcIP SrcIf L4 Info DstIP DstIf ToS NextHop SrcAS DstAS BGPNextHop FlowLabel Direction TCP Flags Octets Packets SMAC VLAN TTL DMAC -------------------------------------------------------------------------------- FC00:1::2 GE0/0/10 0:0:0 FC00:3::2 GE0/0/11 0 FC00:2::2 -- -- FC00:2::2 0 OUT 0:0:0:0:0:0 6204 47 df:b8:19:b3:f5:c0 60 20 00:00:00:01:01:01 --------------------------------------------------------------------------------
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 IPv6 address of packets. |
SrcIf |
Source interface of packets. |
DstIP |
Destination IPv6 address of packets. |
DstIf |
Destination interface of packets. |
ToS |
ToS of packets. |
NextHop | Next hop address. |
SrcAS | Source AS number of packets. |
DstAS | Destination AS number of packets. |
BGPNextHop | Address of the BGP next hop. |
FlowLabel |
IPv6 flow label. |
Direction |
Packet sampling direction:
|
Octets |
Number of octets in packets. |
Packets |
Number of packets. |
SMAC | Source MAC address of packets. |
VLAN | VLAN ID of packets. |
TTL | TTL value of packets. |
DMAC | Destination MAC address of packets. |