Cisco Cisco Packet Data Interworking Function (PDIF)
ACS Charging Action Configuration Mode Commands
▀ flow action
▄ Command Line Interface Reference, StarOS Release 18
406
flow action
This command allows you to specify the action to take on packets that match rule definitions.
Product
All
Privilege
Security Administrator, Administrator
Mode
Exec > ACS Configuration > Charging Action Configuration
active-charging service service_name > charging-action charging_action_name
Entering the above command sequence results in the following prompt:
[local]host_name(config-charging-action)#
Syntax
In StarOS 12.2 and later releases:
flow action { conditional user-agent end-token end_token_name | discard [ downlink |
uplink ] | random-drop interval interval_start to interval_end pkts-to-drop packet_min to
packet_max | readdress [ [ server ipv4_address/ipv6_address [ discard-on-failure ] [ dns-
proxy-bypass ] ] [ port port_number [ discard-on-failure ] [ dns-proxy-bypass ] ] |
server-list server_list_name [ hierarchy ][ round-robin ] [ dns-proxy-bypass ] [ discard-
on-failure ] ] | redirect-ocs-url | redirect-url redirect_url [ [ encryption {
blowfish128 | blowfish64 }| { { aes128 | aes256 } [salt] } } [ encrypted ] key
uplink ] | random-drop interval interval_start to interval_end pkts-to-drop packet_min to
packet_max | readdress [ [ server ipv4_address/ipv6_address [ discard-on-failure ] [ dns-
proxy-bypass ] ] [ port port_number [ discard-on-failure ] [ dns-proxy-bypass ] ] |
server-list server_list_name [ hierarchy ][ round-robin ] [ dns-proxy-bypass ] [ discard-
on-failure ] ] | redirect-ocs-url | redirect-url redirect_url [ [ encryption {
blowfish128 | blowfish64 }| { { aes128 | aes256 } [salt] } } [ encrypted ] key
key ] [
clear-quota-retry-timer ] [ first-request-only [ post-redirect { allow | discard |
terminate } ] ] ] | rulebase-change rulebase_name | terminate-flow | terminate-session |
url-readdress server ipv4_address [ port port_number ] }
terminate } ] ] ] | rulebase-change rulebase_name | terminate-flow | terminate-session |
url-readdress server ipv4_address [ port port_number ] }
no flow action
In StarOS 12.1 and earlier releases:
flow action { conditional user-agent end-token end_token_name | discard [ downlink |
uplink ] | random-drop interval interval_start to interval_end pkts-to-drop packet_min to
packet_max | redirect-url redirect_url [ clear-quota-retry-timer ] | readdress [ server
ipv4_address/ipv6_address ] [ port port_number ] | terminate-flow | terminate-session }
uplink ] | random-drop interval interval_start to interval_end pkts-to-drop packet_min to
packet_max | redirect-url redirect_url [ clear-quota-retry-timer ] | readdress [ server
ipv4_address/ipv6_address ] [ port port_number ] | terminate-flow | terminate-session }
no flow action
no
If previously configured, deletes the flow action configuration in the current charging action.
conditional user-agent end-token end_token_name
Specifies to conditionally redirect the HTTP packets matched to a configured user-agent to a specified URL.
The user agent is configured using the
The user agent is configured using the
redirect user-agent
command in the ACS Configuration Mode.
end_token_name
must be an alphanumeric string of 1 through 32 characters, and is configured with this
command to end the redirection condition.