Junos OS

Expand all | Collapse all

IP Precedence value

Jump to Best Answer
  • 1.  IP Precedence value

    Posted 04-17-2018 00:25

    Dear community,

     

    I have a question that it is not clearly stated in Juniper's documenation. If I am using a policer for the inbound traffic like below to change the forwarding class for the exceeded traffic of a higher forwarding class is there any change on the IPP value or only on the MPLS EXP bit value? 

     

    ************************

    set firewall policer Policer if-exceeding bandwidth-limit 1000000
    set firewall policer Policer if-exceeding burst-size-limit 1050000
    set firewall policer Policer then forwarding-class Bronze

    ************************

     

    I need to be assured that the inbound IP traffic values remain unchanged although the forwarding class is changing. I have found that there is specific configuration to remap the IPP value but I haven't found a specific statement for the default behavior.

     

    Thank you in advance.

     

    Haris



  • 2.  RE: IP Precedence value

    Posted 04-17-2018 01:41

    some more information about the forwarding classes

     

    *********************

    set firewall family inet filter XXX term GOLD from precedence 3
    set firewall family inet filter XXX term GOLD from precedence 4
    set firewall family inet filter XXX term GOLD then policer Policer
    set firewall family inet filter XXX term GOLD then loss-priority high
    set firewall family inet filter XXX term GOLD then forwarding-class Gold
    set firewall family inet filter XXX term GOLD then accept

     

    set firewall family inet filter XXX term BRONZE from precedence 1
    set firewall family inet filter XXX term BRONZE then policer Policer1
    set firewall family inet filter XXX term BRONZE then loss-priority low
    set firewall family inet filter XXX term BRONZE then forwarding-class Bronze
    set firewall family inet filter XXX term BRONZE then accept

    ***************************



  • 3.  RE: IP Precedence value

    Posted 04-17-2018 02:59

    NO

    if you do not define any rewrite then the classification is purely internal to the device

     

    regards

    alexander



  • 4.  RE: IP Precedence value

    Posted 04-17-2018 03:28

    Alexander,

     

    Thank you for your answer, this is what I am also thinking but is there any Juniper documentation to confirm this?

     



  • 5.  RE: IP Precedence value

    Posted 04-17-2018 05:33

    Hi!

     

    I don't think you will find a direct documentation for this but until you are using re-write rule, it will not change the original values.



  • 6.  RE: IP Precedence value
    Best Answer

    Posted 04-17-2018 05:49

    Thank you for confirmation.