
QoS Configuration
200
no match {access-group | ip dscp | ip
precedence
|
ipv6 access-group | ipv6
dscp | ipv6 flowlabel |
vlan | cos}
2. Configure a policy map
Command
Explanation
Global Mode
policy-map
<policy-map-name>
no policy-map <
policy-map-name>
Create a policy map and enter policy
map mode; the no command deletes
the specified policy map.
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 internal priority
<new-intp>
no set internal priority
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>
({exceed-action
ACTION} )
Dual bucket mode:
policy
<bits_per_second>
<normal_burst_bytes>
[pir
<peak_rate_bps>
]
|
<maximum_burst_bytes>
[{exceed-action
ACTION | violate-action ACTION }]
ACTION definition:
drop | transmit | set-internal-priority
<intp_value>
| policied-intp-transmit
no policy
Configure a policy for the classified
flow. The non-aggregation policy
command supports three colors.
Analyze the working mode of the
token bucket, whether it is singe rate
single bucket, single rate dual bucket,
dual
rate
dual
bucket,
set
corresponding action to different color
packets. The no command will delete
the mode configuration.
policy aggregate <
aggregate-policy-name>
no policy
aggregate
Apply
a policy to classified traffic; the
no command deletes the specified
policy set.
accounting
no accounting
Set statistic function for the classified
traffic. After enable this function under