The display snmp-agent local-engineid command displays the engine ID of a local SNMP agent.
Usage Scenario
On a device with the SNMP agent function enabled, run the display snmp-agent command to view the engine ID of the local SNMP agent.
The SNMP engine ID uniquely identifies an SNMP agent in a management domain. The SNMP engine ID is an important component of the SNMP agent. It schedules and processes SNMP messages, which implements security authentication and access control.
Prerequisites
The SNMP agent function has been enabled using the snmp-agent command.
Precautions
To set an engine ID for the local SNMP agent, run the snmp-agent local-engineid command.
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display snmp-agent local-engineid
SNMP local EngineID: 000007DB7F0000013859
<HUAWEI> display snmp-agent local-engineid
Error: SNMP agent is not enabled.
Item | Description |
---|---|
SNMP local EngineID | Engine ID of a local SNMP agent. The engine ID can be specified by an administrator using the snmp-agent local-engineid command or be automatically calculated using an algorithm. |
Error | Error. |