[c-nsp] asr1001-x : dynamic qos on virtual-template
Brian Turnbow
b.turnbow at twt.it
Mon Feb 15 10:26:25 EST 2021
Hi
We set a parent class with the shape average of the line ( assuming you know the speed)
policy-map 4M32k-parent
class class-default
shape average 4000000
service-policy 4M32k
And then use priority for a voice queue
policy-map 4M32k
class VoIP-RTP
priority 32
class class-default
bandwidth remaining ratio 1
Note that bandwidth remaining ratio may not do what you think.
It is a way to divide the remaining bandwidth between subscribers.
So a sub with bandwidth remaining ratio 2 gets double the allocated bandwidth of a sub with bandwidth remaining ratio 1 in case of interface congestion
Take a look at the explanation here
https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/qos_plcshp/configuration/xe-16-5/qos-plcshp-xe-16-5-book/qos-plcshp-dist-rem-bw.html
Brian
> -----Original Message-----
> From: cisco-nsp <cisco-nsp-bounces at puck.nether.net> On Behalf Of BASSAGET
> Cédric
> Sent: Monday, February 15, 2021 3:01 PM
> To: Karsten Thomann <karsten_thomann at linfre.de>
> Cc: Cisco-nsp <cisco-nsp at puck.nether.net>
> Subject: Re: [c-nsp] asr1001-x : dynamic qos on virtual-template
>
> policy-map child
> class QOS-class-voip
> police cir 10000000
> conform-action transmit
> exceed-action drop
> class generic_data
> bandwidth remaining percent 90
> policy-map parent
> class class-default
> shape average 100000000
> service-policy child
>
>
>
> results in the same error :
> Feb 15 14:00:20.145: %QOS-6-POLICY_INST_FAILED: Service policy installation
> failed on SSS session identifier 34 -. service-policy not applicable for interface
> features. policy:parent, dir:OUT, ptype:, ctype:DEFAULT Regards
>
>
> Le lun. 15 févr. 2021 à 14:52, Karsten Thomann via cisco-nsp < cisco-
> nsp at puck.nether.net> a écrit :
>
> >
> >
> >
> > ---------- Forwarded message ----------
> > From: Karsten Thomann <karsten_thomann at linfre.de>
> > To: cisco-nsp at puck.nether.net
> > Cc:
> > Bcc:
> > Date:
> > Subject: Re: [c-nsp] asr1001-x : dynamic qos on virtual-template Have
> > you tried setting exceed-action drop instead of transmit for voice?
> >
> > Am Montag, 15. Februar 2021, 14:42:34 schrieb BASSAGET Cédric:
> > > note that I have the same error message with :
> > >
> > > policy-map parent
> > > class class-default
> > > shape average 100000000
> > > service-policy child
> > >
> > > Le lun. 15 févr. 2021 à 14:38, BASSAGET Cédric
> > > <cedric.bassaget.ml at gmail.com> a écrit :
> > > > 100% of the bandwidth of the virtual-access interface linked to
> > > > the virtual-template on which I attach the policy-map
> > > >
> > > > Le lun. 15 févr. 2021 à 14:07, Gert Doering <gert at greenie.muc.de>
> > > > a
> > > >
> > > > écrit :
> > > >> Hi,
> > > >>
> > > >> On Mon, Feb 15, 2021 at 01:51:33PM +0100, BASSAGET Cédric wrote:
> > > >> > policy-map parent
> > > >> >
> > > >> > class class-default
> > > >> >
> > > >> > shape average percent 100
> > > >> >
> > > >> > service-policy child
> > > >>
> > > >> "average percent 100" of... what?
> > > >>
> > > >> gert
> > > >> --
> > > >> "If was one thing all people took for granted, was conviction
> > > >> that if
> > you
> > > >>
> > > >> feed honest figures into a computer, honest figures come out.
> > > >> Never
> > > >>
> > > >> doubted
> > > >>
> > > >> it myself till I met a computer with a sense of humor."
> > > >>
> > > >> Robert A. Heinlein, The Moon is a
> > > >> Harsh
> > > >>
> > > >> Mistress
> > > >>
> > > >> Gert Doering - Munich, Germany
> > > >> gert at greenie.muc.de
> > >
> > > _______________________________________________
> > > 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/
> >
> >
> >
> >
> > ---------- Forwarded message ----------
> > From: Karsten Thomann via cisco-nsp <cisco-nsp at puck.nether.net>
> > To: cisco-nsp at puck.nether.net
> > Cc:
> > Bcc:
> > Date: Mon, 15 Feb 2021 08:52:32 -0500 (EST)
> > Subject: Re: [c-nsp] asr1001-x : dynamic qos on virtual-template
> > _______________________________________________
> > 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/
> >
> _______________________________________________
> 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