JUNOSe 7.2.x Policy Management Configuration Guide
40 ! Creating Classifier Groups and Policy Rules
mark
! Use to set the ToS field in the IP header or the traffic-class field in the IPv6
header to a specified value for packets conforming to the current CLACL.
! For IPv4, you must specify one of the following (not if you are using the profile
keyword):
! A ToS byte value in the range 0–255 and a mask value in the range 1–255
! tos-precedence keyword and a value in the range 0–7
! tos keyword and a value in the range 0–255
! dsfield keyword and a value in the range 0–63
! Use the profile keyword to mark packets identified by the classifier group
according to the values in the color-mark profile after the color has been
determined by the color rule and the rate-limit hierarchy.
! For IPv6, you must specify one of the following:
! A traffic-class byte in the range 0–255 and a mask in the range 1–255
! tc-precedence keyword and a value in the range 0–7
! tcfield keyword and a value in the range 0–255
! dsfield keyword and a value in the range 0–63
! You can have only one mask value per policy. You can have multiple mark rules
with various mark values, but the mask for each of these rules must be the
same.
! Example
host1(config-policy-list-classifier-group)#mark tos-precedence 3
! Use the suspend version to suspend the mark rule within the classifier group.
! Use the no version to remove the mark rule from the classifier group.
mark-clp
! Use to assign a value of 0 or 1 to the ATM CLP bit for packets conforming to the
current classifier control list. Marking of CLP on frame-based interfaces is only
supported on E320 router line modules.
! Example
host1(config-policy-list-classifier-group)#mark-clp 1
! Use the suspend version to temporarily suspend the mark CLP rule.
! Use the no suspend version to resume application of a suspended rule.
! Use the no version to remove the mark CLP rule from a policy list.
mark-de
! Use to assign a value of 0 or 1 to the Frame Relay DE bit for packets conforming
to the current CLACL.
! Example
host1(config-policy-list-classifier-group)#mark-de 1