display ip fast-forwarding cache

Use display ip fast-forwarding cache to display fast forwarding table information.

Syntax

display ip fast-forwarding cache [ ip-address ] [ slot slot-number ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

ip-address: Specifies an IP address. If you do not specify the ip-address argument, this command displays all fast forwarding entries.

slot slot-number: Specifies an IRF member device by its member ID. If you do not specify this option on an IRF fabric, the command displays fast forwarding entries on all member devices.

Usage guidelines

This command displays fast forwarding entries. Each entry includes the source IP address, source port number, destination IP address, destination port number, protocol number, input and output interfaces, and internal tag of a data flow.

Examples

# Display all fast forwarding entries.

<Sysname> display ip fast-forwarding cache
Total number of fast-forwarding entries: 2
SIP             SPort DIP             DPort Pro Input_If    Output_If   Flg
192.168.0.71    23    192.168.0.18    3313  6   InLoop0     M-GE0/0/0   1
192.168.0.18    3313  192.168.0.71    23    6   M-GE0/0/0   InLoop0     1

Table 30: Command output

Field

Description

SIP

Source IP address.

SPort

Source port number.

DIP

Destination IP address.

DPort

Destination port number.

Pro

Protocol number.

Input_If

Input interface type and number.

If no interface is involved in fast forwarding, this field displays N/A.

If the input interface does not exist, this field displays a hyphen (-).

Output_If

Output interface type and number.

If no interface is involved in fast forwarding, this field displays N/A.

If the output interface does not exist, this field displays a hyphen (-).

Flg

Internal tag, marking internal operation information, such as fragmentation.

Related commands

reset ip fast-forwarding cache