[c-nsp] Traffic policing on Catalyst 4503

Chinzee toothy_2k2 at yahoo.com
Tue Jan 9 04:28:44 EST 2007


Hi all,

There is a problem on traffic shaping on Catalyst 4503. config is like this :
!
class-map match-all MatchAnyPacket
  match any 
!
!
policy-map 1Mbps
  class MatchAnyPacket
 police 1024000 bps 128000 byte conform-action transmit exceed-action drop 
!
............
interface GigabitEthernet2/44
 no switchport
 ip address 203.x.x.x 255.255.255.248
 service-policy input 1Mbps
 service-policy output 1Mbps
!
Then I saw how the effect is. The log is
######################LOG START####################
Core_SW_4503#show policy-map inter giga 2/44
 GigabitEthernet2/44 

  Service-policy input: 1Mbps

    Class-map: MatchAnyPacket (match-all)
      387565 packets
      Match: any 
      police: Per-interface
        Conform: 128643858 bytes Exceed: 76123404 bytes


    Class-map: class-default (match-any)
      0 packets
      Match: any 

  Service-policy output: 1Mbps

    Class-map: MatchAnyPacket (match-all)
      387604 packets
      Match: any 
      police: Per-interface
        Conform: 19499135 bytes Exceed: 2687511 bytes


    Class-map: class-default (match-any)
      0 packets
      Match: any 
#################### LOG END#############

I wanted to control both upload and download rate.
But on the MRTG, it shows about 1.5Mbps. Is there anything wrong with my config or other issues?
Please give some advice.

Rgds,

Chinzorig G.



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the cisco-nsp mailing list