Tftp - H3C S5120-SI Series Command Reference Manual

Hide thumbs Also See for S5120-SI Series:
Table of Contents

Advertisement

View
System view
Default Level
3: Manage level
Parameters
acl-number: Number of a basic ACL, in the range 2000 to 2999.
Description
Use the tftp server acl command to control the device's access to a specific TFTP server using an
ACL.
Use the undo tftp server acl command to restore the default.
By default, no ACL is used to control the device's access to TFTP servers.
You can use the rules in an ACL to allow or permit the device's access to a specific TFTP server in a
network.
For more information about ACL, refer to ACL Configuration and ACL Commands.
Examples
# In IPv4 networking environment, allow the device to access the TFTP server with the IP address of
1.1.1.1 only.
<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

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
Default Level
3: Manage level
Parameters
server-address: IP address or host name of a TFTP server.
get: Downloads a file in normal mode.
put: Uploads a file.
sget: Downloads a file in secure mode.
2-2

Advertisement

Table of Contents
loading

Table of Contents