To do… | Use the command… | Remarks | |
Enter user interface view | — | ||
[ | |||
|
| ||
|
|
| |
|
| Required |
Use the ACL to control user login by source IP address
acl [ ipv6 ]
inbound: Filters incoming Telnet packets.
outbound: Filters outgoing Telnet packets.
Because advanced ACLs can match both source and destination IP addresses of packets, you can use advanced ACLs to implement source and destination
Follow these steps to configure source and destination
To do… | Use the command… | Remarks |
Enter system view | — |
Create an advanced ACL and enter its view, or enter the view of an existing advanced ACL
acl [ ipv6 ] number
Required
By default, no advanced ACL exists.
Configure rules for the ACL | rule [ | Required | |
|
|
| |
Exit advanced ACL view | quit | — | |
|
|
| |
Enter user interface | — | ||
[ | |||
|
| ||
|
|
| |
|
| Required |
Use the ACL to control user login by source and destination IP addresses
acl [ ipv6 ]
inbound: Filters incoming Telnet packets.
outbound: Filters outgoing Telnet packets.
Ethernet frame header ACLs can match the source MAC addresses of packets, so you can use Ethernet frame header ACLs to implement source
Follow these steps to configure source
To do… | Use the command… | Remarks |
Enter system view | — | |
|
|
|
| 79 |
|