Cisco Cisco Packet Data Gateway (PDG) Merkblatt

Seite von 8487
ACS Ruledef Configuration Mode Commands   
▀  dns return-code 
 
 
▄  Cisco ASR 5x00 Command Line Interface Reference 
788 
   
dns return-code 
This command allows you to define rule expressions to match response code in DNS response messages. 
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 ] dns return-code operator return_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 
 
=
: Equals 
return_code
 
Specifies the response code to match. 
return_code
 must be one of the following: 
 
format-error
 
 
name-error
 
 
no-error
 
 
not-implemented
 
 
refused
 
 
server-failure
 
Usage 
Use this command to define rule expressions to match response code in DNS response messages. 
Example
 
The following command defines a rule expression to match a DNS response code 
refused
dns return-code = refused