R3721-F3210-F3171-HP High-End Firewalls Access Control Command Reference-6PW101

35
display session table
Syntax
display session table [ vd-name vd-name ] [ source-ip source-ip ] [ destination-ip destination-ip ]
[ verbose ] [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
2: System level
Parameters
vd-name vd-name: Displays the sessions of the specified virtual device. The vd-name argument specifies
the name of a virtual device. It is a case-insensitive string of 1 to 20 characters, which can be numerals,
letters and underlines.
source-ip source-ip: Displays the sessions with the specified source IP address.
destination-ip destination-ip: Displays sessions with the specified destination IP address.
verbose: Displays detailed information about sessions. Without this keyword, the command displays
brief information about the specified sessions.
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see Getting Started Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Description
Use display session table to display information about sessions.
With no virtual device specified, the command displays the session tables of all virtual devices. With
both the source-ip and destination-ip keywords specified, the command displays only the sessions with
the specified source and destination IP addresses. With no parameters specified, the command displays
all session tables.
Examples
# Display brief information about all sessions.
<Sysname> display session table
Initiator:
Source IP/Port : 192.168.1.18/2048
Dest IP/Port : 192.168.1.55/768
Pro : ICMP(ICMP(1))
VPN-Instance/VLAN ID/VLL ID:
Initiator:
Source IP/Port : 192.168.1.18/1212
Dest IP/Port : 192.168.1.55/23
Pro : TCP(TCP(6))
VPN-Instance/VLAN ID/VLL ID: