Cisco Cisco ASR 5000

Page of 9109
ACS Ruledef Configuration Mode Commands   
▀  if-protocol 
 
 
▄  Command Line Interface Reference, StarOS Release 18 
932 
   
Usage 
Use this command to associate different content IDs with the same ruledef, depending on the protocol being 
used. 
This command is only effective for charging ruledefs. See th
  command for information on 
how to configure charging ruledefs. 
If a particular ruledef should have three different values for content-id, depending on whether the traffic is 
connection-oriented WAP1.x, connection-less WAP1.x, or WAP2.0, within the ruledef we should have 
configuration similar to the following: 
if-protocol wsp-connection-oriented content-id 1
 
if-protocol wsp-connection-less content-id 2
 
if-protocol http content-id 3
 
Presumably, the ruledef would have another configurable like “
www url contains
 
foo
”, which would 
cause it to use different content IDs when "foo" was accessed, depending upon the protocol being used. 
Example
 
The following command associates HTTP protocol and a content ID of 
23
if-protocol http content-id 23