AI ECN配置建议
<HUAWEI> system-view
[~HUAWEI] low-latency fabric
[~HUAWEI-low-latency-fabric] undo qos dynamic-ecn-threshold enable //去使能所有无损队列的动态ECN门限功能,CE16800不需要配置这一步骤
[*HUAWEI-low-latency-fabric] quit
[*HUAWEI] commit
[~HUAWEI] ai-service
[*HUAWEI-ai-service] ai-ecn
[*HUAWEI-ai-service-ai-ecn] ai-ecn enable
重要注意事项:
本功能仅对处于Up状态的端口绑定的PFC default模板下配置的最高优先级队列生效,用户可以通过调整PFC default模板下的优先级队列配置来调整AI ECN的使能队列。
若PFC default模板下配置的最高优先级队列上已使能静态ECN门限功能或者WRED丢弃功能,则无法使能AI ECN门限功能。若PFC default模板下配置的最高优先级队列上已使能AI ECN门限功能,则无法再使能静态ECN门限功能或者WRED丢弃功能。
AI ECN门限功能与动态ECN门限功能互斥。若已经使能了动态ECN门限功能,需要去使能无损队列的动态ECN门限功能。
配置完成后,可以通过display ai-ecn calculated state命令查看无损队列的AI ECN功能的使能状态和计算出的ECN门限值。
[~HUAWEI] display ai-ecn calculated state interface 100ge 1/0/1
*: Indicates the queue where AI ECN takes effect.
AI-ECN State: enabled
--------------------------------------------------------------------
Interface Queue Low-Threshold High-Threshold Probability
(Byte) (Byte) (%)
--------------------------------------------------------------------
100GE1/0/1 0 0 0 0
1 0 0 0
2 0 0 0
*3 4896 18874080 40
4 0 0 0
5 0 0 0
6 0 0 0
7 0 0 0
需要注意的是,通过display ai-ecn calculated state命令查看到的仅为AI ECN功能计算出的ECN门限值。可以通过display qos ecn threshold(CE16800不支持)命令查看实际生效的ECN门限值。