Command Manual - QoS/ACL
Quidway S3500 Series Ethernet Switches
Chapter 3 Logon user’s ACL control commands
Huawei Technologies Proprietary
3-3
Example
# Configures huawei as the community name, allows read-only access to the switch by
the name, meanwhile, performs the ACL control to the network management user by
ACL 2020. (Suppose ACL 2020 has been defined.)
[Quidway] snmp-agent community read huawei acl 2020
3.1.4 snmp-agent group
Syntax
snmp-agent group
{
v1
|
v2c
}
group-name
[
read-view
read-view
] [
write-view
write-view
] [
notify-view
notify-view
] [
acl
acl-number
]
undo
snmp-agent group
{
v1
|
v2c
}
group-name
snmp-agent group
v3
group-name
[
authentication
|
privacy
] [
read-view
read-view
] [
write-view
write-view
] [
notify-view
notify-view
] [
acl
acl-number
]
undo
snmp-agent group
v3 group-name
[
authentication
|
privacy
]
View
System view
Parameter
v1
: Configure to use V1 safe mode.
v2c
: Configure to use V2c safe mode.
v3
: Configure to use V3 safe mode.
groupname
: Group name, ranging from 1 to 32 bytes.
read-view
: Configures to allow read-only view settings.
readview
: Read-only view name, ranging from 1 to 32 bytes.
write-view
: Configure to allow read-write view settings.
writeview
: Name of read-write view, ranging from 1 to 32 bytes.
notify-view
: Configure to allow notify view settings.
notifyview
: Specify the notify view name, ranging from 1 to 32 bytes.
acl acl-number
: the number of basic ACL, ranging from 2000 to 2999
authentication
: If this parameter is added to configuration command, the system will
authenticate but not encrypt SNMP data packets..
privacy
: Configure to authenticate and encrypt the packet.