< Home

display snmp-agent

Function

The display snmp-agent command displays the engine ID of a local or a remote SNMP entity.

Format

display snmp-agent { local-engineid | remote-engineid }

Parameters

Parameter Description Value
local-engineid Displays the engine ID of a local SNMP entity. -
remote-engineid Displays the engine ID of a remote SNMP entity. -

Views

All views

Default Level

3: Management level

Usage Guidelines

The SNMP engine ID is the only identification of the SNMP management, and it uniquely identifies an SNMP entity in one management domain. The SNMP engine ID is an important component of the SNMP entity, completing the functions of SNMP messages such as message dispatching, message processing, security authentication, and access control.

After the SNMP agent is enabled, you can run the display snmp-agent command to view the engine ID of the local SNMP entity.

Example

# Display the engine ID of the current device.

<sysname> display snmp-agent local-engineid
  SNMP local EngineID: 000007DB7F0000013859
Table 1 Description of the display snmp-agent command output

Item

Description

SNMP local EngineID

Indicates the local SNMP engine ID. It can be specified by the administrator using the snmp-agent local-engineid command or be generated through a certain algorithm.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >