3Com MSR 50 Network Router User Manual


  Open as PDF
of 2742
 
2392 CHAPTER 159: TFTP CLIENT CONFIGURATION COMMANDS
Description Use the tftp-server acl command to reference an ACL to control access to the
TFTP server. Users can use the configured rules in ACL to allow or prevent the use
of TFTP server in a network.
Use the
undo tftp-server acl command to remove the access restriction.
For more information about ACL, refer to “IPv4 ACL Configuration Commands” on
page 2087 and “IPv6 ACL Configuration Commands” on page 2103.
Example # Reference ACL 2000 to control access to the TFTP application in IPv4.
<Sysname> system-view
[Sysname] acl number 2000
[Sysname-acl-basic-2000] rule permit source 1.1.1.1 0
[Sysname-acl-basic-2000] quit
[Sysname] tftp-server acl 2000
# Associate IPv6 ACL 2001 with TFTP application in Ipv6.
<Sysname> system-view
[Sysname] acl ipv6 number 2001
[Sysname-acl6-basic-2001] rule permit source 2030:5060::9050/64
[Sysname-acl6-basic-2001] quit
[Sysname] tftp-server ipv6 acl 2001
tftp
Syntax tftp server-address { get | put | sget } source-filename [ destination-filename ] [ source
{ interface interface-type interface-number | ip source-ip-address }]
View User view
Parameter server-address: IP address or host name of a TFTP server.
source-filename: Source file name.
destination-filename: Destination file name.
get: Downloads a file in normal mode.
put: Uploads a file.
sget: Downloads a file in secure mode.
source: Configures parameters for source address binding.
interface interface-type interface-number: Specifies the source interface by its
type and number. The primary IP address configured on the source interface is
the source IP address of the packets sent by FTP. If no primary IP address is
configured on the source interface, the transmission fails.
ip source-ip-address: Specifies a source IP address for transmitted TFTP packets.
This source address must be the one that has been configured on the device.