SRX Services Gateway
SRX Services Gateway

Need a better COS scheme

a week ago

I have a basic COS scheme. It only really sets AF.

Because of standard limitations i am limited by

the SRX. The ge-0/0/0 is not the same as the

other interfaces. If you know srx then you know

this. Can someone help me make all the interfaces

like an Enterprise setup which includes all queues.

 

I want an enterprise scheme.

Im on SRX240b2 with 12.1X46-D55.3

 

I have this.

 

class-of-service {
    classifiers {
        dscp MyClassifier {
            forwarding-class best-effort {
                loss-priority low code-points 000000;
            }
            forwarding-class expedited-forwarding {
                loss-priority low code-points 101110;
            }
            forwarding-class assured-forwarding {
                loss-priority low code-points [ 001010 001100 001110 010010 010100 010110 011010 011100 011110 100010 100100 100110 ];
            }
            forwarding-class network-control {
                loss-priority low code-points [ 110000 111000 ];
            }
        }
    }
    drop-profiles {
        MyDropProfile {
            fill-level 100 drop-probability 1;
        }
    }
    interfaces {
        ge-0/0/0 {
            unit 0 {
                forwarding-class assured-forwarding;
                scheduler-map MyScheduler;
            }
        }
        ge-0/0/1 {
            unit 0 {
                forwarding-class assured-forwarding;
                scheduler-map MyScheduler;
            }
        }
        ge-0/0/2 {
            unit 0 {
                forwarding-class assured-forwarding;
                scheduler-map MyScheduler;
            }
        }
        ge-0/0/3 {
            unit 0 {
                forwarding-class assured-forwarding;
                scheduler-map MyScheduler;
            }
        }
        ge-0/0/4 {
            unit 0 {
                forwarding-class assured-forwarding;
                scheduler-map MyScheduler;
            }
        }
        ge-0/0/5 {
            unit 0 {
                forwarding-class assured-forwarding;
                scheduler-map MyScheduler;
            }
        }
        ge-0/0/6 {
            unit 0 {
                forwarding-class assured-forwarding;
                scheduler-map MyScheduler;
            }
        }
        ge-0/0/7 {
            unit 0 {
                forwarding-class assured-forwarding;
                scheduler-map MyScheduler;
            }
        }
        ge-0/0/8 {
            unit 0 {
                forwarding-class assured-forwarding;
                scheduler-map MyScheduler;
            }
        }
        ge-0/0/9 {
            unit 0 {
                forwarding-class assured-forwarding;
                scheduler-map MyScheduler;
            }
        }
        ge-0/0/10 {
            unit 0 {
                forwarding-class assured-forwarding;
                scheduler-map MyScheduler;
            }
        }
        ge-0/0/11 {
            unit 0 {
                forwarding-class assured-forwarding;
                scheduler-map MyScheduler;
            }
        }
        ge-0/0/12 {
            unit 0 {
                forwarding-class assured-forwarding;
                scheduler-map MyScheduler;
            }
        }
        ge-0/0/13 {
            unit 0 {
                forwarding-class assured-forwarding;
                scheduler-map MyScheduler;
            }
        }
        ge-0/0/14 {
            unit 0 {
                forwarding-class assured-forwarding;
                scheduler-map MyScheduler;
            }
        }
        ge-0/0/15 {
            unit 0 {
                forwarding-class assured-forwarding;
                scheduler-map MyScheduler;
            }
        }
        vlan {
            unit 0 {
                forwarding-class assured-forwarding;
                scheduler-map MyScheduler;
            }
        }
    }
    scheduler-maps {
        MyScheduler {
            forwarding-class best-effort scheduler be-scheduler;
            forwarding-class expedited-forwarding scheduler ef-scheduler;
            forwarding-class assured-forwarding scheduler af-4G-scheduler;
            forwarding-class network-control scheduler nc-scheduler;
        }
    }
    schedulers {
        nc-scheduler {
            transmit-rate exact;
            buffer-size exact;
            priority low;
        }
        ef-scheduler {
            transmit-rate 57646000;
            shaping-rate 221576000;
            buffer-size exact;
            priority low;
        }
        be-scheduler {
            transmit-rate 57646000;
            shaping-rate 221576000;
            buffer-size exact;
            priority low;
        }
        af-scheduler {
            transmit-rate 57646000;
            shaping-rate 221576000;
            buffer-size exact;
            priority low;
        }
        af-4G-scheduler {
            transmit-rate 57646000;
            shaping-rate 221576000;
            buffer-size percent 100;
            priority high;
        }
    }
}