Versions Compared

Key

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

...

schedulerjcluser@vMX-addr-0> show interfaces queue queues
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
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
titleshow interface queue

show interfaces queue ge-0/0/1

Physical interface: ge-0/0/1, Enabled, Physical link is Up Interface index: 150, SNMP ifIndex: 528 Forwarding classes: 16 supported, 4 in use Egress queues: 8 supported, 4 in use Queue: 0, Forwarding classes: BE-data Queued: Packets : 19347 1 pps Bytes : 19264960 2048 bps Transmitted: Packets : 13114 1 pps Bytes : 13119518 1536 bps Tail-dropped packets : 6233 0 pps RL-dropped packets : 0 0 pps RL-dropped bytes : 0 0 bps RED-dropped packets : 0 0 pps Low : 0 0 pps

Image Added

on 128TÂ