Skip to content

Commit 98fe4fd

Browse files
authored
Update intf-dampening-HLD.md
1 parent b269bfb commit 98fe4fd

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

system/intf-dampening-HLD.md

+5-4
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ Port Link Flap Error Disable
2121
| 0.3 | 05/11/2021 | Steven Lu | Add design details |
2222
| 0.4 | 05/24/2021 | Prasanth Kunjum Veettil | Add CLI and RESTCONF details |
2323
| 0.5 | 09/16/2021 | Steven Lu | Removed "Not-err-disabled" state |
24+
| 0.6 | 11/23/2021 | Steven Lu | Adjust default sampling-interval to 30 from 10 |
2425

2526
# About this Manual
2627
This document provides general information about the Port Link Flap Error Disable feature implementation in SONiC.
@@ -67,7 +68,7 @@ Specifies the amount of time in seconds, for which the port remains disabled (do
6768
- Port Link Flap Error Disable feature default is OFF on all physical interfaces and port-channels
6869
- When Port Link Flap Error Disable is enabled, use below default values:
6970
flap-threshold: 3
70-
sampling-interval: 10
71+
sampling-interval: 30
7172
recovery-interval: 300
7273
- User shall be able to specify different sampling-interval, flap-threshold and recovery-interval on a physical interface
7374
- User shall be able to display current Port Link Flap Error Disable confiuration values.
@@ -102,14 +103,14 @@ The Interface Error Disable feature exist in below modules and containers:
102103
- *link-error-disable flap-threshold <flap count> sampling-interval <interval in sec> recovery-interval <recovery interval in sec>*
103104
Example:
104105
```
105-
sonic(conf-if-Ethernet0)# link-error-disable flap-threshold 10 sampling-interval 3 recovery-interval 10
106+
sonic(conf-if-Ethernet0)# link-error-disable flap-threshold 3 sampling-interval 30 recovery-interval 100
106107
```
107108
In this example, the values for the parameters are as follows:
108109

109110
The flap-threshold is set at 10 times. This interval is the number of times that the port's link state goes from up to down and down to up before the recovery-interval is activated. Enter a valid value range from 1-50. Default is 3.
110111

111112

112-
The sampling-interval is set to 3 seconds. This time period is the amount of time during which the specified flap-threshold can be crossed. If the flap-threshold is crossed during this sampling-interval, port will be error-disabled. Enter a value between 1 and 65535 seconds. Default is 10.
113+
The sampling-interval is set to 30 seconds. This time period is the amount of time during which the specified flap-threshold can be crossed. If the flap-threshold is crossed during this sampling-interval, port will be error-disabled. Enter a value between 1 and 65535 seconds. Default is 30.
113114

114115

115116
The recovery-interval is set to 10 seconds. This period of time is the amount of time the port remains disabled (down) before it becomes enabled. Entering 0 indicates that the port will stay down until an administrative override occurs. Enter a value between 0 and 65534 seconds. Default is 300.
@@ -182,7 +183,7 @@ Example:
182183
sonic#show errdisable link-flap
183184
Interface Flap-threshold Sampling-interval Recovery-interval Status
184185
---------------------------------------------------------------------------
185-
Ethernet0 10 3 30 Errdisabled
186+
Ethernet0 3 30 30 Errdisabled
186187
Ethernet4 10 3 60 On
187188
Ethernet8 5 10 300 Off
188189
```

0 commit comments

Comments
 (0)