Figure 78 Network diagram
Host A
10.110.100.46
Host B
10.110.100.52
IP network
Firewall
Configuration procedure
#Configure basic ACL 2000, and configure rule 1 to permit packets sourced from Host B, and rule 2 to permit packets sourced from Host A.
<Firewall>
[Firewall] acl number 2000
#Reference ACL 2000 on user interfaces VTY 0 through VTY 4 so only Host A and Host B can Telnet to the firewall.
[Firewall]
Configuring source IP-based SNMP login control
Use a basic ACL (2000 to 2999) to control SNMP logins by source IP address. To access the requested MIB view, an NMS must use a source IP address permitted by the ACL.
To configure source
Step | Command | Remarks |
1. Enter system view. | N/A | |
|
|
|
|
| By default, no basic |
|
| ACL exists. |
2. Create a basic ACL and |
| NOTE: |
enter its view, or enter the | acl [ ipv6 ] number | Support for the ipv6 |
view of an existing basic | [ | keyword depends on |
ACL. |
| the device model. For |
|
| more information, see |
|
| Getting Started |
|
| Command Reference. |
116