Cisco Cisco Packet Data Gateway (PDG) Folheto
Firewall-and-NAT Access Ruledef Configuration Mode Commands
icmp type ▀
Cisco ASR 5x00 Command Line Interface Reference ▄
4879
icmp type
This command configures an access ruledef to analyze user traffic based on ICMPv4 type.
Product
PSF
NAT
Privilege
Security Administrator, Administrator
Mode
Exec > ACS Configuration > Firewall-and-NAT Access Ruledef Configuration
active-charging service service_name > access-ruledef access_ruledef_name
Entering the above command sequence results in the following prompt:
[local]host_name(config-acs-fw-ruledef)#
Syntax
[ no ] icmp type operator type
no
Removes previously configured ICMPv4 type ruledef.
operator
Specifies how to logically match the ICMPv4 type.
operator
must be one of the following:
!=
: Does not equal
<=
: Less than or equals
=
: Equals
>=
: Greater than or equals
type
Specifies the ICMPv4 type.
type
must be an integer from 0 through 255.
For example, 0 for ECHO Reply, 3 for Dest. Unreachable, and 5 for Redirect.
Usage
Use this command to define an access ruledef to analyze user traffic based on the ICMPv4 type.
Example
The following command creates an access ruledef for analyzing user traffic using an ICMPv4 type as
123
:
icmp type = 123