4 Command Line Interface

Example

The following example shows how to upload the configuration settings to a file on the TFTP server:

Console#copy file tftp

Choose file type:

1.config: 2. opcode: <1-2>: 1 Source file name: startup

TFTP server ip address: 10.1.0.99

Destination file name: startup.01 TFTP completed.

Success.

Console#

The following example shows how to copy the running configuration to a startup file.

Console#copy running-config file destination file name: startup Write to FLASH Programming. \Write to FLASH finish.

Success.

Console#

The following example shows how to download a configuration file:

Console#copy tftp startup-config

TFTP server ip address: 10.1.0.99

Source configuration file name: startup.01

Startup configuration file name [startup]:

Write to FLASH Programming.

\Write to FLASH finish. Success.

Console#

This example shows how to copy a secure-site certificate from an TFTP server. It then reboots the switch to activate the certificate:

Console#copy tftp https-certificate

TFTP server ip address: 10.1.0.19

Source certificate file name: SS-certificate

Source private file name: SS-private

Private password: ********

Success.

Console#reload

System will be restarted, continue <y/n>? y

4-66

Page 308
Image 308
SMC Networks SMC8150L2 manual Following example shows how to download a configuration file