The display forward-path report command displays traffic statistics.
Only the S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730-H, S6730S-H, S6730-S, and S6730S-S support this command.
Parameter | Description | Value |
---|---|---|
report-id | Specifies the ID of collected traffic. | The value is an integer that ranges from 1 to 8. The IDs are displayed according to the sequence in which the collect forward-path command was executed. If an ID is deleted, the existing IDs remain unchanged. The ID configured later is displayed in the position of the deleted ID. For example, IDs 1 and 2 exist on the device. If ID 1 is deleted, ID 2 remains unchanged. If the collect forward-path command is used, the new ID is displayed in the position of deleted ID 1. |
Usage Scenario
To locate faults and understand the traffic forwarding path, run the collect forward-path command to configure the device to collect traffic information. Then run the display forward-path report command to check the collection result.
Prerequisites
The device has been configured to collect traffic information.
# Display traffic statistics of the report ID 1.
<HUAWEI> display forward-path report 1 Source IP address : 10.1.1.1 Destination IP address : 10.2.2.2 Source port : - Destination port : - Protocol type : - Direction : both Interval time : 10 minute(s) Status : doing Start time : 2010-12-30 11:39:11 End time : - -------------------------------------------------------------------------------- Port Eth-Trunk Packets Bytes Direction -------------------------------------------------------------------------------- GE0/0/1 1 6555 20 ingress GE0/0/2 - 6555 20 egress
# Display traffic statistics of the report ID 2.
<HUAWEI> display forward-path report 2 Source MAC address : 0005-0005-0005 Destination MAC address : 0006-0006-0006 L2 protocol type : arp VLAN id : 5 Direction : both Interval time : 1440 minute(s) Status : doing Start time : 2015-11-23 17:15:33+02:00 End time : - -------------------------------------------------------------------------------- Port Eth-Trunk Packets Bytes Direction ------------------------------------------------------------------------------- GE0/0/1 - 46004724 0 ingress GE0/0/2 - 45999397 0 ingress
Item |
Description |
---|---|
Source IP address |
Source IP address of collected packets. |
Destination IP address |
Destination IP address of collected packets. |
Source port |
Source port number of collected packets. |
Destination port |
Destination port number of collected packets. |
Protocol type |
Protocol number or type of collected packets. To configure the protocol number or type of collected packets, run the collect forward-path command. |
Direction |
Direction where packets are collected. |
Interval time |
The collection duration. |
Status |
Collected packet status. |
Start time |
Start time when packets were collected. |
End time |
End time when packets were collected. |
Port |
Inbound and outbound interfaces of packets. |
Eth-Trunk |
Eth-Trunk that interfaces join. |
Source MAC address |
Source MAC address of collected packets. |
Destination MAC address |
Destination MAC address of collected packets. |
L2 protocol type |
Layer 2 protocol type of collected packets. |
VLAN id |
VLAN ID of collected packets. |
Packets |
Number of forwarded packets. |
Bytes |
Number of forwarded bytes. |