HP MSR2000/3000/4000 Router Series Security Command Reference
349
• sctp: Specifies SCTP.
• tcp: Specifies TCP.
• udp: Specifies UDP.
• udp-lite: Specifies UDP-Lite.
Usage guidelines
If no transport layer protocol is specified, all packets encapsulated by the transport layer protocols are
recognized as the packets of the specified application protocol.
If the destination port of a packet matches a general port mapping, APR recognizes the packet as that of
the specified application protocol.
If two port mappings are configured with the same port number and transport layer protocol, but with
different application protocols, the most recent configuration takes effect.
A mapping with specified transport layer protocol has higher priority than that without.
Examples
# Create a general port mapping of port 3456 to FTP.
<Sysname> system-view
[Sysname] port-mapping application ftp port 3456
Related commands
display port-mapping user-defined
port-mapping acl
Use port-mapping acl to configure an ACL-based host-port mapping.
Use undo port-mapping acl to remove an ACL-based host-port mapping.
Syntax
port-mapping application application-name port port-number [ protocol protocol-name ] acl [ ipv6 ]
acl-number
undo port-mapping application application-name port port-number [ protocol protocol-name ] acl [ ipv6 ]
acl-number
Default
An application protocol is mapped to a well-known port.
Views
System view
Predefined user roles
network-admin
Parameters
application application-name: Specifies an application protocol by its name, a case-insensitive string.
The name must be recognizable to the device.
port port-number: Specifies a port by its number, in the range of 0 to 65535.
protocol protocol-name: Specifies a transport layer protocol by its name, including:
• dccp: Specifies DCCP.










