...
!
mac access-list extended 1
permit any host 00:00:15:00:00:01
!
mac access-list extended 2
permit any host 00:00:15:00:00:02
!
mac access-list extended 3
permit any host 00:00:15:00:00:03
!
mac access-list extended 4
permit any host 00:00:15:00:00:04
!
mac access-list extended 5
permit any host 00:00:15:00:00:05
!
mac access-list extended 6
permit any host 00:00:15:00:00:06
!
mac access-list extended 7
permit any host 00:00:15:00:00:07
!
mac access-list extended 8
permit any host 00:00:15:00:00:08
!
interface tengigabitethernet 0/1
mac access-group 1 in
mac access-group 2 in
mac access-group 3 in
mac access-group 4 in
mac access-group 5 in
mac access-group 6 in
mac access-group 7 in
mac access-group 8 in
!
class-map 11
match access-group mac-access-list 1
set class 11 regen-priority 0 group-name qos
!
class-map 12
match access-group mac-access-list 2
set class 12 regen-priority 1 group-name qos
!
class-map 13
match access-group mac-access-list 3
set class 13 regen-priority 2 group-name qos
!
class-map 14
match access-group mac-access-list 4
set class 14 regen-priority 3 group-name qos
!
class-map 15
match access-group mac-access-list 5
set class 15 regen-priority 4 group-name qos
!
class-map 16
match access-group mac-access-list 6
set class 16 regen-priority 5 group-name qos
!
class-map 17
match access-group mac-access-list 7
set class 17 regen-priority 6 group-name qos
!
class-map 18
match access-group mac-access-list 8
set class 18 regen-priority 7 group-name qos
!
scheduler 10 interface gigabitethernet 0/1 sched-algo strict-priority
!
queue 1 interface gigabitethernet 0/1 scheduler 10
queue 2 interface gigabitethernet 0/1 scheduler 10 weight 2
queue 3 interface gigabitethernet 0/1 scheduler 10 weight 3
queue 4 interface gigabitethernet 0/1 scheduler 10 weight 4
queue 5 interface gigabitethernet 0/1 scheduler 10 weight 5
queue 6 interface gigabitethernet 0/1 scheduler 10 weight 6
queue 7 interface gigabitethernet 0/1 scheduler 10 weight 7
queue 8 interface gigabitethernet 0/1 scheduler 10 weight 8
!
end
В графе "Loss %" статистики потоков на сервере IXIA мы видим порядок обработки трафика в соответствии с весом очередей. Трафик высокоприоритетных очередей 6, 7 и 8 прошел полностью без потерь, утилизировав 900Mb/s пропускной способности интерфейса gi0/1. В очереди 5 потери составили около 70%, что соответствует оставшейся на интерфейсе полосе пропускания в 100Mb/s. Пакеты оставшихся очередей были полностью отброшены.
...
вес очередей оставим таким же, посмотрим на результат:
и начинаем считать.
...