efa tenant service bgp peer show

Shows brief or detailed output of the BGP neighbors for a given tenant.

Syntax

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

Parameters

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

Examples

The following example shows brief output of all BGP peer instances.

(efa:extreme)extreme@node-1:~$ efa tenant service bgp peer show
===================================================================================
Name        : B2
Tenant      : tenant11
State       : bs-state-created

+-----------+-----+-----+------+-----------+------------+----------+-----------+
| Device IP | VRF | AFI | SAFI | Remote IP | Remote ASN | Next Hop |  Update   |
|           |     |     |      |           |            |   Self   | Source IP |
+-----------+-----+-----+------+-----------+------------+----------+-----------+
+---------+--------------------------+-----------+-----------+
|   BFD   |           BFD            | Dev State | App State |
| Enabled | [Interval,Rx,Multiplier] |           |           |
+---------+--------------------------+-----------+-----------+
Static Peer Details

+--------------+--------+------+---------+---------------+--------+------------+
|  Device-IP   |  VRF   | AFI  |  SAFI   | Listen Range  | Listen | Peer Group |
|              |        |      |         |               | Limit  |            |
+--------------+--------+------+---------+---------------+--------+------------+
| 10.20.216.16 | blue11 | ipv4 | unicast | 15.15.15.0/28 |   10   |    pg1     |
+--------------+--------+------+---------+---------------+--------+------------+
| 10.20.216.16 | blue11 | ipv6 | unicast |   15::/127    |   10   |    pg1     |
+--------------+--------+------+---------+---------------+--------+------------+
+-------------+-------------+
|  Dev State  |  App State  |
|             |             |
+-------------+-------------+
| provisioned | cfg-in-sync |
+-------------+-------------+
| provisioned | cfg-in-sync |
+-------------+-------------+

Dynamic Peer Details

===============================================================================
===============================================================================
Name        : B1
Tenant      : tenant11
State       : bs-state-created

+--------------+--------+------+---------+------------+------------+----------+
|  Device IP   |  VRF   | AFI  |  SAFI   | Remote IP  | Remote ASN | Next Hop |
|              |        |      |         |            |            |   Self   |
+--------------+--------+------+---------+------------+------------+----------+
| 10.20.216.16 | blue11 | ipv4 | unicast |  1.1.1.11  |   95001    |  always  |
+--------------+--------+------+---------+------------+------------+----------+
| 10.20.216.16 | blue11 | ipv6 | unicast | 20a1:a::10 |   95001    |  always  |
+--------------+--------+------+---------+------------+------------+----------+
+-------------+---------+--------------------------+-------------+-------------+
|   Update    |   BFD   |           BFD            |  Dev State  |  App State  |
|  Source IP  | Enabled | [Interval,Rx,Multiplier] |             |             |
+-------------+---------+--------------------------+-------------+-------------+
| 10.11.12.13 |  true   |       50, 5000, 50       | provisioned | cfg-in-sync |
+-------------+---------+--------------------------+-------------+-------------+
|   20::10    |  true   |       50, 5000, 50       | provisioned | cfg-in-sync |
+-------------+---------+--------------------------+-------------+-------------+
Static Peer Details

+-----------+-----+-----+------+--------------+--------+------------+-----------+-----------+
| Device-IP | VRF | AFI | SAFI | Listen Range | Listen | Peer Group | Dev State | App State |
|           |     |     |      |              | Limit  |            |           |           |
+-----------+-----+-----+------+--------------+--------+------------+-----------+-----------+
Dynamic Peer Details

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

--- Time Elapsed: 482.525744ms ---

The following example shows detailed output of a specific BGP peer instance.

efa tenant service bgp peer show --name B2 --tenant tenant11 --detail
==================================================================================
Name             : B2
Tenant           : tenant11
State            : bs-state-created
Description      :

Static Peer
-----------
        0 Records

