Skip to content

Commit b302549

Browse files
Portchannel related updates for the Interface down reason (sonic-net#189)
* The document is updated with below content: 1. Removed portchannel down reason flags from show portchannel summary command. 2. Added portchannel down reason in the output show interface status. Note: Portchannels were not displayed in the output show interface status; we'll start displaying the same from SONiC 4.0.0. * Fixing few indentation issues * Fixing few indentation issues * Fixing few indentation issues
1 parent 7a90ec3 commit b302549

File tree

1 file changed

+38
-17
lines changed

1 file changed

+38
-17
lines changed

system/Interface_Down_Reason.md

Lines changed: 38 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@
5858
| Rev | Date | Author | Change Description |
5959
|:---:|:-----------:|:------------------:|-----------------------------------|
6060
| 0.1 | 04/05/2021 | Prasanth K V | Initial version |
61+
| 0.2 | 05/17/2021 | Madhukar K | Modified portchannel content |
6162

6263
# About this Manual
6364
This document provides comprehensive functional and design information about the *Interface Down Reason* feature implementation in SONiC.
@@ -68,6 +69,7 @@ This document provides comprehensive functional and design information about the
6869
| **Term** | **Meaning** |
6970
|--------------------------|-------------------------------------|
7071
| PCS | Physical Coding Sub-layer |
72+
| LACP | Link Aggregation Control Protocol |
7173

7274
# 1 Feature Overview
7375

@@ -108,7 +110,11 @@ So an interface flap affects the system in general and hence it is important to
108110
- PHY link up
109111

110112
1.3 - The list of reasons to be supported on port channel interfaces:
111-
113+
- Admin down
114+
- Min links criteria not met
115+
- Error disabled
116+
- All the member ports are link down
117+
- LACP convergence failed for member ports
112118

113119
2 Functionality
114120

@@ -248,27 +254,33 @@ Output statistics:
248254
```
249255

250256
#### Port channel interface
251-
- New “oper-status” flags in show portchannel summary command:
252-
Err-disabled
253-
Min-links-not-met
257+
- *show interface status*
258+
Along with the physical interfaces, configured portchannel interfaces are displayed in this command output. The new column, "Reason" displays the high level reason for portchannel down. The reasons are
254259
Admin-down
255-
LACP-convergence-failed
260+
Min-links
261+
Err-disabled
262+
All-links-down
263+
LACP-fail
256264

257265
```
258-
sonic# show PortChannel summary
259-
Flags(oper-status): E - Err-disabled M - Oper down(Min-links-not-met) A - Admin-down L - LACP
260-
-convergence-failed D - Down U - Up (portchannel) P - Up in portchannel (members)
261-
------------------------------------------------------------------------------------------------
262-
Group PortChannel Type Protocol Member Ports
263-
------------------------------------------------------------------------------------------------
264-
1 PortChannel1 (DE) Eth LACP Ethernet48(D)
265-
10 PortChannel10 (U) Eth LACP Ethernet0(P) Ethernet1(D)
266-
12 PortChannel12 (DA) Eth LACP Ethernet3(D)
267-
15 PortChannel15 (DM) Eth LACP Ethernet39(D)
268-
16 PortChannel16 (DL) Eth LACP Ethernet52(D)
266+
sonic# show interface status
267+
Name Description Oper Reason Speed MTU Alternate Name
268+
----------------------------------------------------------------------------------
269+
Eth1/1 - Down Admin-down 100000 9100 Ethernet0
270+
Eth1/2/1 - Down Err-disabled 10000 9100 Ethernet4
271+
Eth1/2/2 - Down Phy-link-down 10000 9100 Ethernet5
272+
Eth1/2/3 - Up Link-up 10000 9100 Ethernet6
273+
PortChannel1 - Down Admin-down 20000 9100 -
274+
PortChannel3 - Down Min-links 30000 9100 -
275+
PortChannel5 - Down Err-disabled 30000 9100 -
276+
PortChannel7 - Down All-links-down 40000 9100 -
277+
PortChannel8 - Down LACP-fail 40000 9100 -
278+
PortChannel9 - Up Up 10000 9100 -
269279
```
270280

271-
show interface command to display the reason with timestamp:
281+
- *show interface PortChannel [id]*
282+
283+
show interface PortChannel command to display the reason with timestamp:
272284
```
273285
sonic# show interface PortChannel 1
274286
PortChannel1 is up, line protocol down, reason err-disable, mode LACP
@@ -288,6 +300,15 @@ LACP Partner port 0 address 00:00:00:00:00:00 key 0
288300
Last clearing of "show interface" counters: never
289301
10 seconds input rate 0 packets/sec, 0 bits/sec, 0 Bytes/sec
290302
10 seconds output rate 0 packets/sec, 0 bits/sec, 0 Bytes/sec
303+
Input statistics:
304+
18378 packets, 4042580 octets
305+
18378 Multicasts, 0 Broadcasts, 0 Unicasts
306+
0 error, 18378 discarded
307+
Output statistics:
308+
90435 packets, 13274184 octets
309+
90435 Multicasts, 0 Broadcasts, 0 Unicasts
310+
0 error, 0 discarded
311+
291312
```
292313
#### 3.6.2.3 Exec Commands
293314

0 commit comments

Comments
 (0)