Configuration Example - HP 10500 Series Configuration Manual

Hide thumbs Also See for 10500 Series:
Table of Contents

Advertisement

Step
2.
Apply the ACL to
an SNMP
community,
group, or user.

Configuration example

Network requirements
Configure the device in
Figure 21 Network diagram
Configuration procedure
# Create an ACL to permit packets sourced from Host A and Host B.
<Sysname> system-view
[Sysname] acl number 2000 match-order config
[Sysname-acl-basic-2000] rule 1 permit source 10.110.100.52 0
Command
SNMP community:
snmp-agent community { read | write } [ simple | cipher ]
community-name [ mib-view view-name ] [ acl acl-number |
acl ipv6 ipv6-acl-number ] *
SNMPv1/v2c group:
snmp-agent group { v1 | v2c } group-name [ read-view
view-name ] [ write-view view-name ] [ notify-view
view-name ] [ acl acl-number | acl ipv6 ipv6-acl-number ] *
SNMPv3 group:
snmp-agent group v3 group-name [ authentication |
privacy ] [ read-view view-name ] [ write-view view-name ]
[ notify-view view-name ] [ acl acl-number | acl ipv6
ipv6-acl-number ] *
SNMPv1/v2c user:
snmp-agent usm-user { v1 | v2c } user-name group-name
[ acl acl-number | acl ipv6 ipv6-acl-number ] *
SNMPv3 user:
snmp-agent usm-user v3 user-name group-name [ remote
{ ip-address | ipv6 ipv6-address } [ vpn-instance
vpn-instance-name ] ] [ { cipher | simple }
authentication-mode { md5 | sha } auth-password
[ privacy-mode { aes128 | des56 } priv-password ] ] [ acl
acl-number | acl ipv6 ipv6-acl-number ] *
Figure 21
to allow Host A and Host B to access the device through SNMP.
45
Remarks
For more
information about
SNMP, see Network
Management and
Monitoring
Configuration
Guide.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents