I just tried implementing CB-GTS myself and it seems to be working fine.
R1#show run | s class|policy|service-policy|interface Serial1/0
class-map match-all R4R5
match fr-dlci 102
match protocol icmp
policy-map GTS
class R4R5
drop
policy-map SHAPE
class class-default
shape average 8000
service-policy GTS
interface Serial1/0
service-policy output SHAPE
*Checking ping via DLCI 102:*
R4#ping 25.25.25.5
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 25.25.25.5, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)
*Checking ping via DLCI 103 *
R4#ping 36.36.36.6
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 36.36.36.6, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 44/58/64 ms
*Checking matches in service policy on the interface:*
R1#show policy-map inter ser1/0
Serial1/0
Service-policy output: SHAPE
Class-map: class-default (match-any)
24 packets, 1680 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)
8000/8000 2000 8000 8000 1000 1000
Adapt Queue Packets Bytes Packets Bytes Shaping
Active Depth Delayed Delayed Active
- 0 11 1048 0 0 no
Service-policy : GTS
Class-map: R4R5 (match-all)
*5 packets, 520 bytes*
5 minute offered rate 0 bps, drop rate 0 bps
Match: fr-dlci 102
Match: protocol icmp
*drop*
Class-map: class-default (match-any)
19 packets, 1160 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: any
best regards,
Arseniy S. Ivanov
On 16.03.2014 20:08, Sam Bibby wrote:
Hey all,
Every time i think I have a grasp on QoS I hit more issues.
Firstly here is what I think I know (don't worry, its not much.. random
numbers used, typos excused)
1) When you setup just QoS using the MQC you can match protocols under
class-maps via NBAR example:
!
class-map CMAP_ICMP
match proto icmp
!
policy-map PMAP_ICMP
class CMAP_ICMP
priority 54 4000
!
2) When you shape you use the CB-GTS to shaping as follows:
!
policy-map PMAP_SHAPE
class class-default
shape ave 51200 8000 0
!
Ok, so what gives here & my question(s) arise.
1) If i want to then use my CBWFQ policy that uses NBAR matching I cannot
nest this inside a CB-GTS like so;
!
policy-map PMAP_SHAPE
shape ave 51200 8000 0
service-policy PMAP_ICMP
!
*note i was applying this to a sub-interface fe0/0.1 if that is why I had
problems.
2) To make this work, I need to change my CBWFQ policy so that it does not
use NBAR matching as follows:
!
ip access-list ext ACL_ICMP
permit icmp any any
!
class-map CMAP_ICMP
match access-gro ACL_ICMP
!
*And this now will nest happily under the CB-GTS.
So, and thanks for sticking with me, what I want to know is, is this
statement true:
*When performing CB-GTS (regardless of interface) you cannot nest a CB-WFQ
policy that uses NBAR matching.....*
I have done my googling, but you know I find it easier to write this out,
helps me visualize the problem.
If you can put me right, I would be most grateful.. :)
Your pal,
\Sam
Blogs and organic groups at http://www.ccie.net
Received on Sun Mar 16 2014 - 21:35:42 ART
This archive was generated by hypermail 2.2.0 : Thu Apr 03 2014 - 17:12:31 ART