cisco IOS XE — Verifying RESTCONF Configuration

confd : Not Running nesd : Not Running syncfd : Not Running ncsshd : Not Running dmiauthd : Not Running nginx : Running ndbmand : Not Running pubd : Not Running The nginx process gets restrated and DMI process are started, when the restconf command is configured. The following sample output from the show platform software yang-management process command shows that the nginx process and DMI processes are up and running: Device# show platform software yang-management process confd : Running nesd : Running syncfd : Running ncsshd : Not Running ! NETCONF-YANG is not configured, hence ncsshd process is in not running. dmiauthd : Running vtyserverutild : Running opdatamgrd : Running nginx :

Running ! nginx process is up due to the HTTP configuration, and it is restarted when RESTCONF is enabled. ndbmand : Running The following sample output from the show platform software yang-management process monitor command displays detailed information about all processes:

Device# show platform software yang-management process monitor COMMAND PID S VSZ RSS %CPU %MEM ELAPSED confd 28728 S 860396 168496 42.2 4.2 00:12 confd-startup.s 28448 S 19664 4496 0.2 0.1 00:12 dmiauthd 29499 S 275356 23340 0.2 0.5 00:10 ndbmand 29321 S 567232 65564 2.1 1.6 00:11 nesd 29029 S 189952 14224 0.1 0.3 00:11 nginx 29711 S 332288 18420 0.6 0.4 00:09 nginx 29717 S 337636 12216 0.0 0.3 00:09 pubd 28237 S 631848 68624 2.1 1.7 00:13 syncfd 28776 S 189656 16744 0.2 0.4 00:12 After AAA and the RESTCONF interface is configured, and nginx process and relevant DMI processes are running; the device is ready to receive RESTCONF requests.

Use the show netconf-yang sessions command to view the status of NETCONF/RESTCONF sessions: 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 : 1 session-id transport username source-host global-lock -------------------------------------------------------------------------------- 19 netconf-ssh admin 2001:db8::1 None RESTCONF Protocol Verifying RESTCONF Configuration RESTCONF Protocol 26