Displaying and maintaining a tftp client – H3C Technologies H3C S12500 Series Switches User Manual

Page 94

Advertising
background image

82

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:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Use an ACL to control the

device's access to TFTP
servers.

tftp-server [ ipv6 ] acl acl-number

Optional.
By default, no ACL is used
to control the device's

access to TFTP servers.

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 the user view.

quit

N/A

5.

Specify the source IP address

of sent TFTP packets.

tftp client source { interface interface-type
interface-number
| ip source-ip-address }

Optional.
By default, the source IP
address is determined by

the route from the TFTP

client to the TFTP server.

6.

Return to user view.

quit

N/A

7.

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.

Displaying and maintaining a TFTP client

Task Command Remarks

Display the configuration of the
FTP client.

display tftp client configuration [ |
{ begin | exclude | include }

regular-expression ]

Available in any view.

Advertising