robson2310@xxxx# show firewall
family inet {
filter FILTER {
term VOICE {
from {
port 5060;
}
then {
forwarding-class VOIP;
accept;
}
}
term FILE2M {
from {
source-address {
10.41.0.39/32;
}
destination-address {
10.41.8.0/24;
10.41.9.0/24;
}
}
then {
forwarding-class 2M;
accept;
}
}
term PORT2M {
from {
destination-address {
10.41.8.0/24;
10.41.9.0/24;
}
port [ 20 445 netbios-ns netbios-ssn ];
}
then {
forwarding-class 2M;
accept;
}
}
term FILE6M {
from {
source-address {
10.41.0.39/32;
}
destination-address {
10.41.2.0/24;
10.41.3.0/24;
}
}
then {
forwarding-class 6M;
accept;
}
}
term PORT6M {
from {
destination-address {
10.41.2.0/24;
10.41.3.0/24;
}
port [ 20 445 netbios-ns netbios-ssn ];
}
then {
forwarding-class 6M;
accept;
}
}
term FILE10M {
from {
source-address {
10.41.0.39/32;
}
destination-address {
10.41.16.0/24;
10.41.17.0/24;
}
}
then {
forwarding-class 10M;
accept;
}
}
term PORT10M {
from {
destination-address {
10.41.16.0/24;
10.41.17.0/24;
}
port [ 20 445 netbios-ns netbios-ssn ];
}
then {
forwarding-class 10M;
accept;
}
}
term AUTH {
from {
source-address {
10.41.0.47/32;
10.41.0.57/32;
}
}
then {
forwarding-class HIGH;
accept;
}
}
term MAIL-MNG {
from {
source-address {
10.41.0.253/32;
10.41.0.81/32;
10.41.0.83/32;
}
}
then {
forwarding-class MEDIUM;
accept;
}
}
term OTHER {
then {
forwarding-class BE;
accept;
}
}
}
}
filter rpf-special-case-dhcp-bootp {
term allow-dhcp-bootp {
from {
source-address {
0.0.0.0/32;
}
destination-address {
255.255.255.255/32;
}
}
then accept;
}
}
======
robson2310@xxxx# show firewall
forwarding-classes {
queue 0 VOIP;
queue 1 2M;
queue 2 6M;
queue 3 10M;
queue 4 MEDIUM;
queue 5 HIGH;
queue 6 BE;
queue 7 NC;
}
interfaces {
ge-0/0/15 {
scheduler-map COS-MAP;
}
}
scheduler-maps {
COS-MAP {
forwarding-class VOIP scheduler VOIP_S;
forwarding-class MEDIUM scheduler MEDIUM_S;
forwarding-class HIGH scheduler HIGH_S;
forwarding-class BE scheduler BE_S;
forwarding-class NC scheduler NC_S;
forwarding-class 2M scheduler 2M_S;
forwarding-class 6M scheduler 6M_S;
forwarding-class 10M scheduler 10M_S;
}
}
schedulers {
VOIP_S {
buffer-size percent 10;
priority high;
}
BE_S {
transmit-rate {
remainder;
}
buffer-size percent 10;
priority low;
}
2M_S {
transmit-rate 1m;
buffer-size percent 5;
priority low;
}
6M_S {
transmit-rate 3m;
buffer-size percent 5;
priority low;
}
10M_S {
transmit-rate 5m;
buffer-size percent 5;
priority low;
}
MEDIUM_S {
transmit-rate 1m;
buffer-size percent 5;
priority medium-high;
}
HIGH_S {
transmit-rate {
500k;
exact;
}
buffer-size percent 5;
priority high;
}
NC_S {
priority strict-high;
}
}
======
robson2310@xxxx# show interfaces ge-0/0/15
unit 0 {
family inet {
filter {
output FILTER;
}
}
}