Command Reference Guide
DiffServ Policy Commands
CLI Command Reference
September 2014 Page 640
HP Moonshot Switch Module CLI Command Reference
mark cos-as-sec-cos
This command marks outer VLAN tag priority bits of all packets as the inner VLAN tag priority, marking Cos as
Secondary CoS. This essentially means that the inner VLAN tag CoS is copied to the outer VLAN tag CoS.
Example: The following shows an example of the command.
(Routing) (Config-policy-classmap)#mark cos-as-sec-cos
mark ip-dscp
This command marks all packets for the associated traffic stream with the specified IP DSCP value.
The
dscpval value is specified as either an integer from 0 to 63, or symbolically through one of the following
keywords: af11, af12, af13, af21, af22, af23, af31, af32, af33, af41, af42, af43, be, cs0, cs1, cs2, cs3, cs4, cs5,
cs6, cs7, ef
.
mark ip-precedence
This command marks all packets for the associated traffic stream with the specified IP Precedence value. The
IP Precedence value is an integer from 0 to 7.
Format mark-cos-as-sec-cos
Mode Policy-Class-Map Config
Incompatibilities Drop, Mark IP DSCP, IP Precedence, Police
Format
mark ip-dscp dscpval
Mode Policy-Class-Map Config
Incompatibilities Drop, Mark CoS, Mark IP Precedence, Police
Note: This command may not be used on IPv6 classes. IPv6 does not have a precedence field.
Format
mark ip-precedence 0-7
Mode Policy-Class-Map Config
Incompatibilities Drop, Mark CoS, Mark IP Precedence, Police
Policy Type In