NSO Command Cheat Sheet
Start NSO from the Linux CLI
ncs_cli -C -u adminAdd a device to NSO
devices device <name>
address <ip address>
authgroup <authgroup>
device-type cli|generic|netconf|snmp ned-id <ned-id>
!If using CLI
device-type cli protocol ssh|telnet
ssh host-key-verification none
state admin-state unlockedCreate a device group and add devices
devices device-group <name>
device-name <device name>Check whether devices are in-sync
Sync the config of all devices to NSO
Show a single device’s config (from the NSO database which could be out of sync)
Configure a single device from NSO
Perform a dry-run commit
Rollback the config
By default it will rollback to the latest. Use “?” to get a list of commit IDs and the time they were committed.
Create a template
Apply a template to a device or device group
Execute an arbitrary command on a device
Create a compliance report
Make a new service package template with no code
Compile a service and add it to NSO
Last updated