372
Default command level
1: Monitor level
Parameters
application-name
: Name of the application to be used for port mapping. Available applications
include FTP, H323, HTTP, HTTPS, IKE, RTSP, SMTP, SSH, and VAM.
port
port-number
: Specifies to display port mapping information on the specified port. The port
number is in the range of 0 to 65535.
|
: 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.
Examples
# Display all the information about port mapping.
<Sysname> display port-mapping
SERVICE PORT ACL TYPE
-------------------------------------------------
ftp 21 system defined
h323 1720 system defined
http 80 system defined
rtsp 554 system defined
smtp 25 system defined
ike 500 system defined
https 443 system defined
vam 18000 system defined
ssh 22 system defined
Table 59 Command output
Field Description
SERVICE
Application layer protocol that is mapped to a port.
PORT
Number of the port for the application layer protocol.
ACL
Number of the ACL specifying the host range.
TYPE
Port mapping type, system predefined or user customized.
Related commands
port-mapping
firewall aspf
Use
firewall
aspf
to apply the specified ASPF policy to the specified direction of the current
interface.
Use
undo
firewall
aspf
to remove the specified ASPF policy on the current interface.