了解严格优先级队列
您可以使用严格优先级队列和策略,如下所示:
通过配置行为聚合 (BA) 或多域 (MF) 分类器,识别对延迟敏感的信息流。
将所有对延迟敏感的数据包分配给严格优先级队列,最大限度地减少延迟。
通过配置检查进入严格优先级队列的数据流的策略程序,防止其他队列资源不足。策略程序可定义下界,将超出下边界的数据包标记为出配置文件,当物理接口出现人员塞时,将丢弃配置文件外数据包。如果没有拥塞,软件将转发所有数据包,包括配置文件外数据包。
或者,配置另一个策略器,用于定义上边界并丢弃超出上边界的数据包(不管物理接口拥塞如何)。
要配置严格优先级队列并防止其他队列不足,请包括在层次结构级别中的语句和 层次结构级别的 和 priority strict-high
[edit class-of-service schedulers scheduler-name]
if-exceeding
then out-of-profile
[edit firewall policer policer-name]
语句:
[edit class-of-service schedulers scheduler-name] priority strict-high; [edit firewall policer policer-name] if-exceeding { bandwidth-limit bps; bandwidth-percent number; burst-size-limit bytes; } then out-of-profile;