QoS Schedule


初期設定

↑スクショの通り

iosv-1(config)#access-list 1 permit host 192.168.12.2
iosv-1(config)#class-map SCHE
iosv-1(config-cmap)#match access-group 1
iosv-1(config-cmap)#exit
iosv-1(config)#eac
iosv-1(config)#acce
iosv-1(config)#access-list 2 permit host 192.168.10.10
iosv-1(config)#class-map SCHE
iosv-1(config-cmap)#exit
iosv-1(config)#class-map SCHE_2
iosv-1(config-cmap)#match access-group 2
iosv-1(config-cmap)#exit
iosv-1(config)#policy-map SCHEDULE
iosv-1(config-pmap)#class SCHE
iosv-1(config-pmap-c)#priority level ?
<1-2>  Multi-Level Priority Queue
iosv-1(config-pmap-c)#priority level 1
iosv-1(config-pmap-c)#police 20000
iosv-1(config-pmap-c-police)#exit
iosv-1(config-pmap-c)#class SCHE_2
iosv-1(config-pmap-c)#priority level 2
iosv-1(config-pmap-c)#police 8000
iosv-1(config-pmap-c-police)#exit
iosv-1(config-pmap)#end

iosv-1#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
iosv-1(config)#control-plane
iosv-1(config-cp)#service-policy input SCHEDULE
'Priority' not supported on control-plane
error: failed to install policy map SCHEDULE
iosv-1(config-cp)#exit
iosv-1(config)#int gi0/1
iosv-1(config-if)#service-policy output SCHEDULE

ポリシングと比べて仕組みは異なるのにコンフィグはほっとんど変わらない。注意点はコントロールプレーンには適用できないこと。
あと、レベル2つしかない。
NOKIAとかだと7つくらいレベルあった気がする。

ping爆撃

[2023-07-16 20:48:27.254] iosv-2#ping 192.168.13.3 repeat 500
[2023-07-16 20:49:14.336] Type escape sequence to abort.
[2023-07-16 20:49:14.428] Sending 500, 100-byte ICMP Echos to 192.168.13.3, timeout is 2 seconds:
[2023-07-16 20:49:14.530] !!!!!!!!!!!!!!!.!!!!!!!!!!!!!!.!!!!!!!!!!!!!!.!!!!!!!!!!!!!!!.!!!!!!!!
[2023-07-16 20:49:22.900] !!!!!!!.!!!!!!!!!!!!!!!.!!!!!!!!!!!!!!!.!!!!!!!!!!!!!!!.!!!!!!!!!!!!!!
[2023-07-16 20:49:31.481] !.!!!!!!!!!!!!!!.!!!!!!!!!!!!!!!.!!!!!!!!!!!!!!.!!!!!!!!!!!!!!!.!!!!!!
[2023-07-16 20:49:41.881] !!!!!!!!.!!!!!!!!!!!!!!!.!!!!!!!!!!!!!!.!!!!!!!!!!!!!!.!!!!!!!!!!!!!!!
[2023-07-16 20:49:52.287] .!!!!!!!!!!!!!!!.!!!!!!!!!!!!!!!.!!!!!!!!!!!!!!!.!!!!!!!!!!!!!!!.!!!!!
[2023-07-16 20:50:00.763] !!!!!!!!!!.!!!!!!!!!!!!!!.!!!!!!!!!!!!!!.!!!!!!!!!!!!!!.!!!!!!!!!!!!!!
[2023-07-16 20:50:11.164] .!!!!!!!!!!!!!!!.!!!!!!!!!!!!!!.!!!!!!!!!!!!!!!.!!!!!!!!!!!!!!.!!!!!!!
[2023-07-16 20:50:19.658] !!!!!!!.!!
[2023-07-16 20:50:21.676] Success rate is 93 percent (468/500), round-trip min/avg/max = 3/5/19 ms
[2023-07-16 20:48:33.902] iosv-0#ping 192.168.13.3 repeat 500
[2023-07-16 20:49:15.738] Type escape sequence to abort.
[2023-07-16 20:49:15.835] Sending 500, 100-byte ICMP Echos to 192.168.13.3, timeout is 2 seconds:
[2023-07-16 20:49:15.941] !!!!!!!!!!!!!.!!!!!!!!!!!!!.!!!!!!!!!!!!!.!!!!!!!!!!!!!.!!!!!!!!!!!!!.
[2023-07-16 20:49:26.233] !!!!!!!!!!!!!.!!!!!!!!!!!!!.!!!!!!!!!!!!!.!!!!!!!!!!!!!.!!!!!!!!!!!!!.
[2023-07-16 20:49:36.731] !!!!!!!!!!!!!.!!!!!!!!!!!!!.!!!!!!!!!!!!!.!!!!!!!!!!!!!.!!!!!!!!!!!!!.
[2023-07-16 20:49:47.134] !!!!!!!!!!!!!.!!!!!!!!!!!!!.!!!!!!!!!!!!!.!!!!!!!!!!!!!.!!!!!!!!!!!!!.
[2023-07-16 20:49:57.634] !!!!!!!!!!!!!.!!!!!!!!!!!!!.!!!!!!!!!!!!!.!!!!!!!!!!!!!.!!!!!!!!!!!!!.
[2023-07-16 20:50:08.132] !!!!!!!!!!!!!.!!!!!!!!!!!!!.!!!!!!!!!!!!!.!!!!!!!!!!!!!.!!!!!!!!!!!!!.
[2023-07-16 20:50:18.648] !!!!!!!!!!!!!.!!!!!!!!!!!!!.!!!!!!!!!!!!!.!!!!!!!!!!!!!.!!!!!!!!!!!!!.
[2023-07-16 20:50:29.146] !!!!!!!!!!
[2023-07-16 20:50:29.245] Success rate is 93 percent (465/500), round-trip min/avg/max = 4/5/18 ms

pingのつまり具合からちゃんとレベルに合わせたポリシングが行われていることが確認できる。

この記事が気に入ったらサポートをしてみませんか?