3 ftp/tftp configuration examples – QTECH QSW-2800 Инструкция по настройке User Manual

Page 49

Advertising
background image

+7(495) 797-3311 www.qtech.ru
Москва, Новозаводская ул., 18, стр. 1

35

2.5.3.3 FTP/TFTP Configuration Examples

The configuration is same for IPv4 address or IPv6 address. The example only for IPv4

address.

Download nos.img file as FTP/TFTP client

Scenario 1: The switch is used as FTP/TFTP client. The switch connects from one of its ports

to a computer, which is a FTP/TFTP server with an IP address of 10.1.1.1; the switch acts as a

FTP/TFTP client, the IP address of the switch management VLAN is 10.1.1.2. Download
“nos.img” file in the computer to the switch.

FTP Configuration

Computer side configuration:
Start the FTP server software on the computer and set the username “Switch”, and the
password “superuser”. Place the “12_30_nos.img” file to the appropriate FTP server directory

on the computer.

The configuration procedures of the switch are listed below:

Switch(config)#interface vlan 1

Switch(Config-if-Vlan1)#ip address 10.1.1.2 255.255.255.0

Switch(Config-if-Vlan1)#no shut

Switch(Config-if-Vlan1)#exit

Switch(config)#exit

Switch#copy ftp: //Switch:[email protected]/12_30_nos.img nos.img

With the above co

mmands, the switch will have the “nos.img” file in the computer downloaded

to the FLASH.

TFTP Configuration

Computer side configuration:

10.1.1.

2

10.1.1.

1

Advertising