Command Manual - QoS/ACL
Quidway S6500 Series Ethernet Switches
Chapter 3 ACL Control Commands to
Control Login Users
Huawei Technologies Proprietary
3-4
Description
Using the snmp-agent group command, you can configure a new SNMP group and
reference the ACL to perform ACL control to the network management users by acl
acl-number. Using the undo snmp-agent group command, you can remove a
specified SNMP group.
Example
# Create a SNMP group “huawei”, and reference the ACL 2001 to perform ACL control
to the network management users (basic ACL 2001 has already been defined).
[Quidway] snmp-agent group v1 huawei acl 2001
3.1.4 snmp-agent usm-user
Syntax
snmp-agent usm-user { v1 | v2c } user-name group-name [ acl acl-number ]
undo snmp-agent usm-user { v1 | v2c } user-name group-name
snmp-agent usm-user v3 user-name group-name [ authentication-mode { md5 |
sha } auth-password privacy des56 priv-password ] [ acl acl-number ]
undo snmp-agent usm-user v3 user-name group-name { local | engineid
engineid-string }
View
System view
Parameter
v1: V 1 security mode.
v2c: V 2 security mode.
v3: V 3 security mode.
user-name: The user name, ranging from 1 to 32 bytes.
group-name: The corresponding group name of the user, ranging from 1 to 32 bytes.
authentication-mode: Specifies the security level to “to be authenticated”
md5: Specifies the authentication protocol as HMAC-MD5-96.
sha: Specifies the authentication protocol as HMAC-SHA-96.