第16章 队列调度算法

16.1 FIFO队列

图片[1]-第16章 队列调度算法-大赛人网
图16-1 FIFO队列配置网络拓扑

1.查看防火墙接口运行状态和统计信息

[FW2]display interface GigabitEthernet 0/0/0
11:08:39  2023/02/26
GigabitEthernet0/0/0 current state : UP   
Line protocol current state : UP
GigabitEthernet0/0/0 current firewall zone : trust
Description : Huawei, SRG Series, GigabitEthernet0/0/0 Interface, Route Port 
The Maximum Transmit Unit is 1500 bytes, Hold timer is 10(sec) 
Internet Address is 10.1.1.1/8 
IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is 0000-005c-8800
QoS max-bandwidth : 1000000 Kbps
Output queue : (Urgent queue : Size/Length/Discards)  0/50/0
Output queue : (Frag queue : Size/Length/Discards)  0/1000/0
Output queue : (Protocol queue : Size/Length/Discards) 0/1000/0 
Output queue : (FIFO queue : Size/Length/Discards)  0/256/0
1)Urgent queue :紧急队列
2)Frag queue :分片队列
3)Protocol queue :协议队列
4)FIFO queue :先进先出队列
对于各种发送队列,显示为Size/Length/Discards形式的数字,这里各字段含义如下:
Size :队列中的分组数。
Length:用分组表示的最大队列的长度。
Discards:由于队列已满而丢失的分组数。

2.修改FIFO队列长度

[FW2]interface GigabitEthernet 0/0/0
[FW2-GigabitEthernet0/0/0]qos fifo queue-length 500
[FW2]display interface GigabitEthernet 0/0/0
11:15:22  2023/02/26
GigabitEthernet0/0/0 current state : UP   
Line protocol current state : UP
GigabitEthernet0/0/0 current firewall zone : trust
Description : Huawei, SRG Series, GigabitEthernet0/0/0 Interface, Route Port 
The Maximum Transmit Unit is 1500 bytes, Hold timer is 10(sec) 
Internet Address is 10.1.1.1/8 
IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is 0000-005c-8800
QoS max-bandwidth : 1000000 Kbps
Output queue : (Urgent queue : Size/Length/Discards)  0/50/0
Output queue : (Frag queue : Size/Length/Discards)  0/1000/0
Output queue : (Protocol queue : Size/Length/Discards) 0/1000/0 
Output queue : (FIFO queue : Size/Length/Discards)  0/500/0
© 版权声明
THE END
喜欢就支持一下吧
点赞8 分享
评论 抢沙发
头像
欢迎您留下宝贵的见解!
提交
头像

昵称

取消
昵称

    请登录后查看评论内容