458
Parameters
application-name: Specifies an application protocol by its name, a case-insensitive string of 1 to 63
characters. Valid characters include digits, letters, hyphens (-), and underlines (_). "invalid" or "other"
are not allowed.
Usage guidelines
Execute this command multiple times to add multiple pre-defined or user-defined application protocols to
a user-defined application group.
A maximum of 65536 user-defined application protocols can be added to an application group.
If you add a nonexistent application protocol to the application group, the system first creates the
protocol before adding it to the application group. Whether the device can recognize the packets of this
protocol depends on your configuration.
Examples
# Add HTTP and FTP to group abc.
<Sysname> system-view
[Sysname] app-group abc
[Sysname-app-group-abc] include application http
[Sysname-app-group-abc] include application ftp
Related commands
• app-group
• copy app-group
port-mapping
Use port-mapping to configure a general port mapping.
Use undo port-mapping to remove a general port mapping.
Syntax
port-mapping application application-name port port-number [ protocol protocol-name ]
undo port-mapping application application-name port port-number [ protocol protocol-name ]
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 of
1 to 63 characters. Valid characters include digits, letters, hyphens (-), and underlines (_).
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.