Skip to content

Commit 878d180

Browse files
authored
[VOQ LAG HLD] Updates for show commands
Show commands section is updated to include syntax and sample output
2 parents 78e7fb1 + f7146b4 commit 878d180

File tree

1 file changed

+44
-8
lines changed

1 file changed

+44
-8
lines changed

doc/voq/lag_hld.md

+44-8
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# LAG on Distributed VOQ System
22
# High Level Design Document
3-
### Rev 1.0
3+
### Rev 1.1
44

55
# Table of Contents
66
* [List of Tables](#list-of-tables)
@@ -42,6 +42,7 @@
4242
| Rev | Date | Author | Change Description |
4343
|:---:|:-----------:|:-----------------------------------------------------------------------------------------:|-----------------------------------|
4444
| 1.0 | | Srikanth Keesara, Vedavinayagam Ganesan, Sureshkannan Duraisamy (Nokia's Sonic Team) | Initial version |
45+
| 1.1 | | Vedavinayagam Ganesan (Nokia's Sonic Team) | Updates for show commands |
4546

4647
# About this Manual
4748
This document describes changes needed for the correct operation of LAG in a distributed VOQ system.
@@ -545,15 +546,50 @@ Shown below is the new attribute of SAI_OBJECT_TYPE_LAG object that is used for
545546

546547
## 8 Example Show Commands
547548

549+
The system lag information are taken from **SYSTEM_LAG_TABLE** of **CHASSIS_APP_DB** from supervisor card.
550+
551+
The show commands for system lags are under **show chassis** commands group as show below
552+
553+
```
554+
admin@Linecard2:~$ show chassis -h
555+
Usage: show chassis [OPTIONS] COMMAND [ARGS]...
556+
557+
Chassis commands group
558+
559+
Options:
560+
-h, -?, --help Show this message and exit.
561+
562+
Commands:
563+
modules Show chassis-modules information
564+
system-lags Show VOQ system lags information
565+
system-neighbors Show VOQ system neighbors information
566+
system-ports Show VOQ system ports information
567+
admin@Linecard2:~$
548568
```
549-
admin@sonic:~$ show interfaces portchannel system
550-
Flags: A - active, I - inactive, Up - up, Dw - Down, N/A - not available,
551-
S - selected, D - deselected, * - not synced, L - local switch
552-
No. Switch ID LAG Name Protocol Ports
553-
----- ---------- ----------- ---------- --------------
554-
1 0(L} PortChannel1 SystemLAG Slot1|Asic0|Ethernet1(S) Slot1|Asic0|Ethernet2(S)
555-
2 6 PortChannel1 SystemLAG Slot2|Asic0|Ethernet1(S) Slot2|Asic0|Ethernet2(S)
569+
### Syntax
556570
```
571+
admin@Linecard2:~$ show chassis system-lags -h
572+
Usage: show chassis system-lags [OPTIONS] [SYSTEMLAGNAME]
573+
574+
Show VOQ system lags information
575+
576+
Options:
577+
-n, --asicname TEXT Asic name
578+
-l, --linecardname TEXT Linecard or Host name
579+
--verbose Enable verbose output
580+
-?, -h, --help Show this message and exit.
581+
admin@Linecard2:~$
582+
```
583+
### Sample output
584+
```
585+
admin@Linecard2:~$ show chassis system-lags
586+
System Lag Name Lag Id Switch Id Member System Ports
587+
---------------------------- -------- ----------- ------------------------------------------------------
588+
Linecard2|Asic0|PortChannel1 2 6 Linecard2|Asic0|Ethernet10, Linecard2|Asic0|Ethernet11
589+
Linecard4|Asic0|PortChannel1 1 18 Linecard4|Asic0|Ethernet7, Linecard4|Asic0|Ethernet20
590+
admin@Linecard2:~$
591+
```
592+
557593
## 9 Test Considerations
558594

559595
### test_virtual_chassis.py

0 commit comments

Comments
 (0)