API Guide

示例
OS10(config-qos-map)# queue 2 qos-group 2-5 type unicast
支持的版本
10.5.0 或更高版本
Identifier GUID-4F4BC273-4A72-46AF-A90F-3875EA996445
Version 1
Status Translation approved
random-detect (interface)
为指定接口分配 WRED 配置文件。
语法
random-detect wred-profile
参数
wred-profile 输入现有 WRED 配置文件的名称。
默认 未配置
命令模式
INTERFACE
使用情况信息
此命令的 no 版本会从接口移除 WRED 配置文件。
示例
OS10(config)# interface ethernet 1/1/1
OS10(conf-if-eth1/1/1)# random-detect test_wred
支持的版本
10.4.0E(R1) or later
Identifier GUID-F99E937C-D4AA-47BF-B2B4-A53F9C0807DD
Version 1
Status Translation approved
random-detect (queue)
WRED 配置文件分配给指定队列。
语法
random-detect wred-profile-name
参数
wred-profile-name 输入现有 WRED 配置文件的名称。
默认 未配置
命令模式
PMAP-C-QUE
使用情况信息
此命令的 no 版本将从队列中移除 WRED 配置文件。
示例
OS10(config)# policy-map type queuing p1
OS10(config-pmap-queuing)# class c1
OS10(config-pmap-c-que)# random-detect test_wred
支持的版本
10.4.0E(R1) or later
Identifier GUID-9DB903C2-4CA7-4D70-9CC4-BC500BA832DA
Version 2
Status Translation approved
random-detect color
配置可用颜色的 WRED 配置文件的阈值。
语法
random-detect color color-name minimum-threshold minimum-value maximum-
threshold maximum-value drop-probability drop-rate
参数
color-name 输入 WRED 配置文件的丢弃优先级颜色。可用选项为绿色、黄色和红色。
minimum-value 输入指定颜色的最小阈值 1 12480
1186
服务质量