The telnet server acl command configures the 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.
Parameter | Description | Value |
---|---|---|
acl4name |
Specifies the ACL4 name. |
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). |
acl4num |
Specifies the IPv4 ACL number. |
ACL number is an integer data type. The basic acl number value ranges from 2000 to 2999, the advanced acl number value ranges from 3000 to 3999. |
ipv6 |
Filter IPv6 addresses. |
- |
acl6name |
Specifies the ACL6 name. |
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). |
acl6num |
Specifies the IPv6 ACL number. |
ACL number is an integer data type. The basic acl number value ranges from 2000 to 2999, the advanced acl number value ranges from 3000 to 3999. |
Usage Scenario
When a device serves as Telnet server, you can configure the ACL on the device to control the login of the clients to the device.
Precautions
If no rule is configured, the incoming and outgoing calls are not restricted after the command telnet server acl is run.
The command telnet server acl takes effect for ipv4 function.
<HUAWEI> system-view [~HUAWEI] acl 2000 [*HUAWEI-acl4-basic-2000] quit [*HUAWEI] telnet server acl 2000
<HUAWEI> system-view [~HUAWEI] acl ipv6 name test [*HUAWEI-acl6-advance-test] quit [*HUAWEI] telnet ipv6 server acl test