Verifying the NETCONF Protocol Configuration Through the CLI Use the following commands to verify your NETCONF configuration. SUMMARY STEPS 1. show netconf-yang datastores 2. show netconf-yang sessions 3. show netconf-yang sessions detail 4. show netconf-yang diagnostics summary 5. show netconf-yang statistics 6. show platform software yang-management process DETAILED STEPS Procedure Step 1 show netconf-yang datastores Displays information about NETCONF-YANG datastores. Example: Device# show netconf-yang datastores Device# show netconf-yang datastores Datastore Name : running Globally Locked By Session : 42 Globally Locked Time :
2018-01-15T14:25:14-05:00 Step 2 show netconf-yang sessions Displays information about NETCONF-YANG sessions. Example: Device# show netconf-yang sessions R: Global-lock on running datastore C: Global-lock on candidate datastore S: Global-lock on startup datastore Number of sessions :
10 session-id transport username source-host global-lock ------------------------------------------------------------------------------- 40 netconf-ssh admin 10.85.70.224 None 42 netconf-ssh admin 10.85.70.224 None 44 netconf-ssh admin 10.85.70.224 None 46 netconf-ssh admin 10.85.70.224 None 48 netconf-ssh admin 10.85.70.224 None 50 netconf-ssh admin 10.85.70.224 None 52 netconf-ssh admin 10.85.70.224 None 54 netconf-ssh admin 10.85.70.224 None 56 netconf-ssh admin 10.85.70.224 None 58 netconf-ssh admin 10.85.70.224 None Model-Driven Programmability Verifying the NETCONF Protocol Configuration Through the CLI Programmability Configuration Guide, Cisco IOS XE 17.16.x 187