R3721-F3210-F3171-HP High-End Firewalls System Management and Maintenance Command Reference-6PW101

248
View
System view
Default level
3: Manage level
Parameters
ipv6: References an IPv6 ACL. If it is not specified, an IPv4 ACL is referenced.
acl-number: Number of a basic ACL, in the range of 2000 to 2999.
Description
Use tftp-server acl to use an ACL to control the TFTP client's access to a specific TFTP server.
Use undo tftp-server acl to restore the default.
By default, no ACL is used to control the TFTP client's access to a TFTP server.
You can use an ACL to deny or permit the client's access to a specific TFTP server.
For more information about ACL, see Access Control Configuration Guide.
Examples
# Allow the TFTP client to access the TFTP server with IP address 1.1.1.1 only (in IPv4 networking
environment).
<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
# Allow the TFTP client to access the TFTP server with IP address 2001::1 only (in IPv6 networking
environment).
<Sysname> system-view
[Sysname] acl ipv6 number 2001
[Sysname-acl6-basic-2001] rule permit source 2001::1/128
[Sysname-acl6-basic-2001] quit
[Sysname] tftp-server ipv6 acl 2001
tftp
Syntax
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 } ]
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.