efa tenant service bgp peer-group show

Displays brief or detailed output of BGP peer groups for the specified tenant.

Syntax

efa tenant service bgp peer-group show [ --name peer-group-name |--tenant tenant-name | --detail ]

Parameters

--name peer-group-name
Specifies the name of the BGP peer group instance.
--tenant tenant-name
Specifies the name of the tenant.
--detail
Displays detailed output of the BGP peer group instance. When this parameter is not used, only brief tabular output is returned.

Examples

The following example shows brief output of all instances.

$ efa tenant service bgp peer-group show
=========================================================================
Name        : PG1
Tenant      : tenant11
State       : bgp-pg-state-created

+--------------+------------+--------+----------+------------+---------+
|  Device IP   | Peer Group | Remote | Next Hop |   Update   |   BFD   |
|              |            |  ASN   |   Self   | Source IP  | Enabled |
+--------------+------------+--------+----------+------------+---------+
| 10.20.216.16 |    pg1     | 95002  |   true   | 10.10.10.3 |  true   |
+--------------+------------+--------+----------+------------+---------+
+--------------------------+-------------+-------------+
|           BFD            |  Dev State  |  App State  |
| [Interval,Rx,Multiplier] |             |             |
+--------------------------+-------------+-------------+
|       660, 506, 20       | provisioned | cfg-in-sync |
+--------------------------+-------------+-------------+
BGP PeerGroup Details

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

--- Time Elapsed: 541.906975ms ---

The folowing example shows detailed output for a specified tenant.

efa tenant service bgp peer-group show --tenant tenant1

===============================================================================================================================
Name : ten1BgpPG1
Tenant : tenant1
State : bgp-pg-created
+--------------+------------+--------+----------+-------------+---------+--------------------------+-------------+-------------+
|    Device IP | Peer Group | Remote | Next Hop |      Update |     BFD |                      BFD |   Dev State |   App State |
|              |            |    ASN |     Self |   Source IP | Enabled | [Interval,Rx,Multiplier] |             |             |
+--------------+------------+--------+----------+-------------+---------+--------------------------+-------------+-------------+
| 10.20.246.15 | pg7        | 6001   | true     | 10.20.30.40 | true    | 100, 200, 5              | provisioned | cfg-in-sync |
+--------------+------------+--------+----------+-------------+---------+--------------------------+-------------+-------------+
BGP PeerGroup Details
					
				

The following example shows detailed output of a specific instance.

$ efa tenant service bgp peer-group show --name PG1 --tenant tenant11 
--detail
========================================================================
Name             : PG1
Tenant           : tenant11
State            : bgp-pg-state-created
Description      :

Peer Group
----------
        Device IP        : 10.20.216.16
        Peer Group       : pg1
        Remote ASN       : 95002
        Next Hop Self    : true
        Update Source IP : 10.10.10.3
        BFD Enabled      : true
        BFD Interval     : 660
        BFD Rx           : 506
        BFD Multiplier   : 20
        Dev State        : provisioned
        App State        : cfg-in-sync

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

--- Time Elapsed: 111.316727ms ---

The following example shows brief output of all instances created for a tenant.

$ efa tenant service bgp peer-group show --tenant tenant11
========================================================================
Name        : PG1
Tenant      : tenant11
State       : bgp-pg-state-created

+--------------+------------+--------+----------+------------+
|  Device IP   | Peer Group | Remote | Next Hop |   Update   |
|              |            |  ASN   |   Self   | Source IP  |
+--------------+------------+--------+----------+------------+
| 10.20.216.16 |    pg1     | 95002  |   true   | 10.10.10.3 |
+--------------+------------+--------+----------+------------+

+---------+--------------------------+-------------+-------------+
|   BFD   |           BFD            |  Dev State  |  App State  |
| Enabled | [Interval,Rx,Multiplier] |             |             |
+---------+--------------------------+-------------+-------------+
|  true   |       660, 506, 20       | provisioned | cfg-in-sync |
+---------+--------------------------+-------------+-------------+
BGP PeerGroup Details

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

--- Time Elapsed: 99.370646ms ---