Cisco Cisco Packet Data Gateway (PDG)
Firewall-and-NAT Access Ruledef Configuration Mode Commands
▀ icmp code
▄ Command Line Interface Reference, StarOS Release 16
5016
icmp code
This command configures an access ruledef to analyze user traffic based on ICMPv4 code.
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 code operator code
no
Removes previously configured ICMPv4 code ruledef.
operator
Specifies how to logically match the ICMPv4 code.
operator
must be one of the following:
!=
: Does not equal
<=
: Less than or equals
=
: Equals
>=
: Greater than or equals
code
Specifies the ICMPv4 code.
code
must be an integer from 0 through 255.
Usage
Use this command to define an access ruledef to analyze user traffic based on the ICMPv4 code.
Example
The following command creates an access ruledef for analyzing user traffic using the ICMPv4 code as
23
:
icmp code = 23