Configuring Hierarchical CoS for a Subscriber Interface of Aggregated Ethernet Links
You can enable hierarchical CoS on a subscriber interface with an underlying aggregated Ethernet interface.
Before you begin, configure the subscriber interface with aggregated Ethernet.
- To configure a VLAN interface over aggregated Ethernet with link protection, see Configuring a Static or Dynamic VLAN Subscriber Interface over Aggregated Ethernet and Configuring Link Protection for Aggregated Ethernet Interfaces.
- To configure a demux subscriber interface:
For static and dynamic IP demux interfaces, see Configuring a Static or Dynamic IP Demux Subscriber Interface over Aggregated Ethernet.
For static and dynamic VLAN demux interfaces, see Configuring a Static or Dynamic VLAN Demux Subscriber Interface over Aggregated Ethernet.

Best Practice: Link protection is not required for IP or demux subscriber interfaces. We recommend that you enable targeted distribution on the demux interface to provide accurate hierarchical scheduling for these links. See Providing Accurate Scheduling for a Demux Subscriber Interface of Aggregated Ethernet Links.
To configure hierarchical CoS on the link aggregation (LAG) bundle:
- Specify that you want to access the LAG bundle. user@host# edit interfaces aex
- Configure the link aggregation (LAG) bundle with hierarchical
scheduler mode.[edit interfaces aex]user@host# set hierarchical-scheduler
You can then attach static or dynamic traffic shaping and scheduling parameters at the aggregated Ethernet logical interface or its underlying physical interface. See:
- Configuring Traffic Scheduling and Shaping for Subscriber Access
- Configuring Schedulers in a Dynamic Profile for Subscriber Access
- Applying Traffic Shaping and Scheduling to a Subscriber Interface in a Dynamic Profile

