SNR S2940-8G-v2 Switch Configuration Guide
Basic Switch Configuration
(c)Modify FTP server connection idle time
Command Explanation
Global Mode
ftp-server timeout <seconds> Set connection idle time.
3. TFTP server configuration
(a)Start TFTP server
Command Explanation
Global Mode
tftp-server enable
no tftp-server enable
Start TFTP server, the no command shuts down
TFTP server and prevents TFTP user from log-
ging in.
(b)Modify TFTP server connection idle time
Command Explanation
Global Mode
tftp-server retransmission-timeout <sec-
onds>
Set maximum retransmission time within timeout
interval.
(c)Modify TFTP server connection retransmission time
Command Explanation
Global Mode
tftp-server retransmission-number <num-
ber>
Set the retransmission time for TFTP server.
FTP/TFTP Configuration Examples
The configuration is same for IPv4 address or IPv6 address. The example only for IPv4 address.
Fig 2 3 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 pass-
word '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
41