> Sample ECS Configuration
> The following is a sample ECS configuration.
> configure
> require active-charging
> active-charging service acs_1
> ruledef rr_http_80
> tcp either-port = 80
> rule-application routing
> exit
> ruledef rr_mms_http_ct
> http content type = application/vnd.wap.mms-message
> rule-application routing
> exit
> ruledef rr_mms_http_url
> http url ends-with .mms
> rule-application routing
> exit
> ruledef rr_mms_wsp_ct
> wsp content type = application/vnd.wap.mms-message
> rule-application routing
> exit
> ruledef rr_mms_wsp_url
> wsp url ends-with .mms
> rule-application routing
> exit
> ruledef rr_wsp_cl_dst_port
> udp dst-port = 9200
> rule-application routing
> exit
> ruledef rr_wsp_cl_src_port
> udp src-port = 9200
> rule-application routing
> exit
> ruledef rr_wsp_co_dst_port
> udp dst-port = 9201
> rule-application routing
> exit
> ruledef rr_wsp_co_src_port
> udp src-port = 9201
> rule-application routing
> exit
> ruledef dns_tcp_port
> tcp either-port = 53
> rule-application routing
> exit
> ruledef dns_udp_port
> udp either-port = 53
> rule-application routing
> exit
> ruledef ftp-control-port
> tcp either-port = 21
> rule-application routing
> exit
> ruledef ftp-data-port
> tcp either-port = 20
> rule-application routing
> exit
> ruledef pop3-port
> tcp either-port = 110
> rule-application routing
> exit
> ruledef smtp-port
> tcp either-port = 25
> rule-application routing
> exit
> ruledef rtsp-port
> tcp either-port = 554
> rule-application routing
> exit
> ruledef sdp_route
> sip content type = application/sdp
> rule-application routing
> exit
> ruledef secure-http-port
> tcp either-port = 443
> rule-application routing
> exit
> ruledef sip-port
> udp either-port = 5060
> rule-application routing
> exit
> ruledef imap-port
> tcp either-port = 553
> rule-application routing
> exit
> ruledef http-pkts
> http any-match = TRUE
> exit
> ruledef http-url-google
> http url contains google
> exit
> ruledef http-url-rediff
> http url starts-with http://www.rediff.com/
> exit
> ruledef <ip_address>:*/*
> www url starts-with http://<ip_address>/
> www url starts-with http://<ip_address>:
> multi-line-or all-lines
> exit
> ruledef mms-pkts
> mms any-match = TRUE
> exit
> ruledef rtsp-pkts
> rtsp any-match = TRUE
> exit
> ruledef rtp-pkts
> rtp any-match = TRUE
> exit
> ruledef pop3-pkts
> pop3 any-match = TRUE
> exit
> ruledef smtp-pkts
> smtp any-match = TRUE
> exit
> ruledef ftp-pkts
> ftp any-match = TRUE
> exit
> ruledef imap-pkts
> imap any-match = TRUE
> exit
> ruledef sip-pkts
> sip any-match = TRUE
> exit
> ruledef sdp-pkts
> sdp any-match = TRUE
> exit
> ruledef wsp-pkts
> wsp any-match = TRUE
> exit
> ruledef wtp-pkts
> wtp any-match = TRUE
> exit
> ruledef dns-pkts
> dns any-match = TRUE
> exit
> ruledef https-pkts
> secure-http any-match = TRUE
> exit
> ruledef udp-pkts
> udp any-match = TRUE
> exit
> ruledef tcp-pkts
> tcp any-match = TRUE
> exit
> ruledef ip-pkts
> ip any-match = TRUE
> exit
> charging-action standard
> content-id 80
> retransmissions-counted
> billing-action egcdr
> cca charging credit
> exit
> charging-action nocharge
> content-id 81
> retransmissions-counted
> exit
> rulebase consumer-standard
> billing-records egcdr
> action priority 100 ruledef http-url-google charging-action standard
> action priority 101 ruledef http-url-rediff
> charging-action standard
> action priority 102 ruledef <ip_address>:*/* charging-action standard
> action priority 1000 ruledef http-pkts charging-action standard
> action priority 1100 ruledef mms-pkts charging-action standard
> action priority 1200 ruledef rtsp-pkts charging-action standard
> action priority 1300 ruledef rtp-pkts charging-action standard
> action priority 1400 ruledef smtp-pkts charging-action standard
> action priority 1500 ruledef pop3-pkts charging-action standard
> action priority 1600 ruledef dns-pkts charging-action standard
> action priority 1700 ruledef ftp-pkts charging-action standard
> action priority 1800 ruledef sip-pkts charging-action standard
> action priority 1900 ruledef sdp-pkts charging-action standard
> action priority 2000 ruledef imap-pkts charging-action standard
> action priority 2100 ruledef wsp-pkts charging-action standard
> action priority 2200 ruledef wtp-pkts charging-action standard
> action priority 2300 ruledef https-pkts charging-action standard
> action priority 2400 ruledef tcp-pkts charging-action standard
> action priority 2500 ruledef udp-pkts charging-action standard
> action priority 2600 ruledef ip-pkts charging-action nocharge
> route priority 1 ruledef rr_wsp_co_src_port analyzer wsp-connection-oriented
> route priority 2 ruledef rr_wsp_co_dst_port analyzer wsp-connection-oriented
> route priority 3 ruledef rr_wsp_cl_src_port analyzer wsp-connection-less
> route priority 4 ruledef rr_wsp_cl_dst_port analyzer wsp-connection-less
> route priority 5 ruledef rr_http_80 analyzer http
> route priority 6 ruledef rr_mms_http_ct analyzer mms
> route priority 7 ruledef rr_mms_http_url analyzer mms
> route priority 8 ruledef rr_mms_wsp_ct analyzer mms
> route priority 9 ruledef rr_mms_wsp_url analyzer mms
> route priority 10 ruledef dns_tcp_port analyzer dns
> route priority 11 ruledef dns_tcp_port analyzer dns
> route priority 15 ruledef ftp-control-port analyzer ftp-control
> route priority 16 ruledef ftp-data-port analyzer ftp-data
> route priority 17 ruledef pop3-port analyzer pop3
> route priority 18 ruledef smtp-port analyzer smtp
> route priority 19 ruledef rtsp-port analyzer rtsp
> route priority 20 ruledef sdp_route analyzer sdp
> route priority 21 ruledef secure-http-port analyzer secure-http
> route priority 22 ruledef sip-port analyzer sip
> route priority 23 ruledef imap-port analyzer imap
> rtp dynamic-flow-detection
> exit
> credit-control
> diameter origin endpoint acs-dcca.starentnetworks.com
> diameter peer-select peer minid.starentnetworks.com
> diameter dictionary dcca-custom1
> pending-traffic-treatment noquota pass
> failure-handling initial-request continue go-offline-after-tx-expiry
> failure-handling update-request continue
> failure-handling terminate-request continue
> exit
> exit

Cisco Systems Inc.
Tel: 408-526-4000
Fax: 408-527-0883