Routing

 View Only
last person joined: yesterday 

Ask questions and share experiences about ACX Series, CTP Series, MX Series, PTX Series, SSR Series, JRR Series, and all things routing, including portfolios and protocols.
  • 1.  Class based forwarding concept confusion

    Posted 02-17-2024 20:58
    Edited by LEEBAHI 02-17-2024 20:59

    Hi everyone,

    I am not very clear about the logic behind class based forwarding.

    https://www.juniper.net/documentation/us/en/software/junos/traffic-mgmt-qfx/cos/topics/concept/cos-based-forwarding-overview-cos-config-guide.html

    Based on the above link, I am guessing CBF is used  only when:

    1) When a router  has per packet load balanced enabled and can reach certain destination say X through more than one next-hop. In such case, next hop will be selected based on the hashing algorithm.

    If we want  to select next hop based on COS forwarding class rather than allowing hashing algorithm to choose next hop in above case, we can use class based forwarding .

    Am I correct ?

    Thanks !!



    ------------------------------
    Be kind!!
    ------------------------------



  • 2.  RE: Class based forwarding concept confusion
    Best Answer

    Posted 02-19-2024 05:39
    Edited by LEEBAHI 02-19-2024 19:16

    Hi, 

    Seems to me you complicate a bit the matter. You use CBF, when you need it. It's like PBR. 

    "Class-of-service (CoS)-based forwarding (CBF) enables you to control next-hop selection based on a packet's class of service and, in particular, the value of the IP packet's precedence bits."

    There are not so many nodes, where you have load-balancing. 
    In case of load-balancing (just one of the cases), you get the sharing links by real-time packets, which can degrade the quality of an application. 

    So you can try to apply CBF as a solution. 

    WBW, 
    Dmitry



    ------------------------------
    Dmitry Maksimov
    ------------------------------