API Guide
NOS(conf-range-eth1/1/1,1/1/2,1/1/3)# service-policy input type network-qos llfc
NOS(conf-range-eth1/1/1,1/1/2,1/1/3)# end
WRED/ECN 配置 — ToR 设备
NOS# configure terminal
NOS(config)# wred w1
NOS(config-wred)# random-detect ecn
NOS(config-wred)# random-detect color green minimum-threshold 100 maximum-threshold 500 drop-
probability 100
NOS(config-wred)# random-detect color yellow minimum-threshold 100 maximum-threshold 500 drop-
probability 100
NOS(config-wred)# random-detect color red minimum-threshold 100 maximum-threshold 500 drop-
probability 100
NOS(config-wred)# exit
NOS(config)# class-map type queuing cq
NOS(config-cmap-queuing)# match queue 5
NOS(config-cmap-queuing)# exit
NOS(config)# policy-map type queuing pq
NOS(config-pmap-queuing)# class cq
NOS(config-pmap-c-que)# random-detect w1
NOS(config-pmap-c-que)# end
NOS# configure terminal
NOS(config)# interface range ethernet 1/1/1,1/1/2,1/1/3
NOS(conf-range-eth1/1/1,1/1/2,1/1/3)# flowcontrol receive off
NOS(conf-range-eth1/1/1,1/1/2,1/1/3)# priority-flow-control mode on
NOS(conf-range-eth1/1/1,1/1/2,1/1/3)# ets mode on
NOS(conf-range-eth1/1/1,1/1/2,1/1/3)# service-policy input type network-qos policy5
NOS(conf-range-eth1/1/1,1/1/2,1/1/3)# service-policy output type queuing pq
NOS(conf-range-eth1/1/1,1/1/2,1/1/3)# trust-map dot1p t1
NOS(conf-range-eth1/1/1,1/1/2,1/1/3)# end
启用 DCBx — ToR 设备
OS10# configure terminal
OS10(config)# dcbx enable
Identifier
GUID-E1C6B3DB-02D6-47A4-9BFD-3412B7398763
Version 2
Status Translation approved
缓冲区统计信息跟踪
OS10 提供了缓冲区统计信息跟踪 (BST) 功能,可观察交换机上的缓冲区使用情况,而不会影响性能。此功能将维护单独的计数器集
以用于缓冲区使用情况核算:
• 入口优先级组
• 入口服务池
• 入口共享空间池
• 出口队列
• 出口服务池
您可以获取不同缓冲区对象的缓冲区统计信息的快照,例如与某个端口关联的所有入口优先级组的快照、绑定到某个端口的所有出
口单播队列等。
您可以在全局级别启用 BST。OS10 将跟踪缓冲区利用率,并在一段时间内提供最大峰值统计信息值和受监控 BST 计数器的当前值。
在 SYSTEM-QOS 模式下使用 buffer-statistics-tracking 命令来启用 BST:
OS10# configure terminal
OS10(config)# configure system-qos
OS10(config-sys-qos)# buffer-statistics-tracking
清除计数器
您可以选择重置峰值缓冲区利用率值并确定新的峰值缓冲区利用率值。使用 clear qos statistics type buffer-
statistics-tracking 命令可清除跟踪的值并刷新此计数器。
BST 会跟踪一段时间内的峰值缓冲区利用率。在任何给定的时间点,都会显示过去的峰值缓冲区使用情况。
服务质量
1165