IOS-XE ルータの Ethernet interface の speed の値を小さくすると、interface の queue-limit の値が小さくなります。
auto または speed 1000 のときは queue-limit の値が 6562560 bytes なのに対し、speed 100 の際は 656288 bytes 、speed 10 の際は 65664 bytes となります。
interface の queue-limit の値は以下のコマンドで確認することができます。
show platform hardware qfp active infrastructure bqs queue output default interface <if-name>
ASR1001#show platform hardware qfp active infrastructure bqs queue output default interface gi 0/0/0 Interface: GigabitEthernet0/0/0 QFP: 0.0 if_h: 6 Num Queues/Schedules: 1 Queue specifics: Index 0 (Queue ID:0x8a, Name: GigabitEthernet0/0/0) Software Control Info: (cache) queue id: 0x0000008a, wred: 0x88b168e2, qlimit (bytes): 65664 parent_sid: 0x27c, debug_name: GigabitEthernet0/0/0 sw_flags: 0x08000011, sw_state: 0x00000c01, port_uidb: 65530 orig_min : 0 , min: 1050000 min_qos : 0 , min_dflt: 0 orig_max : 0 , max: 0 max_qos : 0 , max_dflt: 0 share : 1 plevel : 0, priority: 65535 defer_obj_refcnt: 0 Statistics: tail drops (bytes): 0 , (packets): 0 total enqs (bytes): 0 , (packets): 0 queue_depth (bytes): 0 licensed throughput oversubscription drops: (bytes): 0 , (packets): 0
|
queue-limit が小さくなることにより、設定した帯域を超えずにパケットDrop が発生する可能性があります。
便宜的にshapingの設定を追加し、queue-limit のサイズを大きくすることにより、この問題を防ぐことができます。
設定例は下記の通りです
policy-map test class class-default shape average percent 100 queue-limit 656288 bytes
<snip> interface GigabitEthernet0/0/0 service-policy output test
|