4.9. NETCONF Show Command Reference

4.9.1. Command Hierarchies

4.9.1.1. Show Commands

show
— system

4.9.2. Command Descriptions

4.9.2.1. Show Commands

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

4.9.2.1.1. NETCONF System Commands

netconf

Syntax 
netconf
Context 
show>system
Description 

This command displays NETCONF SSH sessions.

Output 

The following displays NETCONF information.

Table 59 describes the NETCONF output fields.

Table 59:  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
# 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 

The following displays NETCONF counter information.

Table 60 describes the NETCONF counter output fields.

Sample Output
# show system netconf counters
==============================================================================
NETCONF counters:
==============================================================================
    Rx Messages
------------------------------------------------------------------------------
      in gets            : 23
      in get-configs     : 19
      in edit-configs    : 35
      in copy-configs    : 0
      in delete-configs  : 0
      in validates       : 0
      in close-sessions  : 0
      in kill-sessions   : 0
      in locks           : 0
      in unlocks         : 0
      in commits         : 2
      in discards        : 1
-------------------------------------------------------------------------------
      Rx Total           : 80
==============================================================================
    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
==============================================================================

Table 60:  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