< Home

telnet server acl

Function

The telnet server acl command configures an ACL to control the access of clients to the Telnet server.

The undo telnet server acl command cancels the configuration of the ACL.

By default, no ACL is configured for Telnet servers.

Format

telnet [ ipv6 ] server acl acl-number

undo telnet [ ipv6 ] server acl

Parameters

Parameter Description Value
ipv6 Specifies a Telnet IPv6 server. -
acl-number Specifies an ACL number. The value is an integer that ranges from 2000 to 3999.

Views

System view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

When a device functions as a Telnet server, configure an ACL on the device to control the login of the clients to the device.

Prerequisites

An ACL has been configured using the acl (system view) command in the system view, and an ACL rule has been configured using the rule (basic ACL view) or rule (advanced ACL view) command.

Precautions

None.

Example

# Configure ACL 2000 on a Telnet server.

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