3 Replies Latest reply: Jun 8, 2019 5:26 PM by UMUT DUYUM RSS

    cisco-question shaping/policing/wred

    Vaclav

      Hello,

      there is a practise test ( few questions publicly accessible ) on cisco and I wonder on the correct answer why it is like that

       

      why it can't be just policing in both directions, or shaping ( or WRED ), or in opposite way: A, D.

       

      If there is any documentation/book which could help me to understand the answer, I will be more than happy if you share it

       

      Thank you V.

       

       

      A service provider is designing control policies at the customer edge of the network, in order to prevent usage that exceeds the contracted terms. A new client that is contracted for only 2Gbps is connecting to the service provider edge with a 10 Gbps interface. Which two QoS strategies meet the design goal? (Choose two.)

       

      A.On the service provider edge, enable traffic shaping on the customer port.

      B.On the service provider edge, enable policing on the customer port.

      C.On the service provider edge, enable WRED on the customer port.

      D. On the customer edge device, enable policing on the interface that is connected to the service provider.

      E. On the customer edge device, enable traffic shaping on the interface that is connected to the service provider.

      F. On the customer edge, enable WRED on the interface that is connected to the service provide


      Ans: B, E

        • 1. Re: cisco-question shaping/policing/wred
          Daniel Dib CCIE #37149 CCDE #20160011

          WRED is Weighted RED, which is used for congestion avoidance. It will drop packets in order to trigger hosts sending data to detect the loss through TCP, and adjust how much they are sending. This is done to utilize the interface more efficiently and to not have massive packet loss on the interface so that all senders adjust simultaneously and cause TCP synchronization where all senders are following the same pattern in a rinse and repeat fashion.

           

          I'm not a big fan of this question because A is an acceptable answer to me. With traffic shaping, it can only be performed outbound, while policing can be performed both inbound and outbound. To set the rate to 2 Gbit/s, the SP could shape outbound on PE interface to cust and outbound on CE interface to PE. It may be more common for SP to do policing but I have seen both.

           

          So WRED is not an acceptable answer because it does not shape or police traffic. It manages the queue of packets, so called congestion avoidance.

           

          This link, while old, is a good introduction to the different QoS topics:

           

          https://www.cisco.com/c/en/us/td/docs/ios/12_2/qos/configuration/guide/fqos_c.html

          • 2. Re: cisco-question shaping/policing/wred
            Samer

            Vaclav wrote:

             

            A service provider is designing control policies at the customer edge of the network, in order to prevent usage that exceeds the contracted terms. A new client that is contracted for only 2Gbps is connecting to the service provider edge with a 10 Gbps interface. Which two QoS strategies meet the design goal? (Choose two.)

             

            A.On the service provider edge, enable traffic shaping on the customer port.

            B.On the service provider edge, enable policing on the customer port.

            C.On the service provider edge, enable WRED on the customer port.

            D. On the customer edge device, enable policing on the interface that is connected to the service provider.

            E. On the customer edge device, enable traffic shaping on the interface that is connected to the service provider.

            F. On the customer edge, enable WRED on the interface that is connected to the service provide


            Ans: B, E

            First you need to police on ISP edge toward the customer (option B)

            on customer side you can shape the traffic in order send your data within the CIR so (option E)

             

            option F is also seems right but in case of congestion as Daniel mentioned.

             

            regards,

            Hope this helped.

            • 3. Re: cisco-question shaping/policing/wred

              100 MB. if you are using network protocol, yini 100 MB to accommodate your cache. it should be, but even the latest processors are only 24 MB.