JUNOSe 11.1.x Command Reference Guide A to M
mark
For IPv4:
Syntax
[ no ] [ suspend ] mark { tosByteValue mask maskValue |
tos-precedence tosPrecNum | tos tosNum | dsfield dsFieldNum }
profile colorMarkProfileName }
For IPv6:
[ no ] [ suspend ] mark { tcByteValue mask tcMaskValue | tc-precedence
tcPrecNum | tcfield tcFieldNum | dsfield dsFieldNum } profile
colorMarkProfileName }
Command introduced before JUNOSe Release 7.1.0.
Release Information
colorMarkProfileName variable added in JUNOSe Release 7.2.0.
Sets the precedence field of the ToS byte (for IPv4) or traffic class byte (for IPv6) in
Description
the IP header to a specified value for packets that match the current classifier control
list. This command is not tied to a rate limit profile, but marks packets based on a
classifier control list. The no version removes the mark rule from the policy list; the
suspend version temporarily suspends the mark rule; the no suspend version
resumes application of a suspended rule.
NOTE: This command replaces the Policy List Configuration mode version of the
mark command, which may be removed completely in a future release.
Options
1266
mark
tosByteValue ToS byte value to be assigned to packets; in the range 0–255
maskValue Mask to be used when applying ToS byte values to packets; in the
range 1–255
tosPrecNum ToS precedence value to be assigned to packets; in the range 0–7
tosNum ToS value to be assigned to packets; in the range 0–255
dsFieldNum DS field value to be assigned to packets; in the range 0–63
colorMarkProfileName Name of the color-mark profile (up to 40 alphanumeric
characters)
tcByteValue Traffic class field value to be assigned to packets; in the range
0–255
tcMaskValue Mask to be used when applying traffic class field values to packets;
in the range 1–255
tcPrecNum Traffic class field precedence value to be assigned to packets; in the
range 0–7
tcFieldNum Traffic class field value to be assigned to packets; in the range 0–255