Configuring exponential port dampening

To configure exponential port dampening, enable it for an interface and optionally set values for the half-life, max-suppress-time, reuse-threshold, and suppress-threshold parameters.

Configure EPD parameters for an interface

--{ candidate shared default }--[  ]--
# info with-context interface ethernet-1/1 ethernet exponential-port-dampening
    interface ethernet-1/1 {
        ethernet {
            exponential-port-dampening {
                admin-state enable
                half-life 10
                max-suppress-time 40
                reuse-threshold 1200
                suppress-threshold 2400
            }
        }
    }

Display EPD information for an interface

--{ running }--[  ]--
# info from state with-context interface ethernet-1/1 ethernet exponential-port-dampening
    interface ethernet-1/1 {
        ethernet {
            exponential-port-dampening {
                admin-state enable
                half-life 10
                max-suppress-time 40
                reuse-threshold 1200
                suppress-threshold 2400
                current-penalties 0
                max-penalties 19200
                oper-state active
            }
        }
    }

In addition to the EPD parameters configured for the interface, this command displays the current-penalties leaf, which is the accumulated penalty points applied to the port, and the max-penalties leaf, which is the maximum number of penalty points a port can accumulate. The max-penalties value is derived from the other EPD parameters, using the following formula:

max-penalties = reuse-threshold x 2(max-suppress-time/half-life)

The oper-state is active when the port is being suppressed because of EPD and idle when it is not.