The display engine session table command displays the details about the IPv4 session table of an engine.
display engine session table [ source-ip source-ip-address | source-port source-port-number | destination-ip destination-ip-address | destination-port destination-port-number | protocol { tcp | udp } | [ application application-name ] ]* [ verbose ] [ slot slot-id cpu cpu-id [ thread thread-id ] ]
Parameter | Description | Value |
---|---|---|
source-ip source-ip-address | Indicates a source IP address. | The value is in dotted decimal notation. |
source-port source-port-number | Indicates a source port. | The value is an integer that ranges from 0 to 65535. |
destination-ip destination-ip-address | Indicates a destination IP address. | The value is in dotted decimal notation. |
destination-port destination-port-number | Indicates a destination port. | The value is an integer that ranges from 0 to 65535. |
protocol | Specifies the protocol in a session table. | - |
tcp | Indicates a TCP session. | - |
udp | Indicates a UDP session. | - |
application application-name | Specifies an application name. | - |
verbose | Displays session details. | - |
cpu cpu-id | Specifies a CPU ID. |
The value range depends on the device configuration. |
thread thread-id | Indicates a thread ID. | The value range depends on the device configuration. |
Usage Scenario
In a virtual system, you can view only the session statistics of the virtual system. The session information of the specified virtual system or all systems can be viewed only in the root system.
Prerequisites
Before running this command, you must run the defence engine enable command to enable the IAE.
# Display details about the IPv4 session table of an engine.
<HUAWEI> display engine session table verbose
Engine session table on slot 0 cpu 0 :
------------------------------------------------------------------------------
VSys:0 Vpn:0 Thread:0 UDP 10.0.0.1:80-->10.0.0.2:132 ttl:20 left-time:132 app: (45,QQ)
------------------------------------------------------------------------------
Item |
Description |
---|---|
Engine session table on slot 0 cpu 0 | Engine session table on a specified slot and CPU |
VSys | Name of a virtual system |
Vpn | Name of a VPN instance |
Thread | Thread ID |
UDP | UDP |
TCP | TCP |
10.0.0.1:80-->10.0.0.2:132 | Source address (10.0.0.1), source port (80), destination address (10.0.0.2), and destination port (132) |
ttl | Aging time of a session |
left-time | Remaining aging time of a session |
app: (45,QQ) | Port number (45) and protocol (QQ) of the application |