Verifying gRPC tunnel operation

About this task

This procedure describes the commands that can be used to verify gRPC tunnel operation.

Procedure

  1. show system grpc-tunnel tunnel
    Expected outcome
    A:admin@sr1-s-miro# show system grpc-tunnel tunnel "test"
    ===============================================================================
    gRPC-Tunnel tunnel
    ===============================================================================
    Name                      : test
    Administrative State      : Enabled
    Operational State         : Up
    Description               : (Not Specified)
    Destination Group         : ba-server
    Operational Target Name   : DUT-A
    ===============================================================================
    
  2. show system grpc-tunnel tunnel tunnel-name destinations
    Expected outcome
    A:admin@sr1-s-miro# show system grpc-tunnel tunnel "test" destinations 
    ===============================================================================
    gRPC-Tunnel tunnel
    ===============================================================================
    Name                      : test
    Administrative State      : Enabled
    Operational State         : Up
    Description               : (Not Specified)
    Destination Group         : ba-server
    Operational Target Name   : DUT-A
    
    -------------------------------------------------------------------------------
    Destinations
    -------------------------------------------------------------------------------
    Destination               : 1.1.1.1
    Port                      : 33333
    Operational State         : Up
    Last Oper Down Reason     : MINOR: GMI #2452: RPC refused by peer - error code
                                14 (UNAVAILABLE), error message: Connect Failed
    Oper Router Instance      : management
    Last Oper Change          : 2022/01/13 14:59:06
    Connection Attempts       : 11469
    -------------------------------------------------------------------------------
    No. of destinations       : 1
    ===============================================================================