|
1 | 1 | # LAG on Distributed VOQ System
|
2 | 2 | # High Level Design Document
|
3 |
| -### Rev 1.0 |
| 3 | +### Rev 1.1 |
4 | 4 |
|
5 | 5 | # Table of Contents
|
6 | 6 | * [List of Tables](#list-of-tables)
|
|
42 | 42 | | Rev | Date | Author | Change Description |
|
43 | 43 | |:---:|:-----------:|:-----------------------------------------------------------------------------------------:|-----------------------------------|
|
44 | 44 | | 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 | |
45 | 46 |
|
46 | 47 | # About this Manual
|
47 | 48 | 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
|
545 | 546 |
|
546 | 547 | ## 8 Example Show Commands
|
547 | 548 |
|
| 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:~$ |
548 | 568 | ```
|
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 |
556 | 570 | ```
|
| 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 | + |
557 | 593 | ## 9 Test Considerations
|
558 | 594 |
|
559 | 595 | ### test_virtual_chassis.py
|
|
0 commit comments