beautypg.com

Copy http flash – Allied Telesis AT-DC2552XS User Manual

Page 136

background image

Chapter 5: File Management Commands

136

Section I: Switch Management

COPY HTTP FLASH

Syntax

copy http flash

ipaddress filename

Parameters

ipaddress

Specifies the IPv4 address of a HTTP server on your network.

filename

Specifies a file on the HTTP server to download to the switch. The
file extensions must be “bin,” “cfg,” “img,” “inf,” “ldr,” “sys,” “tmp,”
“txt,” “ukf,” “key,” “cer,” “csr,” “log,” or “tgz.” The filename cannot
contain spaces.

Mode

Privileged Exec mode

Description

Use this command to download a file to the switch from a HTTP server on
you network. The file to download must be placed in the root directory of
the HTTP server.

Before issuing this command, the switch must have a management IPv4
address assigned. See “IP ADDRESS” on page 404 and “IP ADDRESS
DHCP” on page 406.

Confirmation Command

“DIR” on page 140

Examples

This command downloads the new management software file
“dc-2.5.1.2.img” to the switch from a HTTP server with an IP address of
192.168.1.70:

awplus> enable
awplus# copy tftp flash 192.168.1.70 dc-2.5.1.2.img

This command downloads the configuration file “test2.cfg” to the switch
from a HTTP server with an IP address of 192.168.1.70:

awplus> enable
awplus# copy tftp flash 192.168.1.70 test2.cfg