Код: Выделить всё
qos advanced
qos map dscp-queue 40 to 3
qos map dscp-queue 48 to 4
ip access-list extended acl-1
permit ip any any 10.132.2.0 0.0.0.255 any
exit
ip access-list extended acl-2
permit ip any any 10.132.3.0 0.0.0.255 any
exit
class-map clm-1
match access-group acl-1
exit
class-map clm-2
match access-group acl-2
exit
policy-map plm-1
class clm-1
set dscp 48
exit
exit
policy-map plm-2
class clm-2
set dscp 40
exit
exit
Код: Выделить всё
console(config)#wrr-queue bandwidth
<sequences> Specify weight in the range weight1 - weight4. Enter
the frequency ratio in which the WRR scheduler drops
the packet in every queue. Separate each value by
space.
The ratio is as follows:
For queue number N the ratio is weightN /
SumOf{weight1 - weight4}.
A weight of "0" means no bandwidth is allocated for
the same queue, and the share bandwidth is divided
among the remaining queues.
console(config)#wrr-queue bandwidth 15 20 30 35
Too many weights (4 instead of 0). The last 4 weights are ignored.
console(config)#wrr-queue bandwidth 15 20 30 35 0 0 0 0
Wrong weights number, must be up to 4.
console(config)#do show bootvar
Image Filename Version Date Status
----- --------- --------- --------------------- -----------
1 image-1 1.1.40 20-Jul-2015 14:44:31 Active*
2 image-2 1.1.40 20-Jul-2015 14:44:31 Not active
"*" designates that the image was selected for the next boot