F3726, F3211, F3174, R5135, R3816-HP Firewalls and UTM Devices System Management and Maintenance Configuration Guide-6PW100
221
The tftp client source command setting applies to all TFTP sessions. When you set up a TFTP session with
the tftp command, you can also specify a different source IP address for the TFTP session.
IMPORTANT:
To avoid TFTP connection failures, when you specify a source interface for TFTP packets, make sure the
interface has been assigned a primary IP address.
To use the device as a TFTP client:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Use an ACL to control the
client's access to TFTP servers.
tftp-server [ ipv6 ] acl acl-number
Optional.
By default, no ACL is used for
access control.
Support for the ipv6 keyword
depends on the device model.
For more information, see
System Management and
Maintenance Command
Reference.
3. Specify a source IP address
for outgoing TFTP packets.
tftp client source { interface
interface-type interface-number | ip
source-ip-address }
Optional.
By default, the primary IP
address of the output interface is
used as the source IP address.
4. Return to user view. quit N/A
5. Download or upload a file.
• 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 ]
[ vpn-instance
vpn-instance-name ]
Optional.
Support for the tftp ipv6
command depends on the
device model. For more
information, see System
Management and Maintenance
Command Reference.
118B
Displaying and maintaining the TFTP client
Task Command
Remarks
Display the source IP address configuration
of the TFTP client.
display tftp client configuration [ |
{ begin | exclude | include }
regular-expression ]
Available in any
view.