381
|
: Filters command output by specifying a regular expression. For more information about regular
expressions, see
Fundamentals Configuration 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.
Usage guidelines
With no slot number specified, the command displays the relationship table entries of all cards.
Examples
# Displays all relationship table entries.
<Sysname> display session relation-table
Local IP/Port Global IP/Port MatchMode
192.168.1.22/99 10.153.2.22/99 Local
APP:QQ Pro:UDP TTL:2000s AllowConn:10
Local IP/Port Global IP/Port MatchMode
192.168.1.100/99 10.153.2.100/99 Local
APP:FTP Pro:TCP TTL:2000s AllowConn:10
Total find: 2
Table 62 Command output
Field Description
Local IP/Port
IP address/port number of the inside network.
Global IP/Port
IP address/ port number of the outside network.
MatchMode
Match mode from session table to relationship table:
•
Local
—The source IP address/source port of a new session
are matched against Local IP/Port in the relation table.
•
Global
—The destination IP address and destination port of a
new session are matched against Global IP/Port in the relation
table.
•
Either
—The IP/port of a new session are matched against
Local IP/Port or Global IP/Port in the relation table.
App
Application layer protocol, FTP, MSN, or QQ.
Pro
Transport layer protocol, TCP, or UDP.
TTL
Remaining lifetime of the relationship table entry, in seconds.
AllowConn
Number of sessions allowed by the relationship table entry.
Total find
Total number of found relationship table entries.
display session statistics
Use
display session statistics
to display statistics for the sessions.
Syntax
In standalone mode:
display session statistics
[
slot
slot-number
] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
In IRF-mode: