HP VPN Firewall Appliances System Management and Maintenance Command Reference
262
Syntax
tftp-server [ ipv6 ] acl acl-number
undo tftp-server [ ipv6 ] acl
Default
No ACL is used to control the device's access to a TFTP server.
Views
System view
Default command 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.
Usage guidelines
You can use an ACL to deny or permit the device's access to a specific TFTP server.
For more information about ACL, see Access Control Configuration Guide.
Examples
# A l l o w t h e d e v i c e t o a c c e s s o n l y t h e T F T P s e r v e r a t 1.1.1.1.
<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 device to access only the TFTP server at 2001::1 only.
<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
[Sysname]
tftp
Use tftp to download a specified file from the TFTP server to the local device or upload a specified local
file to the TFTP server in an IPv4 network.
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 } ]
Views
User view