
C613-50186-01 Rev B
Command Reference for AR2050V
2628
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
A
PPLICATION
AND
E
NTITY
C
OMMANDS
ICMP
-
TYPE
icmp-type
Overview
Use this command to configure an ICMP message type for an application.
The ICMP protocol has many messages that are identified by a “type” field. For the
full list of the ICMP type assignments, you can visit the Internet Assigned Numbers
Authority (IANA) Web site:
www.iana.org
.
Use the
no
variant of this command to restore the ICMP message type its default,
which is deny.
Syntax
icmp-type {<
type-number
>|any}
no icmp-type
Default
The default ICMP type is any.
Mode
Application Mode
Usage
You should configure the ICMP type only for applications that use protocol ICMP.
To configure the application protocol, see the
You can specify only one ICMP message type for an application. The newly
specified type will replace the previous one.
Examples
To specify ICMP message type
8
(echo) for application
openVPN
, use the
commands:
awplus#
configure terminal
awplus(config)#
application openVPN
awplus(config-application)#
icmp-type 8
To specify ICMP message type as any type for application
openVPN
, use the
commands:
awplus#
configure terminal
awplus(config)#
application openVPN
awplus(config-application)#
icmp-type any
To restore the ICMP message type to its default for application
openVPN
, use the
commands:
awplus#
configure terminal
awplus(config)#
application openVPN
awplus(config-application)#
no icmp-type
Parameter
Description
<
type-number
>
Specify an ICMP message type number in the range of 0 to 255.
any
Any ICMP message type in the range of 0 to 255.