< Home

tftp-server acl

Function

The tftp-server acl command specifies the ACL number for the local device so that the device can access TFTP servers with the same ACL number.

The undo tftp-server acl command deletes the ACL number from the local device.

By default, no ACL number is specified on the local client.

Format

tftp-server [ ipv6 ] acl acl-number

undo tftp-server [ ipv6 ] acl

Parameters

Parameter Description Value

acl-number

Specifies the number of the basic ACL.

The value is an integer that ranges from 2000 to 2999.

ipv6

Specifies the IPv6 address of a specific server.

-

Views

System view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

To ensure the security of the local device, you need to run the tftp-server acl command to specify an ACL to specify TFTP servers that the local device can access.

Precautions

  • The tftp-server acl command takes effect only after you run the rule command to configure the ACL rule. If no ACL rule is configured, the local device can access a specified TFTP server in TFTP mode.
  • The TFTP supports only the basic ACL whose number ranges from 2000 to 2999.

Example

# Allow the local device to the access the TFTP server whose ACL number is 2000.

<HUAWEI> system-view
[HUAWEI] acl 2000
[HUAWEI-acl-basic-2000] rule permit source 10.10.10.1 0
[HUAWEI-acl-basic-2000] quit
[HUAWEI] tftp-server acl 2000
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >