Command Manual - System Management
Quidway S3500 Series Ethernet Switches
5.1.10 snmp-agent local-engineid
Syntax
snmp-agent local-engineid engineid
undo snmp-agent local-engineid
View
System view
Parameter
local-engineid: Specify an engineID for the local SNMPv3 entity
engineid: Specify the engine ID with a character string, only composed of hexadecimal
numbers between 5 and 32 including; By default, the value is "Enterprise Number +
device information".
Description
Using snmp-agent local-engineid command, you can configure a name for a local or
remote SNMP engine on the Ethernet Switch. Using undo snmp-agent
local-engineid command, you can restore the default setting of engine ID.
Device information is determined according to different products. It can be IP address,
MAC address or user defined text. However, you must use numbers in hexadecimal
form.
Example
# Configure the ID of a local or remote device as 12345.
<Quidway> display snmp-agent local-engineid
5.1.11 snmp-agent community
Syntax
snmp-agent community { read | write } community-name [ [ mib-view view-name ]
[ acl acl-list ] ]
undo snmp-agent community community-name
View
System view
Parameter
read: Indicate that MIB object can only be read.
write: Indicate that MIB object can be read and written.
Huawei Technologies Proprietary
5-8
Chapter 5 SNMP Configuration Commands