[c-nsp] Qos between CE and PE

Alexandre Snoeck alex at alsn.be
Wed Apr 30 05:39:10 EDT 2008


I'm using this on a Cisco 2821 (revision 53.51) with 251904K/10240K bytes of 
memory with Version 12.3(8r)T7 IOS for the CE side and a Cisco 7206VXR 
(NPE-G1) processor (revision B) with 229376K/32768K bytes of memory with 
Version 12.3(4r)T3 IOS.

I'm still having some trouble with a basic config that doesn't work.

CE side
---------
class-map match-all FTP-server
 match access-group 110
!
policy-map FTP
 class FTP-server
  bandwidth percent 75
!
interface GigabitEthernet0/0
 bandwidth 10240
 ip address 192.168.100.1 255.255.255.0
 service-policy output FTP
 duplex auto
 speed 10


PE side
---------
class-map match-all FTP-server
 match access-group 110
!
policy-map FTP
  class FTP-server
  bandwidth percent 75
!
interface GigabitEthernet0/1
 bandwidth 10240
 ip address 192.168.100.2 255.255.255.0
 duplex auto
 speed 10
 media-type rj45
 no negotiation auto
 service-policy output FTP


Any ideas?


Alex



On Friday 25 April 2008 15:38:20 you wrote:
> what is the router model/platform you are trying this on?
>
> 	oli
>
> Alexandre Snoeck <mailto:asnoeck at alsn.be> wrote on Friday, April 25,
>
> 2008 3:34 PM:
> > Hello
> >
> > Thanks for the replies.
> >
> > The 75% bandwidth is a test to make sure everything works. If this
> > works all
> > other protocol should work. It's a first test to qos.
> >
> > I changed the priority to bandwidth. Thas was from another config i
> > had and
> > forgot to change to bandwith.
> >
> > With on both sides bandwith configured and also on interfaces it
> > still doesn't work.
> >
> > Heres what i get from the show command:
> >
> > Service-policy output: FTP
> >  Class-map: FTP-server (match-all)
> >  995346 packets, 65694270 bytes
> >  5 minute offered rate 0 bps, drop rate 0 bps
> >  Match: access-group 110
> >  Queueing
> >  Output Queue: Conversation 265
> >  Bandwidth 75 (%)
> >  Bandwidth 7680 (kbps) Max Threshold 64 (packets)
> >  (pkts matched/bytes matched) 3048/200976
> >  (depth/total drops/no-buffer drops) 0/0/0
> >  Class-map: class-default (match-any)
> >  295565 packets, 270019896 bytes
> >  5 minute offered rate 0 bps, drop rate 0 bps
> >  Match: any
> >
> > Its the same on both sides.
> >
> > Any other ideas?
> >
> > Alex
> >
> > On Friday 25 April 2008 13:36:22 you wrote:
> >> Alex,
> >>
> >> if you use the MQC "percent" keyword, make sure you set your
> >> interface bandwidth accordingly. What does "show policy-map
> >> interface" tell you about the bandwidth for the class you've used?
> >> I wouldn't use priority queue for this, "bandwidth" (as used on the
> >> "PE") is just fine for this.
> >>
> >> 	oli
> >>
> >> alex at alsn.be <> wrote on Friday, April 25, 2008 1:28 PM:
> >>> Hello,
> >>>
> >>> I tried to enable Qos between to routers. I checked configurations
> >>> on several sites but didn't get it to work.
> >>>
> >>> here are the relevant parts of the configs:
> >>>
> >>> On the CE router:
> >>>
> >>> class-map match-all FTP-server
> >>>  match access-group 110
> >>> !
> >>> policy-map FTP
> >>>  class FTP-server
> >>>   priority percent 75
> >>> !
> >>> interface GigabitEthernet0/0
> >>>  ip address 192.168.100.1 255.255.255.0
> >>>  service-policy output FTP
> >>>  duplex auto
> >>>  speed 10
> >>> !
> >>> access-list 110 permit ip any host 192.168.3.10
> >>>
> >>> On the PE router:
> >>>
> >>> class-map match-all FTP-server
> >>>  match access-group 110
> >>> !
> >>> policy-map FTP
> >>>   class FTP-server
> >>>     bandwidth percent 75
> >>> !
> >>> interface GigabitEthernet0/1
> >>>  ip address 192.168.100.2 255.255.255.0
> >>>  duplex auto
> >>>  speed 10
> >>>  media-type rj45
> >>>  no negotiation auto
> >>>  service-policy output FTP
> >>> !
> >>> access-list 110 permit ip host 192.168.3.10 any
> >>>
> >>> I have one host on the CE and two hosts on PE. 192.168.3.10 is a FTP
> >>> server that should get 75% bandwith. On the other host i run Iperf
> >>> to use the bandwidth.
> >>>
> >>> When i start a ftp connection and then the Iperf (or the other way
> >>> around) The ftp drops to 50kbs.
> >>>
> >>>
> >>> Any idea how to stay around 750kbs on the ftp connection?
> >>>
> >>> Thanks
> >>>
> >>>
> >>> _______________________________________________
> >>> cisco-nsp mailing list  cisco-nsp at puck.nether.net
> >>> https://puck.nether.net/mailman/listinfo/cisco-nsp
> >>> archive at http://puck.nether.net/pipermail/cisco-nsp/


More information about the cisco-nsp mailing list