The display netstream cache vxlan record command displays detailed VXLAN flexible flow statistics.
display netstream cache vxlan inner-ip [ ipv6 ] 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 ]
When destination mac-address mac-address, source mac-address mac-address, ttl ttl-number, or vlan vlan-id is specified, the verbose parameter must also be specified.
The S5720-HI does not support this command.
Parameter |
Description |
Value |
---|---|---|
ipv6 |
Displays detailed IPv6 information about VXLAN flexible flows. If this parameter is not specified, detailed IPv4 information about VXLAN flexible flows is displayed by default. |
- |
record-name |
Specifies the name of a flexible flow statistics template. |
It must be an existing template name on the switch. |
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 in the range 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 |
Specifies the source IP address of packets. |
- |
source port port-number |
Specifies the source port number of packets. |
The value is an integer in the range 0 to 65535. |
source mac-address mac-address |
Specifies the source MAC address of packets. |
- |
protocol protocol-type |
Specifies the packet protocol type. |
The value is an integer in the range from 0 to 255. |
tos tos-number |
Specifies the ToS value of packets. |
The value is an integer in the range from 0 to 255. |
ttl ttl-number |
Specifies the TTL value of packets. |
The value is an integer in the range from 1 to 255. |
vlan vlan-id |
Indicates the VLAN ID of packets. |
The value is an integer in the range from 1 to 4094. |
slot slot-id |
Specifies a slot ID. |
The value depends on the actual configuration. |
verbose |
Displays detailed information. |
- |
Usage Scenario
This command displays detailed real-time VXLAN flexible flow statistics.
Precautions
This command must be executed before the flows age out; otherwise, no information will be displayed.
# Display detailed IPv4 information about VXLAN flexible flows on the switch.
<HUAWEI> display netstream cache vxlan inner-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 VNI -------------------------------------------------------------------------------- 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 --------------------------------------------------------------------------------
Item |
Description |
---|---|
NOTE |
Note. |
L4 Info: Source Port:Destination Port:Protocol |
Transport-layer information of packets, including the source port number, destination port number, and protocol type. |
TCP Flags: Ack, Fin, Push, Reset, Syn, Urgent |
TCP flag of a packet, 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:
|
SrcIf |
Source interface of packets. |
DstIf |
Destination interface of packets. |
SrcAS |
Source AS number of packets. |
ToS |
ToS value of packets. |
NextHop |
Next-hop IP address in a route. |
BGPNextHop |
IP 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. |
VNI |
VNI ID of packets. |