|
Hello,
The IOS is version 12.2
When I type "service-policy output restrict-to-1.5" under the interface configuration, it accepts it without any errors, but when I do show run, under the interface, it only shows "service-policy input restrict-to-1.5"
So I did some more research and found another way which seems to be cleaner and work better but I still cannot achieve a close bandwidth limit result. Below is my new configuration which suppose to limit the bandwidth to 2Mbps on FastEthernet0/1 and 3Mbps on FastEthernet0/2, but the bandwidth is a lot lower, for example instead of 3 Mbps, I'm getting 1.7 Mbps download and 0.61 Mbps upload. When I remove the service-policy, I get the correct bandwidth of 10 Mbps upload and download.
I appreciate any help.
Here is the new configuration:
mls qos aggregate-policer 2000k 2000000 25000 exceed-action drop mls qos aggregate-policer 3000k 3000000 25000 exceed-action drop mls qos ! class-map match-all traffic1 match ip dscp default cs1 cs2 cs3 cs4 cs5 cs6 cs7 ! ! policy-map traffic_2000k class traffic1 police aggregate 2000k ! policy-map traffic_3000k class traffic1 police aggregate 3000k ! ! interface FastEthernet0/1 switchport mode access service-policy input traffic_2000k service-policy output traffic_2000k load-interval 30 spanning-tree portfast ! interface FastEthernet0/2 switchport mode access service-policy input traffic_3000k service-policy output traffic_3000k load-interval 30 spanning-tree portfast
|