|
| Configuration Scripting 47 |
| ||
Example #5: Upload a Configuration Script |
| |
(Console) | #copy nvram: script | |
Mode | TFTP | |
Set TFTP Server IP | 192.168.77.52 | |
TFTP Path | ./ |
|
TFTP Filename | ||
Data Type | Config Script | |
Source Filename |
Are you sure you want to start? (y/n) y
File transfer operation completed successfully.
Example #6: script validate running-config.scr
(Console) | #script validate |
network protocol dhcp |
|
no network javamode |
|
vlan database |
|
exit |
|
configure |
|
stack |
|
member 2 1 |
|
exit |
|
logging buffered |
|
logging host 192.168.77.151 |
|
Configuration script
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!