Versions Compared

Key

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

...

scheduler
on vMXLink

set chassis fpc 0 flexible-queuing-mode


forwarding class


Code Block
titleforwading class
collapse
true
jcluser@vMX-addr-0> show configuration class-of-service
forwarding-classes {
    queue 0 BE-data;
    queue 1 Premium-data;
    queue 2 Voice;
    queue 3 NC;
}


Scheduler


Code Block
titlescheduler
jcluser@vMX-addr-0> show configuration class-of-service
interfaces {
    ge-0/0/0 {
        scheduler-map test-map;
    }
    ge-0/0/1 {
        scheduler-map test-map;
    }
}
scheduler-maps {
    test-map {
        forwarding-class BE-data scheduler BE-data;
    }
}
schedulers {
    BE-data {
        transmit-rate {
            3200;
            exact;
        }
        inactive: buffer-size percent 25;
        inactive: priority low;
    }
}

jcluser@vMX-addr-0> show configuration class-of-service | display set
set class-of-service forwarding-classes queue 0 BE-data
set class-of-service forwarding-classes queue 1 Premium-data
set class-of-service forwarding-classes queue 2 Voice
set class-of-service forwarding-classes queue 3 NC
set class-of-service interfaces ge-0/0/0 scheduler-map test-map
set class-of-service interfaces ge-0/0/1 scheduler-map test-map
set class-of-service scheduler-maps test-map forwarding-class BE-data scheduler BE-data
set class-of-service schedulers BE-data transmit-rate 3200
set class-of-service schedulers BE-data transmit-rate exact
set class-of-service schedulers BE-data buffer-size percent 25
deactivate class-of-service schedulers BE-data buffer-size
set class-of-service schedulers BE-data priority low
deactivate class-of-service schedulers BE-data priority

jcluser@vMX-addr-0>


apply to firewall

set firewall family inet filter hard-filter term 20 then forwarding-class BE-data


Code Block
titlefirewall
jcluser@vMX-addr-0> show configuration firewall | display set
set firewall family inet filter hard-filter term discard-all then discard
deactivate firewall family inet filter hard-filter term discard-all
set firewall family inet filter hard-filter term 20 from protocol udp
set firewall family inet filter hard-filter term 20 from source-port 1280
set firewall family inet filter hard-filter term 20 then count udp-bfd-traffic
set firewall family inet filter hard-filter term 20 then forwarding-class BE-data
set firewall family inet filter hard-filter term 20 then accept
set firewall family inet filter hard-filter term 25 from protocol tcp
set firewall family inet filter hard-filter term 25 from source-port 1280
set firewall family inet filter hard-filter term 25 then count tcp-bfd-traffic
set firewall family inet filter hard-filter term 25 then forwarding-class BE-data
set firewall family inet filter hard-filter term 25 then accept
set firewall family inet filter hard-filter term 30 from protocol udp
set firewall family inet filter hard-filter term 30 then count all-udp-traffic
set firewall family inet filter hard-filter term 30 then forwarding-class BE-data
set firewall family inet filter hard-filter term 30 then accept
set firewall family inet filter hard-filter term 40 then count everythingelse
set firewall family inet filter hard-filter term 40 then log
set firewall family inet filter hard-filter term 40 then accept



show commands
queues

show interfaces queue ge-0/0/1

on 128T 


...