Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
titlepolicer 2mb
collapsetrue
root@QFX5110-2# set firewall policer 2G-limit if-exceeding bandwidth-limit ?
Possible completions:
  <bandwidth-limit>    Bandwidth limit (8000..50000000000 bits per second)



class-of-service {
        interfaces {
                xe-0/0/46 {
                        shaping-rate 2g;
                }


firewall {
    family ethernet-switching {
        filter 2G-limit {
            term 1 {
                then policer 2G-limit;
            }
        }
    }
    policer 2G-limit {
        if-exceeding {
            bandwidth-limit 2g;
            burst-size-limit 1250k;
        }
        then discard;
    }
}

xe-0/0/46 {
        unit 0 {
                family ethernet-switching {
                        vlan {
                                members V3000;
                        }
                        filter {
                                input 2G-limit;
                        }
                }
        }

}

...