Rate Limit Command

From: Nitro Drops (nitrodrops@hotmail.com)
Date: Sun Dec 14 2008 - 04:13:16 ARST


Task - Limit http traffic to 256Kbps

Qns) is there a differences between

policy-map LIMIT
 class HTTP
    police 256000

&

policy-map LIMIT
 class HTTP
   police cir 256000

I did a show policy-map output, both showings the same results

 police 256000
Rack1R4#sh policy-map interface e0/0
 Ethernet0/0

  Service-policy input: LIMIT

    Class-map: HTTP (match-all)
      0 packets, 0 bytes
      5 minute offered rate 0 bps, drop rate 0 bps
      Match: access-group name HTTP
      police:
          cir 256000 bps, bc 8000 bytes
        conformed 0 packets, 0 bytes; actions:
          transmit
        exceeded 0 packets, 0 bytes; actions:
          drop
        conformed 0 bps, exceed 0 bps

police cir 256000

Rack1R4#sh policy-map interface e0/0
 Ethernet0/0

  Service-policy input: LIMIT

    Class-map: HTTP (match-all)
      0 packets, 0 bytes
      5 minute offered rate 0 bps, drop rate 0 bps
      Match: access-group name HTTP
      police:
          cir 256000 bps, bc 8000 bytes
        conformed 0 packets, 0 bytes; actions:
          transmit
        exceeded 0 packets, 0 bytes; actions:
          drop
        conformed 0 bps, exceed 0 bps

    Class-map: class-default (match-any)
      0 packets, 0 bytes
      5 minute offered rate 0 bps, drop rate 0 bps
      Match: any

Cheers
Nit )



This archive was generated by hypermail 2.1.4 : Thu Jan 01 2009 - 12:53:08 ARST