[j-nsp] QOS (Network Control traffic Queue)

Chris Kawchuk juniperdude at gmail.com
Mon Mar 12 15:17:03 EDT 2012


Here's the secret sauce you're looking for to remap NC to something else, as well as change the DSCP value of any IP packet you generate from the RE:

/* Change the name of the original nc queue to Queue-3, and rename Queue-7 to 'Network-Control' */
forwarding-classes {                    
    queue 7 Network-Control;            
    queue 6 Queue-6;                      
    queue 5 Queue-5;                   
    queue 4 Queue-4;                   
    queue 3 Queue-3;                       
    queue 2 Queue-2;                     
    queue 1 Queue-1;                     
    queue 0 Best-Effort;                
} 

/* Force our own traffic into queue 7 for egress, and DSCP mark it as 7 for downstream honouring */
host-outbound-traffic {                 
    forwarding-class Network-Control;   
    dscp-code-point cs7;                
}                     

Naturally, you'd have to build new schedulers and DSCP mappings around this new queue configuration.

- CK.
                  




More information about the juniper-nsp mailing list