NETCONF Show Command Reference

Command Hierarchies

Show Commands

show
— system

Command Descriptions

Show Commands

Command outputs shown in this section are examples only; actual displays may differ depending on supported functionality and user configuration.

NETCONF System Commands

netconf

Syntax 
netconf
Context 
show>system
Description 

This command displays NETCONF SSH sessions.

Output 

SSH Options Output

Table 55 describes the NETCONF output fields.

Table 55:  Show System NETCONF Output Fields 

Label

Description  

Administrative State

Enabled

Displays that NETCONF is enabled.

Disabled

Displays that NETCONF is disabled.

Operational State

Up

Displays that NETCONF is operational.

Down

Displays that NETCONF is not operational.

Connection

The IP address of the connected router(s) (remote client).

Username

The name of the user.

Session ID

The NETCONF session ID.

Status

Connected or not connected.

Number of NETCONF sessions

Total NETCONF sessions

Running Locked?

Yes

Displays that the <running> datastore is locked.

No

Displays that the <running> datastore is not locked.

Candidate Locked?

Yes

Displays that the <candidate> datastore is locked.

No

Displays that the <candidate> datastore is not locked

Sample Output
*A:bksim3107# show system netconf
===============================================================================
NETCONF Server
===============================================================================
Administrative State      : Enabled
Operational State         : Up
-------------------------------------------------------------------------------
Connection          Username       Session Status         Running    Candidate
                                   Id                     Locked?    Locked?
-------------------------------------------------------------------------------
135.224.26.145      admin          17      connected      no         no
135.224.26.145      admin          15      connected      no         no
-------------------------------------------------------------------------------
Number of NETCONF sessions : 2
===============================================================================

counters

Syntax 
counters
Context 
show>system>netconf
Description 

This command displays NETCONF counters.

Output 

SSH Options Output

Table 56 describes the NETCONF counter output fields.

Table 56:  NETCONF Counters Output Fields 

Label

Description  

RX Messages

Types and numbers of received messages

RX Total

Total of all received messages

TX Messages

Types and numbers of sent messages

TX Total

Total of all sent messages

failed edit-configs

Number of failed <edit-config> requests due to a lock (including implicit ones) being taken by other netconf sessions

failed locks

Number of failed <lock> requests due to a lock (including implicit ones) being taken by other netconf sessions

Sample Output
*A:bksim3107# show system netconf counters
==============================================================================
NETCONF counters:
==============================================================================
    Rx Messages
------------------------------------------------------------------------------
      in gets            : 0
      in get-configs     : 0
      in edit-configs    : 3
      in copy-configs    : 0
      in delete-configs  : 0
      in validates       : 0
      in close-sessions  : 0
      in kill-sessions   : 0
------------------------------------------------------------------------------
      Rx Total           : 9
==============================================================================
    Tx Messages
------------------------------------------------------------------------------
      out rpc-errors     : 4
------------------------------------------------------------------------------
      Tx Total           : 9
==============================================================================
    Failed requests due to lock being taken by other netconf sessions
------------------------------------------------------------------------------
      failed edit-configs: 1
      failed locks       : 0
==============================================================================