Command Line Reference
QoS Configuration
WRED
8 min
wred view wred view table 1 wred view table 1 wred view true 330,331#4283c7 unhandled content type #4283c7 unhandled content type unhandled content type unhandled content type show wred \[ show wred \[ wred profile name ] \[command] show wred \[ wred profile name ] \[purpose] display wred profile \[parameters] true 330,331#4283c7 unhandled content type #4283c7 unhandled content type unhandled content type unhandled content type \[view] privileged user view \[notes] the default drop is the system predefined wred profile \[use cases] sonic# show wred wred profile default drop ecn ecn none green drop probability 100 green max threshold 1792000 green min threshold 15360 red drop probability 100 red max threshold 8960000 red min threshold 15360 wred green enable true wred red enable true wred yellow enable true yellow drop probability 100 yellow max threshold 7168000 yellow min threshold 15360 wred profile default ecn ecn ecn all green drop probability 100 green max threshold 1792000 green min threshold 15360 red drop probability 100 red max threshold 8960000 red min threshold 15360 wred green enable true wred red enable true wred yellow enable true yellow drop probability 100 yellow max threshold 7168000 yellow min threshold 15360 wred config wred config table 2 wred config table 2 wred config true 400,261#4283c7 unhandled content type #4283c7 unhandled content type unhandled content type unhandled content type #d8e5f5 unhandled content type #d8e5f5 unhandled content type unhandled content type unhandled content type wred wred wred profile name \[command] wred wred profile name \[purpose] create a wred profile and enter wred configuration view \[parameters] true 330,331#4283c7 unhandled content type #4283c7 unhandled content type unhandled content type unhandled content type \[view] global configuration view \[notes] run command no wred wred profile name to delete the wred profile \[use cases] sonic(config)# wred test sonic(config wred test)# mode drop gmin mode drop gmin min th gmax max th gprobability probability \[ymin min th ymax max th yprobability probability |rmin min th rmax max th rprobability probability ] \[command] mode drop gmin min th gmax max th gprobability probability \[ ymin min th ymax max th yprobability probability | rmin min th rmax max th rprobability probability ] \[purpose] set wred parameters for green/yellow/red messages \[parameters] true 115,546#4283c7 unhandled content type #4283c7 unhandled content type unhandled content type unhandled content type #d8e5f5 unhandled content type #d8e5f5 unhandled content type unhandled content type unhandled content type \[view] wred configuration view \[use cases] sonic(config wred test)# mode drop gmin 15360 gmax 150000 gprobability 10 wred { wred { wred profile name |default drop} \[command] wred { wred profile name | default drop } \[purpose] apply the wred profile to interfaces \[parameters] true 330,331#4283c7 unhandled content type #4283c7 unhandled content type unhandled content type unhandled content type \[view] policy map class map configuration view \[notes] before running this command, please bind an existing class map to specify the queue to be matched for the policy the default drop is the system predefined wred profile run command no wred wred profile name unbind the wred profile \[use cases] sonic(config)# class map classtest sonic(conifg cmap classtest)# exit sonic(config)# polic map test1 sonic(config pmap test1)# class classtest sonic(config pmap c)# wred wred profile
