Cisco Cisco ASR 5700

Page of 8994
ACS Ruledef Configuration Mode Commands   
▀  icmp code 
 
 
▄  Command Line Interface Reference, StarOS Release 17 
916 
   
icmp code 
This command allows you to define rule expressions to match value in the Code field of ICMP packets. 
Product
 
ACS 
Privilege
 
Security Administrator, Administrator 
Mode
 
Exec > ACS Configuration > Ruledef Configuration 
active-charging service service_name > ruledef ruledef_name
 
Entering the above command sequence results in the following prompt: 
[local]host_name(config-acs-ruledef)# 
Syntax
 
[ no ] icmp code operator code 
no
 
If previously configured, deletes the specified rule expression from the current ruledef. 
operator
 
Specifies how to match. 
operator
 must be one of the following: 
 
!=
: Does not equal 
 
<=
: Lesser than or equals 
 
=
: Equals 
 
>=
: Greater than or equals 
code
 
Specifies the ICMP code to match. 
code
 must be an integer from 0 through 255. 
Usage 
Use this command to define rule expressions to match a code field of ICMP packets. 
Example
 
The following command defines a rule expression to match ICMP code 
11
icmp code = 11