Users Guide

Table Of Contents
show snmp view
Displays the SNMP views congured on the switch, including the SNMP object ID at which the view starts.
Syntax
show snmp view
Parameters None
Defaults None
Command Mode EXEC
Usage Information Use the show snmp view command to verify the OID starting point for SNMP views in MIB trees. To congure
an SNMP view, use the snmp-server view command.
Example
OS10# show snmp view
view name : readview
OID : 1.3.6.5
excluded : True
Supported Releases 10.4.2.0 or later
snmp-server community
Congures an SNMP user community.
Syntax
snmp-server community name {ro | rw} [acl acl-name]
Parameters
community name — Set the community name string to act as a password for SNMPv1 and SNMPv2c
access. A maximum of 20 alphanumeric characters.
ro — Set read-only access for the SNMP community.
rw — Set read-write access for the SNMP community.
acl acl-name — Enter an existing IPv4 ACL name to limit SNMP access in the SNMP community.
Defaults An SNMP community has read-only access.
Command Mode
CONFIGURATION
Usage Information The SNMPv1 and SNMPv2c security models use a community-based form of security. Use the snmp-server
community command to congure read-only or read-write access for an SNMP community name. The
congured community text string is used for SNMPv1 and SNMPv2c user authentication.
To display the SNMP communities on the switch, use the show snmp community command. The no version of
the command removes the congured community text string.
Example
OS10(config)# snmp-server community admin rw
OS10(config)# snmp-server community public ro acl snmp-read-only-acl
Supported Releases 10.2.0E or later
System management 123