151
SNMP commands
The device supports the FIPS mode that complies with NIST FIPS 140-2 requirements. Support for
features, commands, and parameters might differ in FIPS mode and non-FIPS mode. For more
information about FIPS mode, see Security Configuration Guide.
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 display snmp-agent community 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: Specifies SNMP read-only communities.
write: Specifies SNMP read and write communities.
Usage guidelines
This command is not supported in FIPS mode.
If no keyword is specified, this command displays information about all SNMPv1 and SNMPv2c
communities.
The communities include:
Those configured with the snmp-agent community command.
Those automatically created by the system for SNMPv1 and SNMPv2c users that have been
assigned to an existing SNMP group.
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
Context name: con1
Community name: bb
Role name: bb
Storage-type: nonVolatile