set label-switched-path lsp_to_pe2_ge1 policing filter myfilter
Results
Display the results of the configuration:
[edit]
user@switch# show
class-of-service {
classifiers {
dscp dscp1 {
import default;
forwarding-class expedited-forwarding {
loss-priority low code-points 000111;
}
}
}
interfaces {
ge-0/0/1 {
unit 0 {
classifiers {
dscp dscp1;
}
}
}
}
rewrite-rules {
exp e1 {
forwarding-class expedited-forwarding {
loss-priority low code-point 111;
}
}
}
}
firewall {
family any {
filter myfilter {
term t1 {
then policer mypolicer;
}
}
}
policer mypolicer {
if-exceeding {
bandwidth-limit 500m;
burst-size-limit 33553920;
}
then discard;
}
}
Configuring the Remote PE Switch
CLI Quick
Configuration
To quickly configure a custom EXP classifier on the remote PE switch, copy the following
commands and paste them into the switch terminal window of PE-2:
[edit]
set class-of-service classifiers exp exp1 import default
3193
Copyright © 2010, Juniper Networks, Inc.
Chapter 108: Examples: CoS Configuration
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 ...