To configure the TFTP client:
Step
1.
Enter system view.
2.
Use an ACL to control the
client's access to TFTP servers.
3.
Specify a source IP address
for outgoing TFTP packets.
4.
Set the DSCP value for IP to
use for outgoing TFTP packets.
5.
Return to user view.
6.
Download or upload a file.
Displaying and maintaining the TFTP client
Task
Display the source IP address configuration
of the TFTP client.
TFTP client configuration example
Network requirements
Configure the PC in
newest.bin from the TFTP server to the client and upload the configuration file config.cfg from the TFTP
client to the server for backup.
Command
system-view
tftp-server [ ipv6 ] acl acl-number
tftp client source { interface
interface-type interface-number | ip
source-ip-address }
•
For IPv4:
tftp client dscp dscp-value
•
For IPv6:
tftp client ipv6 dscp dscp-value
quit
•
For IPv4:
tftp server-address { get | put |
sget } source-filename
[ destination-filename ]
[ vpn-instance
vpn-instance-name ] [ source
{ interface interface-type
interface-number | ip
source-ip-address } ]
•
For IPv6:
tftp ipv6 tftp-ipv6-server [ -i
interface-type interface-number ]
{ get | put } source-filename
[ destination-filename ]
Figure 39
as a TFTP server, and use TFTP to download the system software image file
Command
display tftp client configuration [ |
{ begin | exclude | include }
regular-expression ]
82
Remarks
N/A
Optional.
By default, no ACL is used for
access control.
Optional.
By default, the primary IP
address of the output interface is
used as the source IP address.
Optional.
The default is 0, whether the
TFTP client is running IPv4 or
IPv6.
N/A
Optional.
Remarks
Available in any view