Applying CoS Attributes to VLANs Using Agent-Circuit-Identifiers
To apply CoS attributes, such as shaping, at the household level, you must set and define the CoS policy for the ACI VLAN interface set using the dynamic profile for the ACI interface set (not the subscriber profile). You can also configure a traffic-control profile and a remaining traffic-control profile for a dynamic interface set.
The following example is a CoS profile for an ACI interface set using a unique-ID based dynamic scheduler map:
Configure a CoS dynamic profile with a simple traffic-control profile that is applied to the dynamic interface set that represents the ACI VLAN.
The following example is a CoS profile for an ACI set using a unique ID-based dynamic scheduler map:
dynamic-profiles { aci-set-profile { variables { ds1q0q2DP uid; ds1q1q2DP uid; be1_dp uid; ef1_dp uid; af1_dp uid; nc1_dp uid; } interfaces { interface-set "$junos-interface-set-name" { interface "$junos-interface-ifd-name"; } } class-of-service { traffic-control-profiles { tcp2 { scheduler-map ss1q0q1DP; shaping-rate 50m; guaranteed-rate 30m; overhead-accounting bytes -20; } tcp3 { scheduler-map "$ds1q1q2DP"; shaping-rate 30m; guaranteed-rate 10m; overhead-accounting bytes -20; } } interfaces { interface-set "$junos-interface-set-name" { output-traffic-control-profile tcp2; output-traffic-control-profile-remaining tcp3; } } scheduler-maps { "$ds1q0q2DP" { forwarding-class be scheduler "$be1_dp"; forwarding-class af scheduler "$af1_dp"; forwarding-class nc scheduler "$nc1_dp"; } "$ds1q1q2DP" { forwarding-class ef scheduler "$ef1_dp"; forwarding-class af scheduler "$af1_dp"; forwarding-class nc scheduler "$nc1_dp"; } } schedulers { "$be1_dp" { transmit-rate percent 25; priority low; drop-profile-map loss-priority low protocol any drop-profile d3; drop-profile-map loss-priority medium-low protocol any drop-profile d2; drop-profile-map loss-priority medium-high protocol any drop-profile d1; drop-profile-map loss-priority high protocol any drop-profile d0; } "$ef1_dp" { transmit-rate percent 25; priority low; drop-profile-map loss-priority low protocol any drop-profile d3; drop-profile-map loss-priority medium-low protocol any drop-profile d2; drop-profile-map loss-priority medium-high protocol any drop-profile d1; drop-profile-map loss-priority high protocol any drop-profile d0; } "$af1_dp" { transmit-rate percent 25; priority low; drop-profile-map loss-priority low protocol any drop-profile d3; drop-profile-map loss-priority medium-low protocol any drop-profile d2; drop-profile-map loss-priority medium-high protocol any drop-profile d1; drop-profile-map loss-priority high protocol any drop-profile d0; } "$nc1_dp" { transmit-rate percent 25; priority low; drop-profile-map loss-priority low protocol any drop-profile d3; drop-profile-map loss-priority medium-low protocol any drop-profile d2; drop-profile-map loss-priority medium-high protocol any drop-profile d1; drop-profile-map loss-priority high protocol any drop-profile d0; } } } }