...
Warning |
---|
The Export command does not export system user passwords, installed certificates, SSH keys, Dude, or a User-manager database. Installed certificates, SSH keys, Dude, and User-manager databases must be manually exported and imported into a new device. System user passwords can not be exported. |
Note |
---|
During config import, we suggest using the same RouterOS version used during config export to prevent cases when some of the commands do not exist in one or another RouterOS version. |
The following command parameters are accepted:
...
Configuration Export
For example, export configuration from /ip address
the menu and save it to a file:
Code Block | ||
---|---|---|
| ||
[admin@MikroTik] > /ip address print Flags: X - disabled, I - invalid, D - dynamic # ADDRESS NETWORK BROADCAST INTERFACE 0 10.1.0.172/24 10.1.0.0 10.1.0.255 bridge1 1 10.5.1.1/24 10.5.1.0 10.5.1.255 ether1 [admin@MikroTik] > /ip address export file=address [admin@MikroTik] > /file print # NAME TYPE SIZE CREATION-TIME 0 address.rsc script 315 dec/23/2003 13:21:48 [admin@MikroTik] > |
By default, export command writes only user-edited configuration, RouterOS defaults are omitted.
...