dscp (Multifield Classifier)
Syntax
dscp [0 | value];
Hierarchy Level
[edit firewall family family-name filter filter-name term term-name then]
Description
Set the IPv4 Differentiated Services code point
(DSCP) bit. You can specify a numerical value from 0
through 63
. To specify the value in hexadecimal form, include 0x
as a prefix. To specify the value in binary form, include b
as a prefix.
The default DSCP value is be
(best effort), or 0
.
For M320 and T Series routers, set the DSCP field
of incoming or outgoing packets to 000000
. On the same
packets, you can use a behavior aggregate (BA) classifier and a rewrite
rule to rewrite the MPLS EXP field.
For MX Series routers with MPCs and EX Series switches, the DSCP field can be set from a numeric range.
For MX Series routers and EX Series switches, if you configure
a firewall filter with a dscp
action or traffic-class
action on a DPC, the commit fails.
If you apply a firewall filter with a dscp
action on an
AE member interface, the commit fails. However, you can apply a firewall filter with
a dscp
action on a full AE interface.
Options
value
—For
MX Series routers with MPCs, specify the field of incoming or outgoing
packets in the range from 0
through 63
.
Required Privilege Level
firewall—To view this statement in the configuration.
firewall-control—To add this statement to the configuration.
Release Information
Statement introduced in Junos OS Release 7.4.