Source Ip-Based Login Control Over Nms Users Configuration Example - HP 5120 series Configuration Manual

Gigabit ethernet switches
Table of Contents

Advertisement

To do...
Create a basic ACL and enter its
view, or enter the view of an
existing basic ACL
Create rules for this ACL
Exit the basic ACL view
Associate this SNMP community
with the ACL
Associate the SNMP group with
the ACL
Associate the user with the ACL
Source IP-based login control over NMS users configuration
example
Network requirements
As shown in
Figure
24, configure the device to allow only NMS users from Host A and Host B to access.
Use the command...
acl [ ipv6 ] number acl-number
[ match-order { config | auto } ]
rule [ rule-id ] { permit | deny }
[ source { sour-addr sour-wildcard |
any } | time-range time-name |
fragment | logging ]*
quit
snmp-agent community { read |
write } community-name [ acl
acl-number | mib-view
view-name ]*
snmp-agent group { v1 | v2c }
group-name [ read-view
read-view ] [ write-view
write-view ] [ notify-view
notify-view ] [ acl acl-number ]
snmp-agent group v3 group-name
[ authentication | privacy ]
[ read-view read-view ]
[ write-view write-view ]
[ notify-view notify-view ] [ acl
acl-number ]
snmp-agent usm-user { v1 | v2c }
user-name group-name [ acl
acl-number ]
snmp-agent usm-user v3
user-name group-name [ [ cipher ]
authentication-mode { md5 | sha }
auth-password [ privacy-mode
{ 3des | aes128 | des56 }
priv-password ] ] [ acl acl-number ]
79
Remarks
Required
By default, no basic ACL exists.
Required
Required
You can associate the ACL when
creating the community, the SNMP
group, and the user.
For more information about
SNMP, see the Network
Management and Monitoring
Configuration Guide.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents