Users Guide

Table Of Contents
Command Mode EXEC
Usage
Information
To configure an SNMP user, use the snmp-server user command.
Example
OS10# show snmp user
User name : privuser
Group : v3group
Version : 3
Authentication Protocol : MD5
Privacy Protocol : AES
Supported
Releases
10.4.2.0 or later
show snmp view
Displays the SNMP views configured 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
configure 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
Configures 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 this command
to configure read-only or read-write access for an SNMP community name. The configured 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.
Supported on the MX9116n and MX5108n switches in Full Switch mode starting in release 10.4.0E(R3S).
Also supported in SmartFabric mode starting in release 10.5.0.1.
These points are applicable when you assign an ACL to an SNMP community:
By default, SNMP requests from all hosts are allowed.
128 System management