Junos Rate Limiting using a Policer

Поделиться
HTML-код
  • Опубликовано: 5 окт 2024

Комментарии • 7

  • @lght_wrkmusic3315
    @lght_wrkmusic3315 3 года назад

    Thanks so much for the video! Well explained.

  • @Ben-ju6su
    @Ben-ju6su 10 месяцев назад

    This doesn't work on my EX4200 (15.1R7.9). I have my interface setup as trunk. It's trunked to an SRX Applicance (gateway).
    Interface ge-0/0/0
    unit 0 {
    family ethernet-switching {
    port-mode trunk;
    vlan {
    members vlan-OFFICEPC;
    }
    native-vlan-id 80;
    }
    }
    " Referenced filter 'Uploading_Limit_Rate' can not be used as policer not supported on egress
    error: configuration check-out failed"

  • @monocentmonocent6619
    @monocentmonocent6619 2 года назад

    Hello. Thank you for video. Can you tell please, could we do rate limiting on SR1500 devices from J-web? If yes please show how to do this, it would be very helpfull

    • @5minutejunos
      @5minutejunos  2 года назад

      No idea, but I'll put it on my to-do list. I don't have a ton of experience using JWeb.

  • @guidoneumann9159
    @guidoneumann9159 2 года назад

    Hello! How to police clients ingress on EX4300MP MGE interfaces since the actual speed is unknown and the command "if-exceeding bandwidth-percent" is not available on EX platforms? I cannot police using the same values on 2.5G and 10G mge- interfaces since a 10G interface allows higher input than 2.5G. Thank you.

    • @5minutejunos
      @5minutejunos  2 года назад +1

      Hello and thanks for watching and for the question!
      There's no "clean" way to do this because, as you mentioned, the bandwidth-percent knob isn't present. There's likely some SLAX scripting you could do to detect the negotiated speed, then apply an apply-group w/ the appropriate policer config for that speed. I played around w/ traceoptions on a multigig switch I have to see if there's link speed output in the syslog, but it doesn't look like there is (or it's included in some dev hex output). That means an op script, which is a bit more of a lift than an event script.
      Does the work required to support policing without knowing the negotiated link-speed exceed the effort of a workflow that defines how multi-gig devices are attached to the switch?

    • @guidoneumann9159
      @guidoneumann9159 2 года назад +1

      @@5minutejunos thanks a lot for your reply and your efforts to help. I hope you realize there is a need to implement the „bandwidth-percent“ command on mge switches since your approach is rather a hack than proper configuration? Please forward to development Team if possible . Thanks