Command Manual – SNMP and RMON
Quidway S3900 Series Ethernet Switches-Release 1510
Chapter 1 SNMP Configuration Commands
Huawei Technologies Proprietary
1-11
Use the
undo snmp
-
agent community
command to cancel the settings of community
access name.
Example
# Configure community name as comaccess and permit read-only access by this
community name.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] snmp-agent community read comaccess
# Configure community name as mgr and permit read-write access.
[Quidway] snmp-agent community write mgr
# Remove community name comaccess.
[Quidway] undo snmp-agent community comaccess
1.1.12 snmp-agent group
Syntax
1)
Versions V1 and V2C
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
2) Version
V3
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
: Specifies SNMPv1.
v2c
: Specifies SNMPv2c.
v3
: Specifies SNMPv3.
groupname
: Group name, ranging from 1 to 32 bytes.
authentication
: Configures to authenticate the packet without encryption.
privacy
: Configures to authenticate and encrypt the packet.
readview
: Read-only view name, ranging from 1 to 32 bytes.
writeview
: Name of read-write view, ranging from 1 to 32 bytes.