Juniper JUNOS OS 10.4 - FOR EX REV 1 Manual page 3702

For ex series ethernet switches
Table of Contents

Advertisement

Complete Software Guide for Junos
3598
®
OS for EX Series Ethernet Switches, Release 10.4
To configure PFC:
Configure a congestion notification profile, specifying the name of the profile and
1.
specifying the three-bit pattern of the User Priority bits in an incoming frame that will
trigger the priority-based flow control on that traffic class:
[edit class-of-service]
user@switch# set congestion-notification-profile profile-name input ieee-802.1
code-point up-bits pfc
Bind the congestion notification profile to the interfaces that will be used for the traffic
2.
class that you have selected for PFC:
[edit class-of-service]
user@switch# set interfaces interface-name congestion-notification-profile profile-name
Create a CoS classifier for a traffic class that will use PFC:
3.
[edit class-of-service]
user@switch# set classifiers ieee-802.1 classifier-name import default
Configure this traffic class (classifier-name) to use forwarding class
4.
loss priority value:
[edit class-of-service]
user@switch# set classifiers ieee-802.1 classifier-name forwarding-class
class-nameloss-priority low code-points 6 bit-patterns
Bind the
classifier-name
5.
[edit class-of-service]
user@switch# set interfaces interface-name unit logical-unit-number classifiers
ieee-802.1 classifier-name
Assign the specified forwarding-class to an egress queue:
6.
[edit class-of-service]
user@switch# set forwarding-classes class-name queue-number
Set a scheduler for this queue, allocating at least 20 percent of the buffer:
7.
[edit class-of-service]
user@switch# set schedulers scheduler-name buffer-size percent
Configure a scheduler map that associates the specified scheduler with the specified
8.
forwarding class:
[edit class-of-service]
user@switch# set scheduler-maps map-name forwarding-class class-name scheduler
scheduler-name
For example:
[edit class-of-service]
user@switch# set scheduler-maps pfc-map forwarding-class af2 scheduler pfc-sched
Assign the scheduler map to the egress interface:
9.
[edit class-of-service]
user@switch# set interfaces interface-name scheduler-map pfc-map
classifier to all interfaces that require PFC:
af2
with a low
Copyright © 2010, Juniper Networks, Inc.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Junos os 10.4

Table of Contents