Configuring JUNOS EZQoS for CoS (CLI Procedure)
You use JUNOS 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.
![]() |
Note: 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:
- Load the EZQoS configuration file (/etc/config/ezqos-voip.conf):
[edit]
user@switch# load merge /etc/config/ezqos-voip.conf - Apply the EZQoS group (ezqos-voip):
[edit]
user@switch# set apply-groups ezqos-voip - Apply the DSCP classifier (ezqos-dscp-classifier) to a Gigabit Ethernet interface (ge-0/0/0):
[edit class-of-service interfaces]
user@switch# set ge-0/0/0 unit 0 classifiers dscp ezqos-dscp-classifier - Apply the scheduler map (ezqos-voip-sched-maps) to a Gigabit Ethernet interface (ge-0/0/1):
[edit class-of-service interfaces]
user@switch# set ge-0/0/1 scheduler-map ezqos-voip-sched-maps