API Guide

reload the switch for the profile settings to take effect. If the backup startup file contains the default switch-port profile,
you can simply copy the startup configuration file from the server and reload the switch.
Copy file to startup configuration
OS10# copy {config://filepath | home://filepath |
ftp://userid:passwd@hostip/filepath | scp://userid:passwd@hostip/filepath |
sftp://userid:passwd@hostip/filepath | tftp://hostip/filepath} config://startup.xml
Back up startup file
OS10# copy config://startup.xml config://backup-9-28.xml
Restore startup file from backup
OS10# copy config://backup-9-28.xml config://startup.xml
OS10# reload
System configuration has been modified. Save? [yes/no]:no
Back up startup file to server
OS10# copy config://startup.xml scp://userid:password@hostip/backup-9-28.xml
Restore startup file from server
OS10# copy scp://admin:admin@hostip/backup-9-28.xml config://startup.xml
OS10# reload
System configuration has been modified. Save? [yes/no]:no
Reload system image
Reboot the system manually using the reload command in EXEC mode. You are prompted to confirm the operation.
OS10# reload
System configuration has been modified. Save? [yes/no]:yes
Saving system configuration
Proceed to reboot the system? [confirm yes/no]:yes
To configure the OS10 image loaded at the next system boot, enter the boot system command in EXEC mode.
boot system {active | standby}
Enter active to load the primary OS10 image stored in the A partition.
Enter standby to load the secondary OS10 image stored in the B partition.
Set next boot image
OS10# boot system standby
OS10# show boot
Current system image information:
===================================
Type Boot Type Active Standby Next-Boot
-------------------------------------------------------------------
Node-id 1 Flash Boot [A] 10.2.9999E [B] 10.2.9999E [B] standby
Filter show commands
You can filter show command output to view specific information, or start the command output at the first instance of a regular
expression or phrase.
68
CLI Basics