Command Manual – SNMP-RMON
H3C S7500E Series Ethernet Switches
Chapter 1 SNMP Configuration Commands
1-12
1.1.11 snmp-agent
Syntax
snmp-agent
undo snmp-agent
View
System view
Parameters
None
Description
Use the
snmp-agent
command to enable SNMP agent.
Use the
undo snmp-agent
command to disable SNMP agent.
By default, SNMP agent is disabled.
Examples
# Disable the current SNMP agent.
<Sysname> system-view
[Sysname] undo snmp-agent
1.1.12 snmp-agent community
Syntax
snmp-agent community
{
read
|
write
}
community
-
name
[
acl
acl-number
|
mib-view
view-name
] *
undo snmp-agent community
community
-
name
View
System view
Parameters
read
: Indicates that the community has read only access right to the MIB objects, that is,
the community can only inquire MIB information.
write
: Indicates that the community has read and write access right to the MIB objects,
that is, the community can configure MIB information.
community
-
name
: Community name, a string of 1 to 32 characters.
acl acl-number: ACL for the community name, with acl-number indicating the ACL
number, in the range 2,000 to 2,999.