Synchronizing from Device (Perform sync-from)
admin@ncs(config)# devices sync-from |
Synchronizing to Device (Perform sync-to)
admin@ncs(config)# devices sync-to |
Perform check-sync
admin@ncs(config)# devices check-sync |
Configuring Devices
admin@ncs(config)# devices device ios0 config ios:interface GigabitEthernet 0/1 ip address 10.10.10.1 255.255.255.0 admin@ncs(config-if)# top admin@ncs(config)# devices device ios1 config ios:interface GigabitEthernet 0/2 ip address 10.10.10.20 255.255.255.0 |
Displaying Configuration
admin@ncs(config)# show configuration devices device ios0 admin@ncs(config)# show full-configuration devices device ios0 |
Next
Commit changes
Dry-run changes
ncs(config)# commit dry-run ncs(config)# commit dry-run outformat native |
Commit to devices
ncs(config)# commit |
Rollbacks
Every transaction has a corresponding rollback file:
rachit@rg-nso6:~/nso-6/nso-instance$ ls logs/rollback* rachit@rg-nso6:~/nso-6/nso-instance$ more logs/rollback10001 |
rachit@rg-nso6:~/nso-6/nso-instance$ ncs_cli -u admin -C admin@ncs# conf admin@ncs(config)# rollback configuration 10006 admin@ncs(config)# show configuration admin@ncs(config)# revert All configuration changes will be lost. Proceed? [yes, NO] yes admin@ncs(config)# |