QTECH QSW-3400 Инструкция по настройке User Manual
Page 191

+7(495) 797-3311 www.qtech.ru
Москва, Новозаводская ул., 18, стр. 1
190
class <class-map-name> [insert-before <class-
map-name>]
no class <class-map-name>
After a policy map is created, it can be
associated to a class. Different policy or
new DSCP value can be applied to
different data streams in class mode; the
no command deletes the specified class.
set {ip dscp <new-dscp> | ip precedence <new-
precedence> | internal priority <new-inp> |
drop precedence <new-dp> | cos <new-cos>}
no set {ip dscp | ip precedence | internal
priority | drop precedence |cos }
Assign a new internal priority for the
classified traffic; the no command cancels
the new assigned value.
Single Bucket Mode:
policy <bits_per_second>
<normal_burst_bytes> ({conform-action
ACTION | exceed-action ACTION} )
Dual Bucket Mode:
policy <bits_per_second>
<normal_burst_bytes> [pir <peak_rate_bps>] |
<maximum_burst_bytes> [{conform-action
ACTION | exceed-action ACTION | violate-
action ACTION }]
ACTION definition:
drop | transmit | set-dscp-transmit
<dscp_value> | set-prec-transmit
<ip_precedence_value> | set-cos-transmit
<cos_value> | set-internal-priority <inp_value>
| set-Drop-Precedence <dp_value>
no policy
Configure a policy for the classified flow.
The non-aggregation policy command
supporting
three
colors.
Determine
whether the working mode of token
bucket is singe rage single bucket, single
rate dual bucket or dual rate dual bucket,
set the corresponding action to the
different color packets. The no command
will delete the mode configuration.
accounting
no accounting
Set statistic function for the classified
traffic. After enable this function under the
policy class map mode, add statistic
function to the traffic of the policy class
map. In single bucket mode, the
messages can be only red or green when
passing
policy.
When
printing
the
information, in-profile means green and
out-profile means red; In dual bucket
mode, there are three colors(green,