[j-nsp] CoS Configuration Assistance

IPGN J-NSP juniper-nsp at ipglobal.net
Fri Jan 20 15:56:51 EST 2006


I am attempting to prioritize voip traffic to/from T1 customers for our
specific application.  I would like to know if anyone sees any problems with
the configuration below because I am running into a few quality issues.
Thank you in advance for any advice you can provide.

Basically, I have firewall filters (mf classifier) that match input traffic
patterns from T1 customers as well as input from the FastEthernet port that
connects the softswitch.  These filters place the traffic into the
appropriate queue which is basically expedited-forwarding for voip and
best-effort for everything else.  Then I have a rewrite-marker on the
interfaces that set specific dscp values per each queue and dscp classifiers
that assign the appropriately tagged dscp packets to their respective queue.



> show configuration class-of-service
classifiers {
    dscp ipgn-dscp {
        forwarding-class expedited-forwarding {
            loss-priority low code-points ef;
            loss-priority high code-points cs4;
        }
        forwarding-class best-effort {
            loss-priority high code-points be;
            loss-priority low code-points cs1;
        }
        forwarding-class assured-forwarding {
            loss-priority high code-points af11;
            loss-priority low code-points af12;
        }
        forwarding-class network-control {
            loss-priority high code-points nc1;
            loss-priority low code-points nc2;
        }
    }
}

rewrite-rules {
    dscp ipgn-rewrite {
        forwarding-class expedited-forwarding {
            loss-priority low code-point ef;
            loss-priority high code-point cs4;
        }
        forwarding-class best-effort {
            loss-priority high code-point be;
            loss-priority low code-point cs1;
        }
        forwarding-class network-control {
            loss-priority high code-point nc1;
            loss-priority low code-point nc2;
        }
        forwarding-class assured-forwarding {
            loss-priority low code-point af12;
            loss-priority high code-point af11;
        }
    }
}

scheduler-maps {
    map-ethernet {
        forwarding-class best-effort scheduler best-effort;
        forwarding-class expedited-forwarding scheduler 
expedited-forwarding;
        forwarding-class network-control scheduler network-control;
    }
    voice-t1-map {
        forwarding-class best-effort scheduler voice-t1-be;
        forwarding-class expedited-forwarding scheduler voice-t1-ef;
        forwarding-class network-control scheduler voice-t1-nc;
        forwarding-class assured-forwarding scheduler voice-t1-af;
    }
}
interfaces {
    t1-0/0/* {
        scheduler-map voice-t1-map;
        unit 0 {
            classifiers {
                dscp ipgn-dscp;
            }
            rewrite-rules {
                dscp ipgn-rewrite;
            }
        }
    }
    fe-1/3/0 {
        scheduler-map ethernet-map;
        unit 202 {
            classifiers {
                dscp ipgn-dscp;
            }
            rewrite-rules {
                dscp ipgn-rewrite;
            }
        }
    }
}


> show configuration interfaces t1-0/0/0:15
encapsulation ppp;
unit 0 {
    family inet {
        filter {
            input ipgn-cust-t1-input;
        }
        address 1.1.1.1/30;
    }
}

> show configuration interfaces fe-1/3/0.202
vlan-id 202;
family inet {
    filter {
        input vipgn-mfc-in;
    }
    address 2.2.2.2/27;
}


/J 



More information about the juniper-nsp mailing list