09-02-2005 07:14 AM - edited 03-03-2019 10:25 AM
Please see the following configurations at both the main router and the remote router:
===========================
Main Router Configuration
class-map match-all gold
match access-group 130
!
access-list permit ip host 1.1.1.1 any "exchange server"
access-list permit ip host 1.1.1.5 any "DNS 1"
access-list permit ip host 1.1.1.7 any "DNS 2"
access-list permit ip host "All related servers for the exchange" any
!
policy-map testshaping
class gold
bandwidth percent 70
!
interface Serial5/0:0
description Frame Relay E1
no ip address
encapsulation frame-relay
load-interval 30
frame-relay traffic-shaping
frame-relay lmi-type ansi
!
!
interface Serial5/0:0.555 point-to-point
description Connection to remote router RouterA
ip address 192.168.1.201 255.255.255.252
frame-relay interface-dlci 555
class RouterA_class
load-interval 30
!
map-class frame-relay RouterA_class
frame-relay fragment 320
frame-relay cir 252832
frame-relay bc 2530
frame-relay be 0
frame-relay mincir 252832
service-policy output testshaping
=====================================
RouterA configuration (remote router)
access-list 130 permit ip any host 1.1.1.1
access-list 130 permit ip any host 1.1.1.3
..............................
class-map match-all class1
match access-group 130
policy-map test
class class1
bandwidth percent 70
!
interface Serial0/0/0
bandwidth 256
ip address 10.10.10.1 255.255.255.252
service-policy output test
encapsulation frame-relay
load-interval 30
frame-relay interface-dlci 555
frame-relay lmi-type ansi
=====My question is :
I download a file from FTP server, and you know its consumes all the available bandwidth (it must matched by class-default by default), when i try to use my email address (exchange) for example it is very slow and from my configurations it is must guarantee 70% of the available bandwidth to the exchange traffic, can you please help me!
You can see the show fram-relay pvc 555
MainRouter#show frame-relay pvc 555
PVC Statistics for interface Serial5/0:0 (Frame Relay DTE)
DLCI = 555, DLCI USAGE = LOCAL, PVC STATUS = ACTIVE, INTERFACE = Serial5/0:0.555
input pkts 590334 output pkts 798170 in bytes 54023692
out bytes 493379597 dropped pkts 283 in pkts dropped 0
out pkts dropped 283 out bytes dropped 334925
late-dropped out pkts 283 late-dropped out bytes 334925
in FECN pkts 0 in BECN pkts 89323 out FECN pkts 0
out BECN pkts 0 in DE pkts 590334 out DE pkts 0
out bcast pkts 50038 out bcast bytes 4127118
30 second input rate 2000 bits/sec, 6 packets/sec
30 second output rate 3000 bits/sec, 4 packets/sec
pvc create time 4d05h, last time pvc status changed 07:32:34
fragment type end-to-end fragment size 320
cir 252832 bc 2530 be 0 limit 316 interval 10
mincir 252832 byte increment 316 BECN response no IF_CONG no
frags 0 bytes 0 frags delayed 0 bytes delayed 0
shaping inactive
traffic shaping drops 0
service policy testshaping
Serial5/0:0.555: DLCI 555 -
Service-policy output: testshaping
Class-map: gold (match-all)
277 packets, 77273 bytes
30 second offered rate 0 bps, drop rate 0 bps
Match: access-group 130
Queueing
Output Queue: Conversation 41
Bandwidth 70 (%)
Bandwidth 176 (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)
5363 packets, 5065520 bytes
30 second offered rate 1000 bps, drop rate 0 bps
Match: any
Output queue size 0/max total 600/drops 0
Thanks in advance
09-02-2005 08:02 AM
Hello Carl,
from your output, it looks like you have no packets matching your classes. Try and configure the classes as 'match-any', e.g. 'class-map match-any gold'. With the 'match-all' statement, packets would only match when all the conditions in the access list apply, which is not very likely.
Can you try that and see if that makes a difference ?
Regards,
GP
09-02-2005 11:36 AM
Sorry, i cleared the counters before i post this output.
I checked that and it is o.k matched. but all the ftp packets consumed all the bandwidth, and when i'm trying to open for example my email it is very slow, from the configurtion it must reserve the bandwidth percent 70 but really it did not.
I'm asking if anything missing at my configuraition.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide