R3166-R3206-HP High-End Firewalls System Management and Maintenance Command Reference-6PW101
148
snmp-agent local-engineid
Syntax
snmp-agent local-engineid engineid
undo snmp-agent local-engineid
View
System view
Default level
3: Manage level
Parameters
engineid: Engine ID, an even number of hexadecimal characters, in the range 10 to 64. Its length must
not be an odd number, and the all-zero and all-F strings are invalid.
Description
Use the snmp-agent local-engineid command to configure a local engine ID for an SNMP entity.
Use the undo snmp-agent local-engineid command to restore the default local engine ID.
By default, the engine ID of a device is the combination of company ID and device ID. Device ID varies
by product; it could be an IP address, a MAC address, or a self-defined string of hexadecimal numbers.
An engine ID has two functions:
• For all devices managed by one NMS, each device needs a unique engine ID to identify the SNMP
agent. By default, each device has an engine ID. The network administrator has to ensure that there
is no repeated engine ID within an SNMP domain.
• In SNMPv3, the user name and cipher text password are associated with the engine ID. Therefore,
if the engine ID changes, the user name and cipher text password configured under the engine ID
become invalid.
Typically, the device uses its default engine ID. For ease of remembrance, you can set engine IDs for the
devices according to the network planning. For example, if both device 1 and device 2 are on the first
floor of building A, you can set the engine ID of device 1 to 000Af0010001, and that of device 2 to
000Af0010002.
Related commands: snmp-agent usm-user.
Examples
# Configure the local engine ID as 12 34 56789A .
<Sysname> system-view
[Sysname] snmp-agent local-engineid 123456789A
snmp-agent log
Syntax
snmp-agent log { all | get-operation | set-operation }
undo snmp-agent log { all | get-operation | set-operation }
View
System view