CANOGA PERKINS CanogaOS Configuration Guide User Manual

Page 336

Advertising
background image

CanogaOS Configuration Guide

Proprietary & Confidential Canoga Perkins Metro Ethernet Switches

Page 336 of 350

DUT#configure terminal

Enter global configuration mode.

DUT(config)#ftp username test

(Optional) Create a user “test”.

DUT(config)#ftp password test

(Optional) Create a password “test”.

DUT(config)#end

Return to privileged EXEC mode.

DUT#copy ftp://test:[email protected]/
startup-config.conf flash: /startup-config.conf

Get a startup configuration file from remote FTP
server.User’s name is “test”; the password is “test”.

DUT# show startup-config

Verify your entries.

45.3.3 Uploading a configuration file by using FTP
You can upload a configuration file from the switch to an FTP server. You can later download
this configuration to the same switch or to another switch of the same type.
Beginning in privileged EXEC mode, follow these steps to upload a configuration file to an FTP
server:

DUT#configure terminal

Enter global configuration mode.

DUT(config)#ftp username test

(Optional) Create a user “test”.

DUT(config)#ftp password test

(Optional) Create a password “test”.

DUT(config)#end

Return to privileged EXEC mode.

DUT#copy flash:/boot/startup-config.conf

ftp://test:[email protected]/startup-config.conf

Upload a startup configuration file to remote FTP
server.

User’s name is “test”; the password is “test”.

45.3.4 Deleting a Stored Configuration File

DUT#delete flash:/startup-config.conf

Delete the configuration in flash.

45.4 Writing running configurations to startup configuration

file

If you want to save current configurations, beginning in privileged EXEC mode, follow these
steps to write running configurations to startup configuration file.

DUT#write

Save configurations.

DUT#show running-config

Verify your entries.

Advertising