Users Guide

Table Of Contents
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.
Example
OS10(config)# snmp-server vrf management
Supported
Releases
10.4.1.0 or later
Example: Configure SNMP
This example shows how to configure SNMP on the switch, including SNMP engine ID, views, groups, and users.
OS10(config)# snmp-server contact "Contact Support"
OS10(config)# snmp-server engineID remote 192.168.1.2 udp-port 502 0xdefa
172
System management