H3C Technologies H3C S3100 Series Switches User Manual
Page 87

Operation Manual – Login
H3C S3100-52P Ethernet Switch
Chapter 8 User Control
8-6
Operation
Command
Description
Define rules for the
ACL
rule
[ rule-id ] { permit | deny }
[
fragment
| source
{ sour-addr sour-wildcard |
any
} | time-range
time-name
]*
Required
Quit to system view
quit
—
Apply the ACL while
configuring the
SNMP community
name
snmp-agent community
{
read
| write }
community-name
[ mib-view
view-name
| acl acl-number ]*
Optional
By default, SNMPv1 and
SNMPv2c use community
name to access.
Apply the ACL while
configuring the
SNMP group 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 ]
Optional
By default, the
authentication mode and
the encryption mode are
configured as none for the
group.
Apply the ACL while
configuring the
SNMP user name
snmp-agent usm-user
{ v1 |
v2c
} user-name group-name
[ acl acl-number ]
snmp-agent usm-user
v3
user-name
group-name
[ authentication-mode { md5
| sha } auth-password
[
privacy-mode
des56
priv-password
] [ acl
acl-number
]
Optional
Note:
You can specify different ACLs while configuring the SNMP community name, SNMP
group name, and SNMP user name..
As SNMP community name is a feature of SNMPv1 and SNMPv2c, the specified ACLs
in the command that configures SNMP community names (the snmp-agent
community
command) take effect in the network management systems that adopt
SNMPv1 or SNMPv2c.
Similarly, as SNMP group name and SNMP username name are a feature of SNMPv2c
and the higher SNMP versions, the specified ACLs in the commands that configure
SNMP group names and SNMP user names take effect in the network management