SRX

last person joined: 16 hours ago 

Ask questions and share experiences about the SRX Series, vSRX, and cSRX.
  • 1.  bandwidth-limit set in srx240

    Posted 08-03-2015 02:25

    Hello all,

     

    please help! i have been rule set for 1.5mbps bandwidth limit for ge0/0/11 as per followings configuration. But it's not work nor link down.

     

    -----------

    my configuration

    -----------

      ge-0/0/11 {
    unit 0 {
    family inet {
    filter {
    output filter-1.5mpbs;
    }
    address 192.168.102.1/24;
    }
    }
    }

    ---------

    policer 1.5mpbs {
    if-exceeding {
    bandwidth-limit 1572864;
    burst-size-limit 100k;
    }
    then discard;
    }
    filter filter-1.5mpbs {
    term a {
    from {
    source-address {
    192.168.102.0/24;
    }
    }
    then {
    policer 1.5mpbs;
    accept;
    }
    }
    }
    }

     

    thks,

    George



  • 2.  RE: bandwidth-limit set in srx240

     
    Posted 08-03-2015 02:31

    Hello ,

     

    In the configuration , you need to apply the filter as input . And also make sure that you have one more term with "then accept " else all other traffic will drop  :

     

    filter filter-1.5mpbs {
    term a {
    from {
    source-address {
    192.168.102.0/24;
    }
    }
    then {
    policer 1.5mpbs;
    accept;
    }

    term b {
    then {
    accept;
    }
    }
    }
    }



  • 3.  RE: bandwidth-limit set in srx240

    Posted 08-03-2015 02:38

    Hello,

     

    thanks it's working. link is back. But bandwidth still more than 1.5mbps. pls check followings current configuraiton;

    --------------------------------

     

    ge-0/0/11 {
    unit 0 {
    family inet {
    filter {
    output filter-1.5mpbs;
    }
    address 192.168.102.1/24;
    }
    }
    }

     

    ---------------

    policer 1.5mpbs {
    if-exceeding {
    bandwidth-limit 1572864;
    burst-size-limit 100k;
    }
    then discard;
    }
    filter filter-1.5mpbs {
    term a {
    from {
    source-address {
    192.168.102.0/24;
    }
    }
    then {
    policer 1.5mpbs;
    accept;
    }
    }
    term b {
    then accept;
    }
    }
    }

     

    thanks.

    George



  • 4.  RE: bandwidth-limit set in srx240

     
    Posted 08-03-2015 02:42

    Hello ,

     

    Please make the filter as input and not output :

     

    ge-0/0/11 {
    unit 0 {
    family inet {
    filter {
    input  filter-1.5mpbs;    <<<<<<<<<<
    }
    address 192.168.102.1/24;
    }
    }
    }



  • 5.  RE: bandwidth-limit set in srx240
    Best Answer

    Posted 08-03-2015 03:12

    Hello,

     

    it's working....thanks....

     

    please sugget how to test bandwdith??

     

    thanks,

    George


    @joses wrote:

    Hello ,

     

    Please make the filter as input and not output :

     

    ge-0/0/11 {
    unit 0 {
    family inet {
    filter {
    input  filter-1.5mpbs;    <<<<<<<<<<
    }
    address 192.168.102.1/24;
    }
    }
    }



    @joses wrote:

    Hello ,

     

    Please make the filter as input and not output :

     

    ge-0/0/11 {
    unit 0 {
    family inet {
    filter {
    input  filter-1.5mpbs;    <<<<<<<<<<
    }
    address 192.168.102.1/24;
    }
    }
    }