Snmp Commands; Display Snmp-Agent Community - H3C S5830V2 Series Command Reference Manual

Network management and monitoring
Hide thumbs Also See for S5830V2 Series:
Table of Contents

Advertisement

SNMP commands

The SNMP agent sends notifications (traps and informs) to inform the NMS of significant events, such as
link state changes and user logins or logouts. Unless otherwise stated, the trap keyword in the command
line includes both traps and informs.

display snmp-agent community

Use the display snmp-agent community command to display SNMPv1 or SNMPv2c community
information.
Syntax
display snmp-agent community [ read | write ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
read: Displays information about SNMP read-only communities.
write: Displays information about SNMP read and write communities.
Usage guidelines
If no keyword is specified, this command displays information about all the SNMPv1 and SNMPv2c
communities that have been created.
To create an SNMPv1 or SNMPv2c community, use the snmp-agent community command or the
snmp-agent usm-user { v1 | v2c } command.
Examples
# Display information about all SNMPv1 and SNMPv2c communities.
<Sysname> display snmp-agent community
Community name: aa
Group name: aa
ACL:2001
Storage-type: nonVolatile
Community name: bb
Group name: bb
Storage-type: nonVolatile
Community name: userv1
Group name: testv1
Storage-type: nonVolatile
89

Advertisement

Table of Contents
loading

This manual is also suitable for:

S5820v2 series

Table of Contents