2.
Configure packet scheduling on logical interface
ge-1/3/1.0
.
a. Configure schedulers that specify the percentage of transmission capacity.
[edit class-of-service]
user@host#
edit schedulers
[edit class-of-service schedulers]
user@host#
set be transmit-rate percent 5
user@host#
set ef transmit-rate percent 30
user@host#
set af transmit-rate percent 30
user@host#
set nc transmit-rate percent 35
A percentage of zero drops all packets in the queue. When the
rate-limit
option
is specified, the transmission rate is limited to the rate-controlled amount. In
contrast with the
exact
option, a scheduler with the
rate-limit
option shares
unused bandwidth above the rate-controlled amount.
b. Configure a scheduler map to associate each scheduler with a forwarding class.
[edit class-of-service]
user@host#
edit scheduler-maps my-map
[edit class-of-service scheduler-maps my-map]
user@host#
set forwarding-class best-effort scheduler be
user@host#
set forwarding-class expedited-forwarding scheduler ef
user@host#
set forwarding-class network-control scheduler nc
user@host#
set forwarding-class assured-forwarding scheduler af
c. Associate the scheduler map with logical interface
ge-1/3/1.0
.
[edit class-of-service]
user@host#
edit interfaces ge-1/3/1 unit 1
[edit class-of-service interfaces ge-1/3/1 unit 1]
user@host#
set scheduler-map my-map
3.
Configure 100 Mbps of traffic rate-shaping overhead on logical interface
ge-1/3/1.1
.
[edit class-of-service interfaces ge-1/3/1 unit 1]
user@host#
set shaping-rate 100
Alternatively, you can configure a shaping rate for a logical interface and
oversubscribe the physical interface by including the
shaping-rate
statement at the
[edit class-of-service traffic-control-profiles]
hierarchy level. With this configuration
approach, you can independently control the delay-buffer rate.
Results
Confirm the configuration of the class-of-service features (including the 100 Mbp of
shaping of the egress traffic) by entering the
show class-of-service
configuration mode
command. If the command output does not display the intended configuration, repeat
the instructions in this procedure to correct the configuration.
[edit]
user@host#
show class-of-service
interfaces {
ge-1/3/1 {
unit 1 {
139
Copyright © 2016, Juniper Networks, Inc.
Chapter 12: Policer Overhead to Account for Rate Shaping in the Traffic Manager
Summary of Contents for EX9200 Series
Page 8: ...Copyright 2016 Juniper Networks Inc viii Traffic Policers Feature Guide for EX9200 Switches ...
Page 10: ...Copyright 2016 Juniper Networks Inc x Traffic Policers Feature Guide for EX9200 Switches ...
Page 12: ...Copyright 2016 Juniper Networks Inc xii Traffic Policers Feature Guide for EX9200 Switches ...
Page 20: ...Copyright 2016 Juniper Networks Inc 2 Traffic Policers Feature Guide for EX9200 Switches ...
Page 32: ...Copyright 2016 Juniper Networks Inc 14 Traffic Policers Feature Guide for EX9200 Switches ...
Page 34: ...Copyright 2016 Juniper Networks Inc 16 Traffic Policers Feature Guide for EX9200 Switches ...
Page 42: ...Copyright 2016 Juniper Networks Inc 24 Traffic Policers Feature Guide for EX9200 Switches ...
Page 54: ...Copyright 2016 Juniper Networks Inc 36 Traffic Policers Feature Guide for EX9200 Switches ...
Page 56: ...Copyright 2016 Juniper Networks Inc 38 Traffic Policers Feature Guide for EX9200 Switches ...
Page 72: ...Copyright 2016 Juniper Networks Inc 54 Traffic Policers Feature Guide for EX9200 Switches ...
Page 132: ...Copyright 2016 Juniper Networks Inc 114 Traffic Policers Feature Guide for EX9200 Switches ...
Page 152: ...Copyright 2016 Juniper Networks Inc 134 Traffic Policers Feature Guide for EX9200 Switches ...
Page 162: ...Copyright 2016 Juniper Networks Inc 144 Traffic Policers Feature Guide for EX9200 Switches ...
Page 178: ...Copyright 2016 Juniper Networks Inc 160 Traffic Policers Feature Guide for EX9200 Switches ...
Page 186: ...Copyright 2016 Juniper Networks Inc 168 Traffic Policers Feature Guide for EX9200 Switches ...
Page 188: ...Copyright 2016 Juniper Networks Inc 170 Traffic Policers Feature Guide for EX9200 Switches ...
Page 202: ...Copyright 2016 Juniper Networks Inc 184 Traffic Policers Feature Guide for EX9200 Switches ...
Page 212: ...Copyright 2016 Juniper Networks Inc 194 Traffic Policers Feature Guide for EX9200 Switches ...
Page 214: ...Copyright 2016 Juniper Networks Inc 196 Traffic Policers Feature Guide for EX9200 Switches ...
Page 278: ...Copyright 2016 Juniper Networks Inc 260 Traffic Policers Feature Guide for EX9200 Switches ...