size of the memory buffer allocated for storing packets, the priority of the queue, and the
tail drop profiles associated with the queue.
You associate the schedulers with forwarding classes by means of scheduler maps. You
can then associate each scheduler map with an interface, thereby configuring the queues
and packet schedulers that operate according to this mapping.
You can associate up to four user-defined scheduler maps with the interfaces.
This topic describes:
•
Configuring CoS Schedulers on page 3210
•
Assigning Scheduler Maps to Interfaces on a 40-port SFP+ Line Card on page 3210
Configuring CoS Schedulers
To configure CoS schedulers:
1.
Create a scheduler (
be-sched
) and assign it a priority:
[edit class-of-service schedulers]
user@switch#
set be-sched
priority
low
2.
Configure a scheduler map (
be-map
) that associates the scheduler (
be-sched
) with
the forwarding class (
best-effort
):
[edit class-of-service scheduler-maps]
user@switch#
set be-map
forwarding-class
best-effort scheduler be-sched
3.
Assign the scheduler map (
be-map
) to one or more Ethernet interfaces:
•
To assign the scheduler map to one interface (
ge-0/0/1
):
[edit class-of-service interfaces]
user@switch#
set ge-0/0/1
scheduler-map
be-map
•
To assign the scheduler map to more than one interface by using a wildcard (all
Gigabit Ethernet interfaces):
[edit class-of-service interfaces]
user@switch#
set ge-* scheduler-map be-map
Assigning Scheduler Maps to Interfaces on a 40-port SFP+ Line Card
For interfaces on a 40-port SFP+ line card, you use the same procedure to configure CoS
schedulers as you do for other interfaces. However, you must assign the same scheduler
map to all the interfaces in a port group.
When you assign a scheduler map to one interface in a port group, you do not need to
assign the scheduler map to the remaining interfaces. The switch automatically uses
that scheduler map for the interfaces in the port group when you bring the interfaces up.
If you assign different scheduler maps to different interfaces in a port group, you do not
receive an error when you commit the configuration. Instead, an error is logged to the
system log. When you bring an interface in the port group up, the default scheduler map
is used. If you assign a scheduler map to an interface that is down that is different from
Copyright © 2010, Juniper Networks, Inc.
3210
Complete Software Guide for Junos
®
OS for EX Series Ethernet Switches, Release 10.3
Summary of Contents for JUNOS OS 10.3 - SOFTWARE
Page 325: ...CHAPTER 17 Operational Mode Commands for System Setup 229 Copyright 2010 Juniper Networks Inc ...
Page 1323: ...CHAPTER 56 Operational Mode Commands for Interfaces 1227 Copyright 2010 Juniper Networks Inc ...
Page 2841: ...CHAPTER 86 Operational Commands for 802 1X 2745 Copyright 2010 Juniper Networks Inc ...
Page 3367: ...CHAPTER 113 Operational Mode Commands for CoS 3271 Copyright 2010 Juniper Networks Inc ...
Page 3435: ...CHAPTER 120 Operational Mode Commands for PoE 3339 Copyright 2010 Juniper Networks Inc ...
Page 3529: ...CHAPTER 126 Operational Mode Commands for MPLS 3433 Copyright 2010 Juniper Networks Inc ...