Example
The following example displays the configuration of filters.
Console # show snmp filters
Name
-----------
user-filter
user-filter
user-filter
SNMPv1/v2 Commands
snmp-server community
The snmp-server community global configuration command sets up the community access string
to permit access to the SNMP protocol. To remove a community or community group, use the no
snmp-server community command.
Syntax
snmp-server community community [ro | rw | su] [ip-address][view view-name][type {router
| oob}]
snmp-server community-group community group-name [ip-address][type {router | oob}]
no snmp-server community community [ip-address]
•
community—Community string that acts like a password and permits access to the
SNMP protocol. (Range: 1-20 characters)
•
ro—Indicates read-only access (default).
•
rw—Indicates read-write access.
•
su—Indicates SNMP administrator access.
•
ip-address—Specifies the IP address of the management station. If no IP address is
specified, all management stations are permitted. For information on specifying out-of-
band IP addresses, see the user guidelines.
•
view-name—Specifies the name of a previously defined view. For information on views,
see the user guidelines. (Range: 1-30 characters)
•
group-name—Specifies the name of a previously defined group. For information on
groups, see the user guidelines. (Range: 1-30 characters)
360
SNMP Commands
OID Tree
-----------------------
1.3.6.1.2.1.1
1.3.6.1.2.1.1.7
1.3.6.1.2.1.2.2.1.*.1
Type
---------
Included
Excluded
Included