efa tenant po show

Shows brief or detailed output of the port channel of all tenants, a given tenant, or a given port channel.

Syntax

efa tenant po show [--name po-name |--tenant tenant-name | --detail ]

Parameters

--name po-name
Specifies the port channel name.
--tenant tenant-name
Specifies the tenant name.
--detail
Displays detailed output of the port channel. When this parameter is not used, only brief tabular output is returned.

Examples

This example shows brief output of all port channels.
$ efa tenant po show
+------+----------+----+-----------------------+---------+-------------+--------------+
| Name |  Tenant  | ID |      Description      |  Speed  | Negotiation | MinLinkCount |
+------+----------+----+-----------------------+---------+-------------+--------------+
| po1  | tenant11 | 1  | EFA Port-channel po1  | 100Gbps | active      | 2            |
|      |          |    |                       |         |             |              |
+------+----------+----+-----------------------+---------+-------------+--------------+
| po2  | tenant11 | 2  | po2                   | 10Gbps  | static      | 1            |
|      |          |    |                       |         |             |              |
+------+----------+----+-----------------------+---------+-------------+--------------+
| po11 | tenant21 | 3  | EFA Port-channel po11 | 25Gbps  | active      | 1            |
|      |          |    |                       |         |             |              |
+------+----------+----+-----------------------+---------+-------------+--------------+
+-----------------------+-------------+------------+-------------+-------------+
|         Ports         | LacpTimeout |   State    |  Dev-State  |  App-State  |
+-----------------------+-------------+------------+-------------+-------------+
| 10.20.216.15[0/12-13] | short       | po-created | provisioned | cfg-in-sync |
| 10.20.216.16[0/12-13] |             |            |             |             |
+-----------------------+-------------+------------+-------------+-------------+
| 10.20.216.15[0/15]    |             | po-created | provisioned | cfg-in-sync |
| 10.20.216.16[0/15]    |             |            |             |             |
+-----------------------+-------------+------------+-------------+-------------+
| 10.20.216.15[0/22]    | short       | po-created | provisioned | cfg-in-sync |
| 10.20.216.16[0/22]    |             |            |             |             |
+-----------------------+-------------+------------+-------------+-------------+

PortChannel Details

--- Time Elapsed: 832.496716ms ---
This example shows detailed output of all port channels.
$ efa tenant po show --detail
=====================================================================================
Name            : po1
Tenant          : tenant11
ID              : 1
Description     : EFA Port-channel po1
Speed           : 100Gbps
Negotiation     : active
Min Link Count  : 2
Lacp Timeout    : short
Ports           : 10.20.216.15[0/12-13]
                : 10.20.216.16[0/12-13]
State           : po-created
Dev State       : provisioned
App State       : cfg-in-sync

======================================================================================
======================================================================================
Name            : po2
Tenant          : tenant11
ID              : 2
Description     : EFA Port-channel po3
Speed           : 10Gbps
Negotiation     : static
Min Link Count  : 1
Lacp Timeout    :
Ports           : 10.20.216.15[0/15]
                : 10.20.216.16[0/15]
State           : po-created
Dev State       : provisioned
App State       : cfg-in-sync

======================================================================================
======================================================================================
Name            : po11
Tenant          : tenant21
ID              : 3
Description     : EFA Port-channel po11
Speed           : 25Gbps
Negotiation     : active
Min Link Count  : 1
Lacp Timeout    : short
Ports           : 10.20.216.15[0/22]
                : 10.20.216.16[0/22]
State           : po-created
Dev State       : provisioned
App State       : cfg-in-sync

======================================================================================

--- Time Elapsed: 506.117046ms ---
This example shows brief output of a specific port channel.
$ efa tenant po show --tenant tenant11 --name po1
+------+----------+----+---------+-------------+----------+---------+
| Name |  Tenant  | ID |  Speed  | Negotiation | Min Link |  Lacp   |
|      |          |    |         |             |  Count   | Timeout |
+------+----------+----+---------+-------------+----------+---------+
| po1  | tenant11 | 1  | 100Gbps |   active    |    1     |  short  |
|      |          |    |         |             |          |         |
+------+----------+----+---------+-------------+----------+---------+
+---------+--------------------+------------+-------------+-------------+
|  Lacp   |       Ports        |   State    |  Dev State  |  App State  |
| Timeout |                    |            |             |             |
+---------+--------------------+------------+-------------+-------------+
|  short  | 10.20.216.15[0/12] | po-created | provisioned | cfg-in-sync |
|         | 10.20.216.16[0/12] |            |             |             |
+---------+--------------------+------------+-------------+-------------+

PortChannel Details

--- Time Elapsed: 150.30883ms ---
This example shows detailed output of all port channels belonging to a tenant.
$ efa tenant po show --tenant tenant21 --detail
================================================================================
Name            : po11
Tenant          : tenant21
ID              : 3
Description     : EFA Port-channel po11
Speed           : 25Gbps
Negotiation     : active
Min Link Count  : 1
Lacp Timeout    : short
Ports           : 10.20.216.15[0/22]
                : 10.20.216.16[0/22]
State           : po-created
Dev State       : provisioned
App State       : cfg-in-sync

================================================================================

--- Time Elapsed: 223.892847ms ---