tftp-server acl

Function

The tftp-server acl command enables the ACL of IPv4 configuration.

The undo tftp-server acl command cancels the ACL configuration.

By default, the ACL is not configured for the TFTP client.

Format

tftp-server acl { acl-number | acl-name }

undo tftp-server acl

Parameters

Parameter Description Value
acl-number

Specifies the ACL number.

The value is an integer ranging from 2000 to 2999.

acl-name

Specifies the name of a named basic ACL.

The value is a string of 1 to 64 case-sensitive characters without spaces. The value must start with a letter (a to z or A to Z, case sensitive).

Views

System view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
tftp-client write

Usage Guidelines

If a device serves as a TFTP client, you can configure the ACL on the device to control the login of the local device to the TFTP server through TFTP.

If no rule is configured, the incoming and outgoing calls are not restricted after the command tftp-server acl is run.

Example

# Enable the ACL configuration.
<HUAWEI> system-view
[~HUAWEI] acl 2000
[*HUAWEI-acl4-basic-2000] quit
[*HUAWEI] tftp-server acl 2000
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >