> Traffic Performance Optimization Sample Configuration
> The following is a sample TPO configuration.
> configure
> context context_isp
> ip access-list acl_css_1
> redirect css service ecs_service ip any any
> exit
> ip pool ip_pool_tpo2 1.1.1.1 255.255.255.0 static
> interface interface_dns
> ip address 2.2.2.2 255.255.255.0
> exit
> interface interface_isp
> ip address 3.3.3.3 255.255.255.0
> exit
> subscriber default
> exit
> aaa group default
> exit
> gtpp group default
> exit
> ip route 0.0.0.0 0.0.0.0 4.4.4.4 interface_isp
> ip domain-lookup
> ip name-servers 4.4.4.4
> dns-client dns_http
> bind address 3.3.3.3
> round-robin-answers
> exit
> ip igmp profile default
> exit
> exit
> context radius
> interface aaa
> ip address 5.5.5.5 255.255.255.0
> exit
> subscriber default
> exit
> apn notpo.com
> selection-mode sent-by-ms
> ip access-group acl_css_1 in
> ip access-group acl_css_1 out
> ip context-name context_isp
> ip address pool name ip_pool_tpo2
> credit-control-group default
> active-charging rulebase default
> tpo policy tpo_policy2
> exit
> apn tpo.com
> selection-mode sent-by-ms
> ip access-group acl_css_1 in
> ip access-group acl_css_1 out
> ip context-name context_isp
> ip address pool name ip_pool_tpo2
> credit-control-group default
> active-charging rulebase rulebase1
> tpo policy tpo_policy1
> exit
> aaa authentication subscriber none
> aaa group default
> radius attribute nas-ip-address address 5.5.5.5
> radius server 6.6.6.6 encrypted key 5c4a38dc2ff61f72 port 1645
> exit
> exit
> active-charging service ecs_service
> p2p-detection protocol all
> ruledef ad_filter
> www url contains ads
> www url contains ad
> rule-application tpo
> multi-line-or all-lines
> exit
> ruledef ch_dns
> dns any-match = TRUE
> exit
> ruledef ch_ip
> ip any-match = TRUE
> exit
> ruledef ch_udp
> udp any-match = TRUE
> exit
> ruledef rt_dns
> tcp either-port = 53
> udp either-port = 53
> rule-application routing
> multi-line-or all-lines
> exit
> ruledef rt_http
> tcp either-port = 80
> rule-application routing
> exit
> ruledef rt_https
> tcp either-port = 443
> rule-application routing
> exit
> charging-action ca_nothing
> content-id 5
> ruledef tpo_rule10
> tcp any-match = TRUE
> rule-application tpo
> exit
> ruledef tpo_rule11
> http request method = get
> rule-application tpo
> exit
> group-of-ruledefs tpoG1
> group-of-ruledefs-application tpo
> add-ruledef priority 10 ruledef tpo_rule10
> add-ruledef priority 20 ruledef tpo_rule11
> exit
> rulebase rulebase1
> tcp proxy-mode static
> action priority 10000 ruledef ch_ip charging-action ca_nothing
> route priority 25 ruledef rt_dns analyzer dns
> route priority 30 ruledef rt_http analyzer http
> p2p dynamic-flow-detection
> exit
> rulebase default
> exit
> tpo profile tpo_profile_ad_filter
> tcp congestion-control westwood-plus
> tcp fast-retransmit-dupacks dynamic
> http compression
> http url-rewrite
> http ad-filter display text-with-click ClickHereToDisaplay
> http params ad-filter display bgcolor ff00cc
> exit
> tpo profile tpo_profile1
> p2p-detected cease-tpo
> tcp congestion-control westwood-plus
> http compression
> http url-rewrite
> http params compression level 9
> http params url-rewrite prefix a1b2c3d4e5f6g7h8i9j0l1m2n3o4p5q6
> http optimize-compressed-page
> http ad-filter display text-only AdsFilteredByTPO
> http params ad-filter display bgcolor 654321
> exit
> tpo policy tpo_policy1
> match-ad priority 20 tpo-ruledef ad_filter
> ad-filter ad-click-identity abcdedfghijklm
> match-rule priority 20 tpo-ruledef ad_filter tpo profile tpo_profile_ad_filter
> match-rule priority 10 tpo-group-of-ruledefs tpoG1 tpo profile tpo_profile_ad_filter
> match-rule no-ruledef-match tpo profile tpo_profile1
> exit
> tpo policy tpo_policy2
> match-rule no-ruledef-match tpo profile tpo_profile1
> end

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