beautypg.com

Saving and loading configuration, Igure, Setting up sntp services – GarrettCom Magnum MNS-6K User Manual

Page 46: Saving the configuration on a tftp server

background image

M A G N U M 6 K S W I T C H E S , M N S - 6 K U S E R G U I D E

Magnum6K25#

sntp

Magnum6K25(sntp)##

setsntp server=204.65.129.201 timeout=3 retry=3

SNTP server is added to SNTP server database

Magnum6K25(sntp)##

sync hour=5

Magnum6K25(sntp)##

sntp enable

Do not forget to enable sntp
for time synchronization.

SNTP is already enabled.

Magnum6K25(sntp)##

exit

Magnum6K25(sntp)#

F

IGURE

31

-

Setting up SNTP services

Saving and loading configuration

After configuration changes are made, all the changes are automatically registered but not

saved i.e. the effect of the change is immediate, however, if power fails, the changes are

not saved and restored, unless the changed are saved using the save command. It is also a

good practice to save the configuration on another server on the network using the tftp or

ftp protocols. Once the configuration is saved – the saved configuration can be loaded to

restore back the settings. At this time the configuration parameter saved or loaded are not

in a human readable format. The commands for saving and loading configurations on the

network are:

Syntax saveconf mode= [] [file=]

Syntax loadconf mode= [] [file=]

Make sure the machine specified by the IP address has the necessary services running on
it. For serial connections, x-modem or other alternative methods can be used. File name
in many situations has to be a unique file name as over-writing files is not permitted by
most ftp and tftp servers (or services). Only alpha-numeric characters are allowed in the
file name – special characters like !@#$%&*(\|){/};[,’]” (or other control characters e.g.
^G) are not allowed

Magnum6K25#

saveconf mode=tftp 192.168.10.1 file=mag6Kmain

Do you wish to upload the configuration? [ 'Y' or 'N']

Y

F

IGURE

32

-

Saving the configuration on a tftp server

The “saveconf” and “loadconf” commands are used often to update new software to
the Magnum 6K family of switches. These commands will be obsoleted in the next release
and replaced with the “ftp” or “tftp” or “xmodem” commands listed below. It is advised
to start using these commands instead of “saveconf” and “loadconf”. Before the

45