Snmp Commands; Display Snmp-Agent Community - H3C SR6600 Command Reference Manual

Network management and monitoring command reference
Hide thumbs Also See for SR6600:
Table of Contents

Advertisement

SNMP commands

The router 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.
FIPS is not available for Russia.

display snmp-agent community

Use display snmp-agent community to display SNMPv1 and SNMPv2c community information.
Syntax
display snmp-agent community [ read | write ] [ | { begin | exclude | include } regular-expression ]
Views
Any view
Default command level
1: Monitor level
Parameters
read: Displays information about SNMP read-only communities.
write: Displays information about SNMP read and write communities.
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Usage guidelines
This command displays the SNMPv1 and SNMPv2c communities that you have created by using the
snmp-agent community command or the snmp-agent usm-user { v1 | v2c } command.
This command is supported only in non-FIPS mode.
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
97

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sr6600-x

Table of Contents