[GTER] Fwd: Dúvida com QoS
Bruno Camargo
mustardahc at gmail.com
Wed May 11 10:58:12 -03 2011
Cisco 2821, IOS 12.4.15T10 advipservices.
H3C 3020, Comware versio 5.20.
2011/5/10 Rafael M. Koike <r.koike at terra.com.br>
> qual é o equipamento e versão do IOS?
>
> Em 9 de maio de 2011 13:56, Bruno Camargo <mustardahc at gmail.com> escreveu:
>
> > Srs,
> >
> > Estou desenhando uma solução de QoS com 6 classes de serviço.
> >
> > - MARKING
> > COS1 - conform = EF :: exceed = DROP
> > COS2a - conform = AF31 :: exceed = AF32
> > COS2b - conform = AF32 :: exceed = AF21
> > COS3a - conform = AF21 :: exceed = AF22
> > COS3b - conform = AF22 :: exceed = Default
> > COS4 - conform = Default :: exceed = Default
> >
> > O problema é que a remarcação entre classes não está rolando, ou seja, o
> > downgrade não está sendo feito.
> >
> > Por exemplo. Digamos que o police para COS2a seja 256kbps e para COS2b
> seja
> > 128Kbps. Ao gerar 384Kbps de tráfego com o Iperf eu vejo no destino
> 256kbps
> > marcados como AF31 e 128Kbps como AF32.
> >
> > Até ai tudo bem. Porém, quando gero mais tráfego do que a limíte da
> classe,
> > o excedente do excedente não é remarcado para AF21.
> >
> > Ao gerar 512Kbps, eu esperava ver 256Kbps como AF31, 128Kbps como AF32 e
> os
> > 128Kbps restantes como AF21, mas esse tráfego não é re-remarcado, e chega
> > no
> > destino como AF32.
> >
> > Ou seja, se um determinado tipo de tráfego for gerado em excesso vai
> > consumir a banda das classes inferiores na totalidade.
> >
> > Segue a configuração.
> >
> > interface GigabitEthernet0/0
> > description link to H3C E0/0
> > bandwidth 10000
> > ip address 10.1.1.2 255.255.255.0
> > ip route-cache flow
> > ip ospf hello-interval 3
> > load-interval 30
> > duplex auto
> > speed 10
> > service-policy input INGRESS_REVIEW
> > service-policy output EGRESS_SHAPER
> > !
> > policy-map EGRESS_SHAPER
> > class class-default
> > shape average 3072000 shape max-buffers 4096 service-policy QE_ETH_3072K
> > !
> > policy-map QE_ETH_3072K
> > class QE_COS1
> > priority 1024 128000
> > service-policy PE_COS1
> > class QE_COS2_A
> > bandwidth remaining percent 25
> > random-detect dscp-based
> > service-policy PE_COS2_A
> > class QE_COS2_B
> > bandwidth remaining percent 10
> > random-detect dscp-based
> > service-policy PE_COS2_B
> > class QE_COS3_A
> > bandwidth remaining percent 25
> > random-detect dscp-based
> > service-policy PE_COS3_A
> > class QE_COS3_B
> > bandwidth remaining percent 5
> > random-detect dscp-based
> > service-policy PE_COS3_B
> > class class-default
> > bandwidth remaining percent 5
> > random-detect dscp-based
> > service-policy PE_COS4
> > !
> > policy-map PE_COS1
> > class PE_COS1
> > police cir 1024000 bc 64000 conform-action set-dscp-transmit ef
> > exceed-action drop
> > policy-map PE_COS2_A
> > class PE_COS2_A
> > police cir 768000 bc 48000 conform-action set-dscp-transmit af31
> > exceed-action set-dscp-transmit af32
> > policy-map PE_COS2_B
> > class PE_COS2_B
> > police cir 256000 bc 16000 conform-action set-dscp-transmit af32
> > exceed-action set-dscp-transmit af21
> > policy-map PE_COS3_A
> > class PE_COS3_A
> > police cir 768000 bc 48000 conform-action set-dscp-transmit af21
> > exceed-action set-dscp-transmit af22
> > policy-map PE_COS3_B
> > class PE_COS3_B
> > police cir 128000 bc 8000 conform-action set-dscp-transmit af22
> > exceed-action set-dscp-transmit default
> > policy-map PE_COS4
> > class class-default
> > police cir 128000 bc 8000 conform-action set-dscp-transmit default
> > exceed-action set-dscp-transmit default
> > !
> > class-map match-any PE_COS1
> > match ip dscp ef
> > match access-group name COS1
> > class-map match-any QE_COS1
> > match ip dscp ef
> > match access-group name COS1
> > class-map match-any PE_COS3_A
> > match ip dscp af21
> > match access-group name COS3_A
> > class-map match-any QE_COS2_A
> > match ip dscp af31
> > match access-group name COS2_A
> > class-map match-any QE_COS3_A
> > match ip dscp af21
> > match access-group name COS3_A
> > class-map match-any PE_COS2_A
> > match ip dscp af31
> > match access-group name COS2_A
> > class-map match-any PE_COS2_B
> > match ip dscp af32
> > match access-group name COS2_B
> > class-map match-any QE_COS3_B
> > match ip dscp af22
> > match access-group name COS3_B
> > class-map match-any QE_COS2_B
> > match ip dscp af32
> > match access-group name COS2_B
> > class-map match-any PE_COS3_B
> > match ip dscp af22
> > match access-group name COS3_B
> > !
> > ip access-list extended COS1
> > permit ip any any dscp ef
> > permit tcp any any eq 46
> > permit udp any any eq 46
> > ip access-list extended COS2_A
> > permit ip any any dscp af31
> > permit tcp any any eq 1031
> > permit udp any any eq 1031
> > ip access-list extended COS2_B
> > permit ip any any dscp af32
> > permit tcp any any eq 1032
> > permit udp any any eq 1032
> > ip access-list extended COS3_A
> > permit ip any any dscp af21
> > permit tcp any any eq 1021
> > permit udp any any eq 1021
> > ip access-list extended COS3_B
> > permit ip any any dscp af22
> > permit tcp any any eq 1022
> > permit udp any any eq 1022
> > ip access-list extended COS4
> > permit ip any any
> > !
> >
> > Alguém enxerga algo de errado com a configuração acima?
> >
> > Obrigado!
> >
> > --
> > Bruno Camargo
> >
> >
> >
> > --
> > Bruno Camargo
> >
> >
> >
> >
> > --
> > Bruno Camargo
> > --
> > gter list https://eng.registro.br/mailman/listinfo/gter
> >
> >
> --
> gter list https://eng.registro.br/mailman/listinfo/gter
>
--
Bruno Camargo
More information about the gter
mailing list