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.
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.
While subscribers are active on aggregated Ethernet physical interfaces with targeted distribution, we recommend that you do not change any attribute of the physical interfaces, such as MTU. Instead, perform the following steps:
Log out all the subscribers.
Disable the interface.
Make the desired attribute changes.
Reenable the interface.
If you do not follow these steps, the commit check for your configuration fails, starting in Junos OS Release 19.2. In earlier releases, changing the attribute values while subscribers are active brings down the physical interface and all subscribers using that interface.
To avoid service interruptions, we recommend that you make the changes during a maintenance window.
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: