< Home

display snmp-agent

Function

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

Format

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

Parameters

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

Views

All views

Default Level

3: Management level

Usage Guidelines

Usage Scenario

After the SNMP agent function is enabled, you can run the display snmp-agent { local-engineid | remote-engineid } command to view the engine ID of the local or remote SNMP agent.

The engine ID of the SNMP agent uniquely identifies an SNMP agent in a management domain. The engine ID of the SNMP agent is an important component of the SNMP agent. It schedules and processes SNMP messages, implements security authentication, access control and so on.

Prerequisites

Before running the display snmp-agent { local-engineid | remote-engineid } command to view the engine ID of the local or remote SNMP agent, you need to run the snmp-agent command to enable the SNMP agent function.

Precautions

To configure an engine ID for the local SNMP agent, you can run the snmp-agent local-engineid command.

Example

# Display the engine ID of the local SNMP agent.

<HUAWEI> display snmp-agent local-engineid
   SNMP local EngineID: 800007DB03360102101100
Table 1 Description of the display snmp-agent local-engineid command output

Item

Description

SNMP local EngineID

The engine ID of the local SNMP agent.

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