Command Manual – QoS/ACL
Quidway S8500 Series Routing Switches
Chapter 3 ACL Control Commands to Control
Login Users
Huawei Technologies Proprietary
3-4
v1
: V 1 security mode.
v2c
: V 2 security mode.
v3
: V 3 security mode.
group-name
: Group name, ranging from 1 to 32 bytes.
authentication
: With this parameter, the system will authenticate SNMP data without
encrypting it.
privacy
: Authenticates and encrypts packets.
read-view
: Sets read-only view.
read-view
: Name of read-only view, ranging from 1 to 32 bytes.
write-view
: Permits to set read-write view.
write-view
: Name of read-write view, ranging from 1 to 32 bytes.
notify-view
: Sets notify view.
notify-view
: Name of notify view, ranging from 1 to 32 bytes.
acl acl-number
: Number identifier of basic number-based ACLs, ranging from 2000 to
2999.
Description
Use the
snmp-agent group
command to configure a new SNMP group and reference
the ACL to perform ACL control to the network management users by
acl acl-number
.
Use the
undo snmp-agent group
command to 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> system-view
System View: return to User View with Ctrl+Z.
[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