So, I am trying to implement some QoS Traffic Shaping on my Cisco 877 to ensure certain clients on the network do not hose my bandwidth.
Have played with a couple of things but cannot get it to work.
For testing I am plugged into fe0 with my system and am trying to shape FTP traffic to have 90% bandwidth over anything else.
This is what I currently have on fe0
And this is the relevant config:
You cannot apply GTS to ATM0, Dialer1 etc so thats why it is on fe0 with the shape average of 1680000 (I'm on 2Mbit but I have understated it to make sure I am triggering). Am I missing something?
I start a HTTP download off and it takes 100% of the bandwidth, then I trigger a FTP download which should trigger shaping, but the shaping is not happening.
Help please!
Have played with a couple of things but cannot get it to work.
For testing I am plugged into fe0 with my system and am trying to shape FTP traffic to have 90% bandwidth over anything else.
This is what I currently have on fe0
Code:
sinhome#show policy-map interface fastEthernet 0
FastEthernet0
Service-policy output: SHAPE_LAN
Class-map: class-default (match-any)
358 packets, 21480 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: any
Traffic Shaping
Target/Average Byte Sustain Excess Interval Increment
Rate Limit bits/int bits/int (ms) (bytes)
1680000/1680000 10500 42000 42000 25 5250
Adapt Queue Packets Bytes Packets Bytes Shaping
Active Depth Delayed Delayed Active
- 0 358 21480 0 0 no
Service-policy : FTPSHAPE
Class-map: PREMIUM (match-any)
0 packets, 0 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: protocol nfs
0 packets, 0 bytes
5 minute rate 0 bps
Queueing
Output Queue: Conversation 73
Bandwidth 90 (%)
Bandwidth 1512 (kbps) Max Threshold 64 (packets)
(pkts matched/bytes matched) 0/0
(depth/total drops/no-buffer drops) 0/0/0
Class-map: class-default (match-any)
273 packets, 16380 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: any
Queueing
Output Queue: Conversation 74
Bandwidth 10 (%)
Bandwidth 168 (kbps) Max Threshold 64 (packets)
(pkts matched/bytes matched) 0/0
(depth/total drops/no-buffer drops) 0/0/0
And this is the relevant config:
Code:
class-map match-any PREMIUM
match protocol ftp
!
!
policy-map FTPSHAPE
class PREMIUM
bandwidth percent 90
class class-default
bandwidth percent 10
!
policy-map SHAPE_LAN
class class-default
shape average 1680000
service-policy FTPSHAPE
!
interface FastEthernet0
description LAN
service-policy output SHAPE_LAN
You cannot apply GTS to ATM0, Dialer1 etc so thats why it is on fe0 with the shape average of 1680000 (I'm on 2Mbit but I have understated it to make sure I am triggering). Am I missing something?
I start a HTTP download off and it takes 100% of the bandwidth, then I trigger a FTP download which should trigger shaping, but the shaping is not happening.
Help please!
Last edited: