R3303-HP 6600/HSR6600 Routers Fundamentals Configuration Guide

74
Figure 39 Network diagram
Configuration procedure
# Create ACL 2000, and configure rule 1 to permit packets sourced from Host B, and rule 2 to permit
packets sourced from Host A.
<Router> system-view
[Router] acl number 2000 match-order config
[Router-acl-basic-2000] rule 1 permit source 10.110.100.52 0
[Router-acl-basic-2000] rule 2 permit source 10.110.100.46 0
[Router-acl-basic-2000] quit
# Associate the ACL with the SNMP community and the SNMP group.
[Router] snmp-agent community read aaa acl 2000
[Router] snmp-agent group v2c groupa acl 2000
[Router] snmp-agent usm-user v2c usera groupa acl 2000
Host B
10.110.100.52
Router
IP network
Host A
10.110.100.46