beautypg.com

H3C Technologies H3C S7500E Series Switches User Manual

Page 117

background image

7-3

the source address of the transmitted packets. The source address of the transmitted packets is

selected following these rules:

z

If no source address of the TFTP client is specified, a device uses the IP address of the interface

determined by the matched route as the source IP address to communicate with a TFTP server.

z

If the source address is specified with the tftp client source or tftp command, this source

address is adopted.

z

If you use the tftp client source command and the tftp command to specify a source address

respectively, the source address configured with the tftp command is used to communicate with a

TFTP server.

The source address specified with the tftp client source command is valid for all TFTP connections

and the source address specified with the tftp command is valid only for the current tftp connection.

Follow these steps to configure the TFTP client:

To do…

Use the command…

Remarks

Enter system view

system-view

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.

Configure the source address of

the TFTP client

tftp client source { interface

interface-type interface-number |

ip source-ip-address }

Optional

A device uses the source address

determined by the matched route

to communicate with the TFTP

server by default.

Return to user view

quit

Download or upload a file in an

IPv4 network

tftp server-address { get | put |

sget } source-filename

[ destination-filename ] [ source

{ interface interface-type

interface-number | ip

source-ip-address } ]

Optional

Available in user view

Download or upload a file in an

IPv6 network

tftp ipv6 tftp-ipv6-server [ -i

interface-type interface-number ]

{ get | put } source-file

[ destination-file ]

Optional

Available in user view