R3303-HP HSR6800 Routers Security Command Reference

393
icmp-error drop
Use icmp-error drop to specify to drop ICMP error messages.
Use undo icmp-error drop to restore the default.
Syntax
icmp-error drop
undo icmp-error drop
Default
ICMP error messages are not dropped.
Views
ASPF policy view
Default command level
2: System level
Examples
# Configure ASPF policy 1 to drop ICMP error messages.
<Sysname> system-view
[Sysname] aspf-policy 1
[Sysname-aspf-policy-1] icmp-error drop
Related commands
aspf-policy
port-mapping
Use port-mapping to map a port to an application layer protocol.
Use undo port-mapping to remove a port mapping entry.
Syntax
port-mapping application-name port port-number [ acl acl-number ]
undo port-mapping [ application-name port port-number [ acl acl-number ] ]
Default
There is no mapping between the port and the application layer.
Views
System view
Default command level
2: System level
Parameters
application-name: Name of the application for port mapping. Available applications include FTP, H323,
HTTP, HTTPS, IKE, RTSP, SMTP, SSH, and VAM.
port port-number: Specifies the port that the application layer protocol is mapped to. The port number is
in the range of 0 to 65535.