Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
set class-of-service forwarding-classes class CCS-premium queue-num 7
set class-of-service traffic-control-profiles CCS-premium-100 shaping-rate 90g
set class-of-service traffic-control-profiles CCS-premium-40 shaping-rate 35g
set class-of-service traffic-control-profiles CCS-premium-10 shaping-rate 8g
set class-of-service traffic-control-profiles CCS-IF-100 shaping-rate 100g
set class-of-service traffic-control-profiles CCS-IF-40 shaping-rate 40g
set class-of-service traffic-control-profiles CCS-IF-10 shaping-rate 10g
set class-of-service scheduler-maps CCS-map-premium forwarding-class CCS-premium scheduler CCS-premium
set class-of-service schedulers CCS-premium priority high

# Do the following for all interfaces participating on dynamic circuit service...  (Use parameters based on physical interface speed like the example bellow)
set class-of-service interfaces interface-set et-0/0/0 output-traffic-control-profile CCS-premium-100
set class-of-service interfaces interface-set xe-0/1/4 output-traffic-control-profile CCS-premium-10
set class-of-service interfaces et-0/0/0 output-traffic-control-profile CCS-IF-100
set class-of-service interfaces xe-0/1/4 output-traffic-control-profile CCS-IF-10

****************************************************************************************************************************************************************
#Result:
class-of-service {
    forwarding-classes {
        class CCS-premium queue-num 7;
    }
    traffic-control-profiles {
        CCS-IF-100 {
            shaping-rate 100g;
        }
		CCS-IF-40 {
            shaping-rate 40g;
        }
		CCS-IF-10 {
            shaping-rate 10g;
        }
		CCS-premium-100 {
            shaping-rate 90g;
    	}
    	CCS-premium-40 {
            shaping-rate 35g;
    	}
    	CCS-premium-10 {
            shaping-rate 8g;
    	}
    }
    interqfaces {
        interface-set et-0/0/0 {
        	output-traffic-control-profile CCS-premium-100;
    	}
    	interface-set xe-0/1/4 {            
        	output-traffic-control-profile CCS-premium-10;
    	}
    	et-0/0/0 {
        	output-traffic-control-profile CCS-IF-100;
    	}
    	xe-0/1/4 {
        	output-traffic-control-profile CCS-premiumIF-10;
        }
    }
    scheduler-maps {
        CCS-map-premium {
            forwarding-class CCS-premium scheduler CCS-premium;
        }
    }
    schedulers {
        CCS-premium {
            priority high;
        }
    }
}

...