Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Example: Configuring the SPC High-Priority Queue

This example shows how to configure a forwarding class for the high-priority queue on the SPC.

Requirements

This example uses the following hardware and software components:

  • SRX5000 line firewall

  • Junos OS Release 11.4R2 or later

Overview

This example defines the following forwarding classes and assigns a queue number to each class:

Table 1: Forwarding Class Definition

Forwarding Class

Queue Number

best-effort

0

assured-forwarding

1

network-control

3

expedited-forwarding

2

The expedited-forwarding class is configured for the high-priority queue on the SPC.

Configuration

Procedure

CLI Quick Configuration

To quickly configure this example, copy the following commands, paste them into a text file, remove any line breaks, change any details necessary to match your network configuration, copy and paste the commands into the CLI at the [edit] hierarchy level, and then enter commit from the configuration mode.

Step-by-Step Procedure

The following example requires you to navigate various levels in the configuration hierarchy. For instructions on how to do that, see Using the CLI Editor in Configuration Mode in the Junos OS CLI User Guide.

To configure the high-priority queue on the SPC:

  1. Define forwarding classes and assign queue numbers.

  2. Configure the SPC high-priority queue.

Results

From configuration mode, confirm your configuration by entering the show class-of-service forwarding-classes command. If the output does not display the intended configuration, repeat the configuration instructions in this example to correct it.

If you are done configuring the device, enter commit from configuration mode.

Verification

Verifying SPU High-Priority Queue Mapping

Purpose

Verify that the forwarding class is mapped to the SPU high-priority queue.

Action

From operational mode, enter the show class-of-service forwarding-class command.