Step |
| Command | Remarks | |
3. | Configure an ACL rule. | rule [ | N/A | |
| ||||
|
|
| ||
|
|
|
| |
4. | Exit advanced ACL view. | quit | N/A | |
|
|
|
| |
5. | Enter user interface view. | N/A | ||
[ | ||||
|
|
| ||
|
|
|
| |
|
|
| • inbound: Filters incoming Telnet | |
|
|
| packets. | |
|
|
| • outbound: Filters outgoing | |
6. | Apply the ACL to the user | acl [ ipv6 ] | Telnet packets. | |
NOTE: | ||||
| interfaces. | outbound } |
Support for the ipv6 keyword depends on the device model. For more information, see Getting Started Command Reference.
Configuring source MAC-based Telnet login control
Ethernet frame header ACLs apply to Telnet traffic only if the Telnet client and server are located in the same subnet.
To configure source
Step |
| Command | Remarks | |
1. | Enter system view. | N/A | ||
|
|
|
| |
2. | Create an Ethernet frame | acl number | By default, no Ethernet | |
| header ACL and enter its | |||
| [ | frame header ACL exists. | ||
| view. | |||
|
|
| ||
|
|
|
| |
3. | Configure an ACL rule. | rule [ | N/A | |
|
|
|
| |
4. | Exit Ethernet frame header | quit | N/A | |
| ACL view. | |||
|
|
| ||
|
|
|
| |
5. | Enter user interface view. | N/A | ||
[ | ||||
|
|
| ||
|
|
|
| |
6. | Use the ACL to control user |
| inbound: Filters incoming | |
| logins by source MAC | acl | ||
| packets. | |||
| address. |
| ||
|
|
| ||
|
|
|
|
Telnet login control configuration example
Network requirements
Configure the firewall in Figure 78 to permit only incoming Telnet packets sourced from Host A and Host B.
115