< Home

display forward-path

Function

The display forward-path command displays collected traffic information.

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.

Format

display forward-path

Parameters

None

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

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. To check collected packet information, run the display forward-path command.

Prerequisites

The device has been configured to collect traffic information.

Example

# Display collected traffic information.

<HUAWEI> display forward-path
The brief information of forward-path(s) for L3:                                                                                    
Id       : Report id                                                                                                                
SIP      : Source IP address                                                                                                        
DIP      : Destination IP address                                                                                                   
Sport    : Source port                                                                                                              
Dport    : Destination port                                                                                                         
Pro      : Protocol type or protocol number                                                                                         
Dir      : Direction                                                                                                                
Interval : Interval time (in minutes), 0 means that the system keeps collecting                                                     
-------------------------------------------------------------------------------                                                     
Id SIP             DIP             Sport Dport Pro    Dir     Interval   Status                                                     
-------------------------------------------------------------------------------                                                     
1  10.1.1.1        10.2.2.2        -     -     -      both    10         done                                                       
                                                                                                                                    
The brief information of forward-path(s) for L2:                                                                                    
Id       : Report id                                                                                                                
SMAC     : Source MAC address                                                                                                       
DMAC     : Destination MAC address                                                                                                  
VLAN     : VLAN id                                                                                                                  
Pro      : Protocol type or protocol number                                                                                         
Dir      : Direction                                                                                                                
Interval : Interval time (in minutes), 0 means that the system keeps collecting                                                     
-------------------------------------------------------------------------------                                                     
Id SMAC             DMAC             VLAN   Pro    Dir      Interval     Status                                                     
-------------------------------------------------------------------------------                                                     
2  0001-0001-0001   0001-0001-0001   10     -      both     10           doing 
Table 1 Description of the display forward-path command output

Item

Description

Id

Report ID, that is, number of collected flows. You can run the display forward-path report command to view detailed information about inbound and outbound interfaces according to the specified report ID.

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.

The device can collect inbound and outbound interfaces and traffic information of a maximum of 8 flows.

SIP

Source IP address of collected packets.

DIP

Destination IP address of collected packets.

Sport

Source port number of collected packets.

Dport

Destination port number of collected packets.

Pro

Protocol number or type of collected packets. To configure the protocol number or type of collected packets, run the collect forward-path command.

Dir

Direction where packets are collected.

Interval

The collection duration.

Status

Status of collected packets.

SMAC

Source MAC address of collected packets.

DMAC

Destination MAC address of collected packets.

VLAN

VLAN ID of collected packets.

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