• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 918
  • Last Modified:

How do i limit bandwidth for a certain web site ona cisco 1700 /2800

Hi There
i am trying to allocate a maximum bandwidth to a website by using cisco MQC for QOS

in this example i am trying to limit the bandwidth to speedtest.net to 135Kbps download

i just cant get it to work, i have included the whole router config to show that i have enabled nbar and ip cef

any thoughts
version 12.3
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Adamrtr
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$dvy/$zfvbrVJSiByX.a7esvymp0
!
memory-size iomem 25
mmi polling-interval 60
no mmi auto-configure
no mmi pvc
mmi snmp-timeout 180
no aaa new-model
ip subnet-zero
ip cef
!
!
!
ip dhcp pool adpool
   network 192.168.0.0 255.255.0.0
   dns-server 208.67.222.222 208.67.220.220
   default-router 192.168.0.1
   domain-name What_a_Twat
   lease infinite
!
ip audit po max-events 100
ip name-server 208.67.222.222
!
!
username adam privilege 15 password 0 powercox
!
!
!
class-map match-all webmatch
  match protocol http url "*speedtest.net*"
!
!
policy-map enforce
  class webmatch
   police 135000
!
!
!
!
!
interface ATM0
 no ip address
 ip nbar protocol-discovery
 no atm ilmi-keepalive
 dsl operating-mode auto
 pvc 0/38
  encapsulation aal5mux ppp dialer
  dialer pool-member 1
 !
!
interface FastEthernet0
 ip address 192.168.0.1 255.255.0.0
 ip nat inside
 ip nbar protocol-discovery
 speed auto
 service-policy input enforce
!
interface Dialer1
 ip address *.*.*.* 255.255.255.248
 ip nat outside
 ip nbar protocol-discovery
 encapsulation ppp
 dialer pool 1
 ppp chap hostname zen167239@zen
 ppp chap password 7 075833445F5B03333C
 ppp pap sent-username **********@zen password 7 075833445F5B03333C
!
ip nat pool natpool *.*.*.* *.*.*.* netmask 255.255.255.248
ip nat inside source list nat pool natpool overload
ip classless
ip route 0.0.0.0 0.0.0.0 Dialer1
no ip http server
no ip http secure-server
!
ip access-list extended nat
 permit ip 192.168.0.0 0.0.255.255 any
!
!
line con 0
 password powercox
 login local
line aux 0
line vty 0 4
 password powercox
 login local
!
end

Open in new window

0
adam_merritt
Asked:
adam_merritt
1 Solution
 
thesherminatorCommented:
please try

match protocol http host "*speedtest.net*" instead of URL

for host, it should be service policy output, not input

Thanks
0

Featured Post

Transaction-level recovery for Oracle database

Veeam Explore for Oracle delivers low RTOs and RPOs with agentless transaction log backup and transaction-level recovery of Oracle databases. You can restore the database to a precise point in time, even to a specific transaction.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now