show grpc-server gnmi statistics

Displays gNMI subscription detail.

Syntax

show grpc-server gnmi statistics

Parameters

statistics
Display detail of active gNMI stream subscriptions.

Modes

Exec mode

Usage Guidelines

gNMI stream details include the number of active stream subscriptions and subscription details for client, mode, number of subscribed keypaths, keypath details, and subscription interval.

Examples

The following example shows statistics for active gNMI stream subscriptions.

device# show grpc-server gnmi statistics
Number of active subscriptions: 3
Subscription Details:

Client:10.42.0.73:51240     Mode:STREAM     Subscribed Path Count:1
Keypath                                                                                       Subscription Mode  Interval
----------------------------------------------------------------------------------------------------------------------------------
/interfaces/interface[name=management 0]/subinterfaces/subinterface[index=0]/ipv4/addresses   ON_CHANGE          0s
----------------------------------------------------------------------------------------------------------------------------------

Client:10.42.0.72:33242     Mode:STREAM     Subscribed Path Count:1
Keypath                                                                                       Subscription Mode  Interval
----------------------------------------------------------------------------------------------------------------------------------
/interfaces/interface[name=*]/state/oper-status                                               ON_CHANGE          0s
----------------------------------------------------------------------------------------------------------------------------------

Client:10.42.0.90:60554     Mode:STREAM     Subscribed Path Count:1
Keypath                                                                                       Subscription Mode  Interval
----------------------------------------------------------------------------------------------------------------------------------
/interfaces/interface[name=*]/aggregation/state/lag-load-balance-method                       ON_CHANGE          0s
----------------------------------------------------------------------------------------------------------------------------------