
634
DiffServ Policy Commands
police-two-rate
This command is the two-rate form of the
police
command and is used to
establish the traffic policing style for the specified class. For each outcome, the
only possible actions are drop, set-cos-as-sec-cos, set-cos-transmit, set-sec-cos-
transmit, set-dscp-transmit, set-prec-transmit, or transmit. In this two-rate form
of the
police
command, the conform action defaults to send, the exceed action
defaults to drop, and the violate action defaults to drop. These actions can be set
with this command once the style has been configured.
policy-map
This command establishes a new DiffServ policy. The
policyname
parameter is
a case-sensitive alphanumeric string from 1 to 31 characters uniquely identifying
the policy. The type of policy is specific to the inbound traffic direction as
indicated by the
in
parameter, or the outbound traffic direction as indicated by
the
out
parameter, respectively.
Format
police-single-rate {
1-4294967295 1-128 1-128
conform-action {drop | set-cos-as-sec-cos | set-cos-
transmit
0-7
| set-sec-cos-transmit
0-7
| set-prec-
transmit
0-7
| set-dscp-transmit
0-63
| transmit}
exceed-action {drop | set-cos-as-sec-cos | set-cos-
transmit
0-7
| set-sec-cos-transmit
0-7
| set-prec-
transmit
0-7
| set-dscp-transmit
0-63
| transmit}
[violate-action {drop | set-cos-as-sec-cos-transmit |
set-cos-transmit
0-7
| set-sec-cos-transmit
0-7
| set-
prec-transmit
0-7
| set-dscp-transmit
0-63
|
transmit}]}
Mode
Policy-Class-Map Config
Format
police-two-rate {
1-4294967295
1-4294967295
1-128
1-
128
conform-action {drop | set-cos-as-sec-cos | set-
cos-transmit
0-7
| set-sec-cos-transmit
0-7
| set-
prec-transmit
0-7
| set-dscp-transmit
0-63
| transmit}
exceed-action {drop | set-cos-as-sec-cos | set-cos-
transmit
0-7
| set-sec-cos-transmit
0-7
| set-prec-
transmit
0-7
| set-dscp-transmit
0-63
| transmit}
[violate-action {drop | set-cos-as-sec-cos | set-cos-
transmit
0-7
| set-sec-cos-transmit
0-7
| set-prec-
transmit
0-7
| set-dscp-transmit
0-63
| transmit}]}
Mode
Policy-Class-Map Config
Summary of Contents for CN1610
Page 3: ......
Page 31: ...28 Accessing the CLI ...
Page 309: ...306 Remote Monitoring Commands ...
Page 473: ...470 Port Mirroring Commands 100 ...
Page 487: ...484 DHCP L2 Relay Agent Commands Mode Privileged EXEC ...
Page 607: ...604 IPv6 Management Commands ...