Quick Reference Guide

Getting Started | 61
Figure 3-32. Using the script show Command
Uploading a Configuration Script to a TFTP Server
To upload a “config script” to a TFTP server, use the copy command.
Figure 3-33. Using the copy nvram:script Command
Deleting a Script
To delete a “config script”, use the script delete command.
Command Syntax Command Mode Purpose
script show scriptname.scr Privileged Exec To view a configuration script by specific name.
Command Syntax Command Mode Purpose
copy nvram:script
scriptname.scr tftp://
x.x.x.x/scriptname.scr
Privileged Exec Copies the config script from the NVRAM to a TFTP
server.
Command Syntax Command Mode Purpose
script delete <scriptname.scr> Privileged Exec Deletes the named script from the switch memory.
Force10 #script show test.scr
1 : !Current Configuration:
2 : !
3 : hostname "Force10"
4 : network parms 10.10.1.33 255.255.255.0 10.10.1.254
5 : interface vlan 11
6 : !System Description "Force10 S50"
10 : !System Description F.5.6.2
...
Force10 #copy nvram:script test.scr tftp://10.16.1.56/test.scr
Mode........................................... TFTP
Set TFTP Server IP............................. 10.16.1.56
TFTP Path......................................
TFTP Filename.................................. test.scr
Data Type...................................... Config Script
Source Filename................................ test.scr
Are you sure you want to start? (y/n) y
File transfer operation completed successfully.