Dynamic Peer
-----------
        Device IP        : 10.20.216.16
        VRF              : blue11
        AFI              : ipv4
        SAFI             : unicast
        Listen Range     : 15.15.15.0/28
        Listen Limit     : 10
        Peer Group       : pg1
        Dev State        : provisioned
        App State        : cfg-in-sync

        Device IP        : 10.20.216.16
        VRF              : blue11
        AFI              : ipv6
        SAFI             : unicast
        Listen Range     : 15::/127
        Listen Limit     : 10
        Peer Group       : pg1
        Dev State        : provisioned
        App State        : cfg-in-sync

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

--- Time Elapsed: 129.553981ms ---

The following example shows brief output of all BGP peer instances belonging to a tenant.

$ efa tenant service bgp peer show  --tenant tenant11
=================================================================================
Name        : B1
Tenant      : tenant11
State       : bs-state-created

+--------------+--------+------+---------+------------+------------+----------+
|  Device IP   |  VRF   | AFI  |  SAFI   | Remote IP  | Remote ASN | Next Hop |
|              |        |      |         |            |            |   Self   |
+--------------+--------+------+---------+------------+------------+----------+
| 10.20.216.16 | blue11 | ipv4 | unicast |  1.1.1.11  |   95001    |  always  |
+--------------+--------+------+---------+------------+------------+----------+
| 10.20.216.16 | blue11 | ipv6 | unicast | 20a1:a::10 |   95001    |  always  |
+--------------+--------+------+---------+------------+------------+----------+
+-------------+---------+--------------------------+-------------+-------------+
|   Update    |   BFD   |           BFD            |  Dev State  |  App State  |
|  Source IP  | Enabled | [Interval,Rx,Multiplier] |             |             |
+-------------+---------+--------------------------+-------------+-------------+
| 10.11.12.13 |  true   |       50, 5000, 50       | provisioned | cfg-in-sync |
+-------------+---------+--------------------------+-------------+-------------+
|   20::10    |  true   |       50, 5000, 50       | provisioned | cfg-in-sync |
+-------------+---------+--------------------------+-------------+-------------+
Static Peer Details

+-----------+-----+-----+------+--------------+--------+------------+-----------+-----------+
| Device-IP | VRF | AFI | SAFI | Listen Range | Listen | Peer Group | Dev State | App State |
|           |     |     |      |              | Limit  |            |           |           |
+-----------+-----+-----+------+--------------+--------+------------+-----------+-----------+
Dynamic Peer Details

=================================================================================
=================================================================================
Name        : B2
Tenant      : tenant11
State       : bs-state-created

+-----------+-----+-----+------+-----------+------------+----------+
| Device IP | VRF | AFI | SAFI | Remote IP | Remote ASN | Next Hop |
|           |     |     |      |           |            |   Self   |
+-----------+-----+-----+------+-----------+------------+----------+
+-----------+---------+--------------------------+-----------+-----------+
|  Update   |   BFD   |           BFD            | Dev State | App State |
| Source IP | Enabled | [Interval,Rx,Multiplier] |           |           |
+-----------+---------+--------------------------+-----------+-----------+
Static Peer Details

+--------------+--------+------+---------+---------------+--------+
|  Device-IP   |  VRF   | AFI  |  SAFI   | Listen Range  | Listen |
|              |        |      |         |               | Limit  |
+--------------+--------+------+---------+---------------+--------+
| 10.20.216.16 | blue11 | ipv6 | unicast |   15::/127    |   10   |
+--------------+--------+------+---------+---------------+--------+
| 10.20.216.16 | blue11 | ipv4 | unicast | 15.15.15.0/28 |   10   |
+--------------+--------+------+---------+---------------+--------+
+------------+-------------+-------------+
| Peer Group |  Dev State  |  App State  |
|            |             |             |
+------------+-------------+-------------+
|    pg1     | provisioned | cfg-in-sync |
+------------+-------------+-------------+
|    pg1     | provisioned | cfg-in-sync |
+------------+-------------+-------------+
Dynamic Peer Details

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

--- Time Elapsed: 138.308272ms ---