Celestica Documentation Portal

Find your product documents here

random-detect ecn

Enables explicit congestion notification (ECN) for different colors of a WRED profile.

Syntaxrandom-detect ecn <value>
Command modeWRED CONFIGURATION
Parameters value – Available options are:
  • green – Enable ECN marking for green color. Yellow and red are disabled.

  • yellow – Enable ECN marking for yellow color. Green and red are disabled.

  • red – Enable ECN marking for red color. Green and yellow are disabled.

  • green_yellow – Enable ECN marking for green and yellow colors. Red is disabled.

  • green_red – Enable ECN marking for green and red colors. Yellow is disabled.

  • yellow_red – Enable ECN marking for yellow and red colors. Green is disabled.

  • all – Enable ECN marking for all colors.

Usage
  • Use no random-detect ecn to restore the default settings none for ECN.

  • By default, ECN marking for all colors is disabled.

Supported Releases1.0.0 or later
Click command None
Example
sonic(config-wred-test1)# random-detect ecn green
sonic(config-wred-test1)# random-detect ecn red

sonic(config-wred-test1)# random-detect ecn yellow_red

sonic(config-wred-test1)# no random-detect ecn