< Home

snmp-agent community plaintext enable

Function

The snmp-agent community plaintext enable command enables SNMPv1 and SNMPv2c community names to be displayed in plaintext.

The undo snmp-agent community plaintext enable command enables SNMPv1 and SNMPv2c community names to be displayed in ciphertext.

By default, SNMPv1 and SNMPv2c community names are displayed in ciphertext.

Format

snmp-agent community plaintext enable

undo snmp-agent community plaintext enable

Parameters

None

Views

System view

Default Level

3: Management level

Usage Guidelines

Usage scenario

After you run the snmp-agent community plaintext enable command, the community name is displayed in plaintext after you run the snmp-agent community { read | write } community-name command to specify a plaintext community name.

Precautions

The existing community names are not affected after you run the snmp-agent community plaintext enable command. But the configured community names displayed in plaintext will be encrypted and displayed in ciphertext after you run the undo snmp-agent community plaintext enable command.

To ensure the security of community names, enable SNMPv1 and SNMPv2c community names to be displayed in ciphertext.

Example

# Enable SNMPv1 and SNMPv2c community names to be displayed in ciphertext.

<HUAWEI> system-view
[HUAWEI] undo snmp-agent community plaintext enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >