- play_arrow Weighted Random Early Detection (WRED) and Explicit Congestion Notification (ECN)
- play_arrow WRED and Drop Profiles
- play_arrow Explicit Congestion Notification (ECN)
-
- play_arrow CoS Queue Schedulers, Traffic Control Profiles, and Hierarchical Port Scheduling (ETS)
- play_arrow Queue Schedulers and Scheduling Priority
- Understanding Default CoS Scheduling and Classification
- Understanding CoS Scheduling Behavior and Configuration Considerations
- Understanding CoS Output Queue Schedulers
- Defining CoS Queue Schedulers
- Example: Configuring Queue Schedulers
- Defining CoS Queue Scheduling Priority
- Example: Configuring Queue Scheduling Priority
- Monitoring CoS Scheduler Maps
- play_arrow Port Scheduling and Shaping
- play_arrow Troubleshooting Egress Bandwidth Issues
- play_arrow Traffic Control Profiles and Priority Group Scheduling
- Understanding CoS Traffic Control Profiles
- Understanding CoS Priority Group Scheduling
- Understanding CoS Virtual Output Queues (VOQs)
- Defining CoS Traffic Control Profiles (Priority Group Scheduling)
- Example: Configuring Traffic Control Profiles (Priority Group Scheduling)
- Understanding CoS Priority Group and Queue Guaranteed Minimum Bandwidth
- Example: Configuring Minimum Guaranteed Output Bandwidth
- Understanding CoS Priority Group Shaping and Queue Shaping (Maximum Bandwidth)
- Example: Configuring Maximum Output Bandwidth
- play_arrow Hierarchical Port Scheduling (ETS)
-
- play_arrow Data Center Bridging and Lossless FCoE
- play_arrow Data Center Bridging
- Understanding DCB Features and Requirements
- Understanding DCBX
- Configuring the DCBX Mode
- Configuring DCBX Autonegotiation
- Understanding DCBX Application Protocol TLV Exchange
- Defining an Application for DCBX Application Protocol TLV Exchange
- Configuring an Application Map for DCBX Application Protocol TLV Exchange
- Applying an Application Map to an Interface for DCBX Application Protocol TLV Exchange
- Example: Configuring DCBX Application Protocol TLV Exchange
- play_arrow Lossless FCoE
- Example: Configuring CoS PFC for FCoE Traffic
- Example: Configuring CoS for FCoE Transit Switch Traffic Across an MC-LAG
- Example: Configuring CoS Using ELS for FCoE Transit Switch Traffic Across an MC-LAG
- Example: Configuring Lossless FCoE Traffic When the Converged Ethernet Network Does Not Use IEEE 802.1p Priority 3 for FCoE Traffic (FCoE Transit Switch)
- Example: Configuring Two or More Lossless FCoE Priorities on the Same FCoE Transit Switch Interface
- Example: Configuring Two or More Lossless FCoE IEEE 802.1p Priorities on Different FCoE Transit Switch Interfaces
- Example: Configuring Lossless IEEE 802.1p Priorities on Ethernet Interfaces for Multiple Applications (FCoE and iSCSI)
- Troubleshooting Dropped FCoE Traffic
-
- play_arrow CoS Buffers and the Shared Buffer Pool
- play_arrow CoS Buffers Overview
- play_arrow Shared Buffer Pool Examples
- Example: Recommended Configuration of the Shared Buffer Pool for Networks with Mostly Best-Effort Unicast Traffic
- Example: Recommended Configuration of the Shared Buffer Pool for Networks with Mostly Best-Effort Traffic on Links with Ethernet PAUSE Enabled
- Example: Recommended Configuration of the Shared Buffer Pool for Networks with Mostly Multicast Traffic
- Example: Recommended Configuration of the Shared Buffer Pool for Networks with Mostly Lossless Traffic
-
- play_arrow CoS on EVPN VXLANs
- play_arrow Configuration Statements and Operational Commands
ON THIS PAGE
Example: Configuring Forwarding Class Sets
A forwarding class set (fc-set) is a priority group for enhanced transmission selection (ETS) traffic control. Each fc-set consists of one or more forwarding classes (priorities). Classifiers map traffic to forwarding classes based on code points, and forwarding classes are mapped to output queues.
ETS enables you to configure link resources (bandwidth and bandwidth sharing characteristics) for an fc-set, and then allocate the fc-set’s resources among the forwarding classes that belong to the fc-set. This is called two-tier, or hierarchical, scheduling. Traffic control profiles control the scheduling for the fc-set (priority group), and schedulers control the scheduling for individual forwarding classes (priorities).
Requirements
This example uses the following hardware and software components:
One switch (this example was tested on a Juniper Networks QFX3500 Switch)
Junos OS Release 11.1
Use Feature Explorer to confirm platform and release support for ETS.
Overview
You can configure up to three unicast fc-sets and one multicast fc-set. A common way to configure unicast priority groups is to configure separate fc-sets for local area network (LAN) traffic, storage area network (SAN) traffic, and high-performance computing (HPC) traffic, and then assign the appropriate forwarding classes to each fc-set.
If you configure a strict-high
priority forwarding
class, you must create an fc-set that is dedicated only to strict-high
priority traffic. You can only configure one strict-high priority
forwarding class, and only one fc-set can contain a strict-high priority
queue. Queues that are not strict-high priority cannot belong to the
same fc-set as a strict-high priority queue. The multidestination
fc-set cannot contain a strict-high priority queue.
To apply ETS, you use a traffic control profile to map one or more fc-sets to a physical egress port. You can map up to three unicast forwarding class sets and one multidestination forwarding class set to each port. When you map an fc-set to a port, the port uses hierarchical scheduling to allocate port resources to the priority group (fc-set) and to allocate the priority group resources to the queues (forwarding classes) that belong to the priority group.
This example describes how to:
Configure three fc-sets called
lan-pg
,san-pg
, andhpc-pg
.Assign forwarding classes to each of the fc-sets.
Apply the fc-sets and their output traffic control profiles to an egress interface.
This example does not describe how to configure the forwarding classes assigned to the fc-sets or how to configure traffic control profiles (scheduling). Example: Configuring CoS Hierarchical Port Scheduling (ETS) provides a complete example of how to configure ETS, including forwarding class and scheduling configuration. Table 1 shows the configuration components for this example:
Component | Settings |
---|---|
Hardware | QFX3500 switch |
LAN traffic priority group | Forwarding class set: |
SAN traffic priority group | Forwarding class set: |
HPC traffic priority group | Forwarding class set: |
Egress interface |
|
Configuring Forwarding Class Sets
Step-by-Step Procedure
Define the
lan-pg
priority group (fc-set) and assign to it the forwarding classesbest-effort-1
andbest-effort-2
:content_copy zoom_out_map[edit class-of-service] user@switch# set forwarding-class-sets lan-pg class best-effort-1 user@switch# set forwarding-class-sets lan-pg class best-effort-2
Define the
san-pg
priority group and assign to it the forwarding classesfcoe
andfcoe-2
:content_copy zoom_out_map[edit class-of-service] user@switch# set forwarding-class-sets san-pg class fcoe user@switch# set forwarding-class-sets san-pg class fcoe-2
Define the
hpc-pg
priority group and assign to it the forwarding classesnc
andhigh-perf
:content_copy zoom_out_map[edit class-of-service] user@switch# set forwarding-class-sets hpc-pg class nc user@switch# set forwarding-class-sets hpc-pg class high-perf
Map the three forwarding class sets to an interface (the output traffic control profiles associated with the forwarding class sets determine the class of service scheduling for the priority groups):
content_copy zoom_out_map[edit class-of-service] user@switch# set interfaces xe-0/0/7 forwarding-class-set lan-pg output-traffic-control-profile lan-tcp user@switch# set interfaces xe-0/0/7 forwarding-class-set san-pg output-traffic-control-profile san-tcp user@switch# set interfaces xe-0/0/7 forwarding-class-set hpc-pg output-traffic-control-profile hpc-tcp
Verification
To verify the priority group configuration, perform these tasks:
Verifying Forwarding Class Set Membership
Purpose
Verify that you configured the lan-pg
, san-pg
, and hpc-pg
priority groups with the correct
forwarding classes.
Action
List the forwarding class set member configuration using
the operational mode command show configuration class-of-service
forwarding-class-sets
:
user@switch> show configuration class-of-service forwarding-class-sets lan-pg { class best-effort-1; class best-effort-2; } san-pg { class fcoe; class fcoe-2; } hpc-pg { class high-perf; class nc; }
Verifying the Egress Interface Configuration
Purpose
Verify that egress interface xe-0/0/7
is
associated with the lan-pg
, san-pg
, and hpc-pg
priority groups and with the correct output traffic
control profiles.
Action
Display the egress interface using the operational mode
command show configuration class-of-service interfaces xe-0/0/7
:
user@switch> show configuration class-of-service interfaces xe-0/0/7 forwarding-class-set { lan-pg { output-traffic-control-profile lan-tcp; } san-pg { output-traffic-control-profile san-tcp; } hpc-pg { output-traffic-control-profile hpc-tcp; } }