The following example show a CoS configuration containing two rules, one for input matching on a specified application set and the other for output matching on a specified source address:
- [edit services]
- cos {
-
- rule my-cos-rule {
- match-direction input-output;
-
- term term1 {
-
- from {
- source-address 10.1.3.2/32;
- applications sip;
- }
-
- then {
- dscp ef;
- syslog;
- }
- }
-
- term term2 {
-
- from {
- destination-address 10.2.3.2;
- applications http;
- }
-
- then {
- dscp af21;
- }
- }
- }
- }