D-Link DWS-3000 manual Example #5 copy nvram script, Example #6 script validate running-config.scr

Models: DWS-3000

1 174
Download 174 pages 3.77 Kb
Page 153
Image 153

23 Configuration Scripting

Example #5: copy nvram: script

Use this command to upload a configuration script.

(DWS-3024) #copy nvram: script running-config.scr tftp://192.168.77.52/running-config.scr

Mode

TFTP

Set TFTP Server IP

192.168.77.52

TFTP Path

./

TFTP Filename

running-config.scr

Data Type

Config Script

Source Filename

running-config.scr

Are you sure you want to start? (y/n) y

File transfer operation completed successfully.

Example #6: script validate running-config.scr

(DWS-3024)#script validate running-config.scr serviceport protocol none

network protocol dhcp no network javamode vlan database

exit configure exit

logging buffered

logging host 192.168.77.151

Configuration script ‘running-config.scr’ validated.

(DWS-3024) #script apply running-config.scr

Are you sure you want to apply the configuration script? (y/n) y The system has unsaved changes.

Would you like to save them now? (y/n) y Configuration Saved!

CLI Examples 153

Page 153
Image 153
D-Link DWS-3000 manual Example #5 copy nvram script, Example #6 script validate running-config.scr