API Guide

Supported on the MX9116n and MX5108n switches in Full Switch mode starting in release 10.4.2.0. Also
supported in SmartFabric mode starting in release 10.5.0.1.
The no version of this command removes a user from the SNMP group.
Example
(Encrypted
passwords)
OS10(config)# snmp-server user privuser v3group v3 auth md5
9fc53d9d908118b2804fe80e3ba8763d priv des
d0452401a8c3ce42804fe80e3ba8763d
Example (Plain-
text passwords)
OS10(config)# snmp-server user authuser v3group v3 auth md5 authpasswd
Example (Remote
user)
OS10(config)# snmp-server user n3user ngroup remote 172.31.1.3 udp-port
5009 3
auth md5 authpasswd
Supported
Releases
10.4.2.0 or later
snmp-server view
Configures an SNMPv3 view.
Syntax
snmp-server view view-name oid-tree [included | excluded]
Parameters
view-name Enter the name of a read-only, read-write, or notify view. A maximum of 32
characters.
oid-tree Enter the SNMP object ID at which the view starts in 12-octet dotted-decimal format.
included (Optional) Include the MIB family in the view.
excluded (Optional) Exclude the MIB family from the view.
Defaults Not configured
Command Mode CONFIGURATION
Usage
Information
The oid-tree value specifies the OID in the MIB tree hierarchy at which a view starts. Enter included
or excluded to include or exclude the remaining part of the MIB sub-tree contents in the view.
Supported on the MX9116n and MX5108n switches in Full Switch mode starting in release 10.4.2.0. Also
supported in SmartFabric mode starting in release 10.5.0.1.
The no version of the command removes an SNMPv3 view.
Example
OS10(config)# snmp-server view readview 1.3.6.5 excluded
Supported
Releases
10.4.2.0 or later
snmp-server vrf
Configures an SNMP agent to receive SNMP traps for the management VRF instance.
Syntax
snmp-server vrf management
Parameters None
Defaults Not configured
Command Mode CONFIGURATION
Usage
Information
The no version of this command disables the SNMP agent from receiving the SNMP traps.
System management 173