2 the export command, 3 the import command – Allied Telesis AT-WR4500 User Manual

Page 19

Advertising
background image

AT-WR4500 Series - IEEE 802.11abgh Outdoor Wireless Routers

19

RouterOS v3 Configuration and User Guide

To see the files stored on the router:

[admin@AT-WR4562] > file print
# NAME TYPE SIZE CREATION-TIME
0 test.backup backup 12567 sep/08/2004 21:07:50
[admin@AT-WR4562] >


To load the saved backup file test:

[admin@AT-WR4562] system backup> load name=test
Restore and reboot? [y/N]:
Y
Restoring system configuration
System configuration restored, rebooting now

3.1.2

The Export Command

Command name: /export

Description

The export command prints a script that can be used to restore configuration. The command can be
invoked at any menu level, and it acts for that menu level and all menu levels below it. The output can be
saved into a file, available for download using FTP.

Command Description

file=[filename] - saves the export to a file

Example

[admin@AT-WR4562] > 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@AT-WR4562] >


To make an export file:

[admin@AT-WR4562] ip address> export file=address
[admin@AT-WR4562] ip address>



To see the files stored on the router:

[admin@AT-WR4562] > file print
# NAME TYPE SIZE CREATION-TIME
0 address.rsc script 315 dec/23/2003 13:21:48
[admin@AT-WR4562] >

3.1.3

The Import Command

Command name: /import

Description

The root level command /import [file_name] executes a script, stored in the specified file adds the
configuration from the specified file to the existing setup. This file may contain any console comands,
including scripts. is used to restore configuration or part of it after a /system reset event or anything
that causes configuration data loss.

Advertising
This manual is related to the following products: