58-2
TFTP Configuration
Complete the following tasks to configure TFTP:
Task
Remarks
Basic configurations on a TFTP
client
—
TFTP Configuration: A Switch
Operating as a TFTP Client
Specifying the source interface
r an
or source IP address fo
FTP client
Optional
TFTP server configuration
corresponding manual
For details, see the
—
TFTP
B
TFTP client
connect the switch to the TFTP
server to pe
perations
g/removing a di
xecuting
commands o
ch.
F
asi
t:
Configuration: A Switch Operating as a TFTP Client
asic configurations on a
By default a switch can operate as a TFTP client. In this case you can
rform TFTP-related o
n the swit
(such as creatin
rectory) by e
ollow these steps to perform b
c configurations on a TFTP clien
To do…
Use the command…
Remarks
Download a file from a TFTP
er get source-file
server
tftp tftp-serv
[
dest-file
]
Optional
Upload a file to a TFTP server
tftp tftp-server put source-file
[
dest-file
]
Optional
Enter system view
system-view
—
Set the file transmission mode
tftp
{
ascii
|
binary
}
Binary by default.
Optional
Specify an ACL rule used by
Optional
fied by default.
the specified TFTP client to
access a TFTP server
tftp-server acl
acl-number
Not speci
pecifying the source
S
interface or source IP address for an FTP client
client, so
that it can co
rface or the
specified IP
Follow these steps to specify the s
source IP addre
TFTP client:
You can specify the source interface and source IP address for a switch operating as a TFTP
nnect with a remote TFTP
address.
server through the IP address of the specified inte
ource interface and
ss for a
To do…
Use the command…
Remarks
Specify the source interface
ber
Optional
fied by default.
used for the current connection
tftp tftp-server
source-interface
interface-type interface-num
{
get
source-file
[
dest-file
] |
put
source-file-url
[
dest-file
] }
Not speci