Automation and APIs
Running and startup config
What a device does now against what it loads when it starts: unsaved changes vanish at the next reload.
The running config is what a device does now; the startup config is the file it reads at boot. Every command
changes the running config at once, and copy running-config startup-config (write memory) saves it. An unsaved
change vanishes at the next reload. A backup is a copy kept off the device. Loading one is a merge (lines
are added, none removed); configure replace makes the config exactly the backup.
Read next
- Configuration management Writing the wanted configuration down as files and letting a tool make every device match it.
- Configuration drift A device's running config moving away from its intended one, usually through changes made by hand.
- TFTP The simplest file transfer: UDP port 69, no login, no listing, no encryption. Network devices load images and configs with it.
- SSH Encrypted remote login and commands, on TCP port 22, with passwords or keys.
- REST API An HTTP interface where every thing is a URL and the methods are the verbs: GET reads, POST creates, PUT and PATCH change, DELETE removes.
- NETCONF and YANG A device's config as data: YANG models say what it may hold, and NETCONF reads and changes it as XML over SSH.