efa tenant show

Displays brief or detailed tenant details.

Syntax

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

Parameters

--name tenant-name
Specifies the name of the tenant.
--detail
Displays detailed output of the tenant. When this parameter is not used, only brief tabular output is returned.
--help
Displays help for the command.

Examples

This example shows brief output of all configured tenants.

$ efa tenant show
+----------+-------------+-------------+------------+-----------+
|   Name   | L2VNI-Range | L3VNI-Range | VLAN-Range | VRF-Count |
+----------+-------------+-------------+------------+-----------+
| ST       |             |             |            | 0         |
|          |             |             |            |           |
+----------+-------------+-------------+------------+-----------+
| tenant11 | 10002-14190 | 14191-14200 | 2-4090     | 10        |
|          |             |             |            |           |
+----------+-------------+-------------+------------+-----------+
| tenant12 |             |             | 2-100      | 10        |
|          |             |             |            |           |
+----------+-------------+-------------+------------+-----------+
| tenant21 | 30002-34190 | 34191-34200 | 2-4090     | 10        |
|          |             |             |            |           |
+----------+-------------+-------------+------------+-----------+

+-----------+---------+------------------------------+
| Enable-BD |  Type   |          Ports               |
+-----------+---------+------------------------------+
| False     | shared  | 10.20.216.15[0/1-10]         |
|           |         | 10.20.216.16[0/1-10]         |
+-----------+---------+------------------------------+
| False     | private | 10.20.216.16[0/11-20]        |
|           |         | 10.20.216.15[0/11-20]        |
+-----------+---------+------------------------------+
| False     | private | 10.20.216.103[0/1-10]        |
|           |         | 10.20.216.104[0/1-5,0/6:1-4] |
+-----------+---------+------------------------------+
| True      | private | 10.20.216.15[0/21-28]        |
|           |         | 10.20.216.16[0/21-28]        |
+-----------+---------+------------------------------+
Tenant Details

--- Time Elapsed: 373.898409ms ---

This example shows brief output of a specific tenant.

$ efa tenant show --name tenant21
+----------+---------+------------+-------------+-------------+-----------+
|   Name   |  Type   | VLAN Range | L2VNI Range | L3VNI Range | VRF Count |
+----------+---------+------------+-------------+-------------+-----------+
| tenant21 | private |   2-4090   | 30002-34190 | 34191-34200 |    10     |
|          |         |            |             |             |           |
+----------+---------+------------+-------------+-------------+-----------+
+-----------+-----------------------+
| Enable BD |         Ports         |
+-----------+-----------------------+
|   true    | 10.20.216.15[0/21-28] |
|           | 10.20.216.16[0/21-28] |
+-----------+-----------------------+
Tenant Details

--- Time Elapsed: 134.679221ms ---
This example shows detailed output of a specific tenant.
$ efa tenant show --name tenant21 --detail
=================================================================================
Name            :  tenant21
Description     :
L2VNI-Range     :  30002-34190
L3VNI-Range     :  34191-34200
VLAN-Range      :  2-4090
VRF-Count       :  10
Enable-BD       :  True
Type            :  private
Ports           :  10.20.216.16[0/21-28]
                :  10.20.216.15[0/21-28]
================================================================================

--- Time Elapsed: 228.653259ms ---