Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


Configuring Junos OS EZQoS for CoS (CLI Procedure)

You use Junos OS EZQoS on EX Series switches to eliminate the complexities involved in configuring class of service (CoS) across the network. EZQoS offers templates for key traffic classes.

When you configure EZQoS on EX Series switches, preconfigured values are assigned to all CoS parameters based on the typical application requirements. These preconfigured values are stored in a template with a unique name.


Currently, we provide an EZQoS template for configuring CoS for VoIP applications. The EZQoS VoIP template is stored in /etc/config/ezqos-voip.conf.

To configure EZQoS using the CLI:

  1. Load the EZQoS configuration file (/etc/config/ezqos-voip.conf):
  2. Apply the EZQoS group (ezqos-voip):
  3. Apply the DSCP classifier (ezqos-dscp-classifier) to a Gigabit Ethernet interface (ge-0/0/0):
  4. Apply the scheduler map (ezqos-voip-sched-maps) to a Gigabit Ethernet interface (ge-0/0/1):