From: reindeerhoof@yahoo.co.jp
Date: Fri Dec 21 2007 - 00:32:02 ART
Sorry, re-sending with original post.
Thanks a lot.
Now that leads to another question.
If my understanding is correct, only class-default is supported under map-class.
Does this mean it is not possible to apply adaptive shaping selectively?
For example, is it possible to configure as following?
- Shape HTTP traffic to 128kbps. Reduce the rate down to 64kbps when BECN is recieved.
- Shape SMTP traffic to 512kbps. Reduce the rate down to 256kbps when BECN is recieved.
Thanks in advance.
Masa M
-----------------------------------------------------------
# From: "Fernando Carvalho" <fernando.cagica@t-online.de>
# To: <reindeerhoof@yahoo.co.jp>, <ccielab@groupstudy.com>
# Subject: AW: Adaptive shaping with MQC
# Date: Thu, 20 Dec 2007 12:08:51 +0100
# Reply-to: "Fernando Carvalho" <fernando.cagica@t-online.de>
Hi,
Even if you want to use MQC, you'll have to use a MAP-CLASS frame-relay.
With your example i would do:
map-class frame-relay SHAPE
service-policy output SHAPE
interface Serial1/0
frame-relay interface-dlci <xxxx>
class SHAPE
HTH
-----Urspr|ngliche Nachricht-----
Von: nobody@groupstudy.com [mailto:nobody@groupstudy.com] Im Auftrag von
reindeerhoof@yahoo.co.jp
Gesendet: Mittwoch, 19. Dezember 2007 08:04
An: ccielab@groupstudy.com
Betreff: Adaptive shaping with MQC
Hi,
I am trying to configure frame-relay BECN adaptive shaping using MQC
(without using FRTS).
Will this configuration work?
<Config 1>
policy-map SHAPE
class class-default
shape average 64000
shape adaptive 32000
interface Serial1/0
service-policy output SHAPE
R1#sh policy-map int
Serial1/0
Service-policy output: SHAPE
Class-map: class-default (match-any)
6 packets, 82 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)
64000/64000 2000 8000 8000 125 1000
Adapt Queue Packets Bytes Packets Bytes Shaping
Active Depth Delayed Delayed Active
- 0 0 0 0 0 no
When I take a look at the result of "sh policy-map int" as above, "-" is
displayed under "Adapt Active". Shouldn't "BECN" be displayed here if
configured correctly?
If I configure as following, "BECN" is displayed under "Adapt Active".
<Config 2>
policy-map SHAPE
class class-default
shape average 64000
shape adaptive 32000
interface Serial1/0
frame-relay class MAP
map-class frame-relay MAP
service-policy output SHAPE
R1#sh policy-map int
Serial1/0: DLCI 102 -
Service-policy output: SHAPE
Class-map: class-default (match-any)
0 packets, 0 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)
64000/64000 2000 8000 8000 125 1000
Adapt Queue Packets Bytes Packets Bytes Shaping
Active Depth Delayed Delayed Active
BECN 0 0 0 0 0 no
So I think the 2nd config will work, but what about the 1st config?
Thanks in advance.
This archive was generated by hypermail 2.1.4 : Tue Jan 01 2008 - 12:04:31 ARST