Cisco Cisco Packet Data Gateway (PDG)

Seite von 9109
ACS Rulebase Configuration Mode Commands   
▀  extract-host-from-uri 
 
 
▄  Command Line Interface Reference, StarOS Release 18 
704 
   
extract-host-from-uri 
This command allows you to configure whether to use the host name embedded in the URI as the host field, when the 
host field option in the HTTP or Wireless Session Protocol (WSP) header is absent. 
Product
 
ACS 
Privilege
 
Security Administrator, Administrator 
Mode
 
Exec > ACS Configuration > Rulebase Configuration 
active-charging service service_name > rulebase rulebase_name
 
Entering the above command sequence results in the following prompt: 
[local]host_name(config-rule-base)# 
Syntax
 
extract-host-from-uri { http | wsp ) + 
{ default | no } extract-host-from-uri 
default
 
Configures this command with its default setting. 
Default: Disabled; same as 
no extract-host-from-uri
 
no
 
If previously configured, disables the extract-host-from-uri configuration, for both HTPP and WSP, from the 
current rulebase. 
http | wsp
 
Specifies the protocol(s). 
+
 
Indicates that more than one of the previous keywords can be entered within a single command. 
Usage 
If the host field is not present in HTTP/WSP header, this command will extract host from the URI, and store 
it in the host field to enable “http host” and “wsp host” rule matches using the stored value. 
Important:
  Applying the 
extract-host-from-uri
 command a second time will overwrite the previous 
configuration. For example, if you apply the command 
extract-host-from-uri http wsp http
, and then apply 
the command 
extract-host-from-uri http wsp
, extraction of host from URI will happen only for WSP analyzer. 
Example