< Home

display port-mapping

Function

Using the display port-mapping command, you can view information of port mapping.

Format

display port-mapping [ application application-name | port port-number ] [ vpn-instance { vpn-instance-name | public } ]

Parameters

Parameter Description Value
application application-name Specifies the name of an application. The value must be the name of an existing application.
port port-number

Specifies the port number of application layer protocol.

The value ranges from 0 to 65535.
vpn-instance vpn-instance-name

Specifies the name of a VPN instance.

The value must be the name of an existing VPN.

public

The public system.

-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

None

Example

# Display information of port mapping.

<sysname> display port-mapping
 Port-mapping total numbers: 1   
  APPLICATION                      ID    PORT  ACL     
 -----------------------------------------------------             
  FTP                              5     2121  2000    
Table 1 Description of the display port-mapping command output

Item

Description

APPLICATION Name of an application.
ID Application ID.
PORT The port of the application layer protocol.
ACL The ACL number applied by port mapping.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >