ExtremeSwitching (EXOS)

Expand all | Collapse all

How to limit BW with two source address on X460G2

  • 1.  How to limit BW with two source address on X460G2

    Posted 01-24-2019 20:48
    Hello everybody

    I want to know if it is possible to limit BW with two destination address on X460G2. I tried using policy (that I put down) with meter but it tell me that I cant use two source address.

    entry rule1 {
    if match any {
    destination-address 45.230.248.0/22;
    destination-address 181.224.232.0/24;
    }
    then{
    meter ECONO-AQP;
    }
    }
    entry rule2 {
    if match all{
    destination-address 0.0.0.0/0;
    }
    then {
    permit;
    }
    }

    Thanks for the help in advance


  • 2.  RE: How to limit BW with two source address on X460G2

    Posted 01-24-2019 21:02
    You can make each destination-address its own entry:

    entry rule10 {
    if match any {
    destination-address 45.230.248.0/22;
    }
    then{
    meter ECONO-AQP;
    }
    }
    entry rule11 {
    if match any {
    destination-address 181.224.232.0/24;
    }
    then{
    meter ECONO-AQP;
    }
    }

    This will allow the basic functionality of the ACL to work. If the traffic tags entry10 it will process the action and move on to the next piece of traffic. Also, if you are trying to only limit two individual addresses then you will want to change /22 to /32. For the ACL it will look at the range of IP addresses the mask provides.


  • 3.  RE: How to limit BW with two source address on X460G2

    Posted 01-24-2019 21:24
    Hi Patrick, thanks for the answer., the internet service we want to rate has two pools so I want to aply a rate limit for the two pools, so I think if I apply in two rules each pool will have the BW of the meter.


  • 4.  RE: How to limit BW with two source address on X460G2

    Posted 01-26-2019 14:56
    Hi,

    Only routing policy can use the "match any" criteria. ACLs are limited to a "match all" criteria, hence your error message.