3com 8807 User Guide
214
C
HAPTER
23: L
OGON
U
SER
ACL C
ONTROL
C
ONFIGURATION
ACL Control over SNMP
Users Configuration
Example
Network requirements
Only SNMP users from 10.110.100.52 and 10.110.100.46 can access the switch.
Network diagram
Figure 56 Network diagram for ACL control over SNMP users
Configuration procedure
# Define a basic ACL and the rules.
<SW8800> system-view
System View: return to User View with Ctrl+Z.
[SW8800] acl number 2000 match-order config
[3Com-acl-baisc-2000] rule 1 permit source 10.110.100.52 0
[3Com-acl-baisc-2000] rule 2 permit source 10.110.100.46 0
[3Com-acl-basic-2000] rule 3 deny source any
[3Com-acl-baisc-2000] quit
# Apply the ACL.
[SW8800] snmp-agent community read 3Com acl 2000
[SW8800] snmp-agent group v3 3Comgroup acl 2000
[SW8800] snmp-agent usm-user v3 3Comuser 3Comgroup acl 2000
Internet
Switch