Command Manual – SNMP-RMON
H3C S7500E Series Ethernet Switches
Chapter 1 SNMP Configuration Commands
1-13
mib-view view-name: Specifies the MIB view name associated with community-name,
where view-name represents the MIB view name, a string of 1 to 32 characters. If no
keyword is specified, the default view is ViewDefault (The view created by the system
after SNMP agent is enabled).
Description
Use the
snmp-agent community
command to configure a new SNMP community.
Parameters to be configured include access right, community name, ACL, and
accessible MIB views.
Use the
undo snmp-agent community
command to delete a specified community.
The community name configured with this command is only valid for the SNMP v1 and
v2c agent.
Examples
# Configure a community with the name of
comaccess
that has read-only access right.
<Sysname> system-view
[Sysname] snmp-agent community read comaccess
# Delete the community
comaccess
.
<Sysname> system-view
[Sysname] undo snmp-agent community comaccess
1.1.13 snmp-agent group
Syntax
The following syntax applies to SNMPv1 and SNMP 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
The following syntax applies to SNMPv3:
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
Parameters
v1
: SNMPv1.
v2c
: SNMPv2c.