Users Guide

Table Of Contents
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 congured
Command Mode
CONFIGURATION
Usage Information
The oid-tree value species 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. 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
Congures an SNMP agent to receive SNMP traps for the management VRF instance.
Syntax
snmp-server vrf management
Parameters None
Defaults Not congured
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: Congure SNMP
This example shows how to congure 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
OS10(config)# snmp-server engineID local test
OS10(config)# snmp-server group sngroup 2c notify notofy_view
OS10(config)# snmp-server group snv3group 3 noauth read read_view
OS10(config)# snmp-server user snuser sngroup 3 auth sha a2FubmFuX3Rlc3Q=
OS10(config)# snmp-server view readview 1.3.6.1.2.1.2.2 included
OS10(config)# snmp-server view snview .1 excluded
OS10(config)# do show snmp engineID local
Local default SNMP engineID: 0x800002a20474657374
OS10(config)# do show snmp engineID remote
Remote Engine ID IP-addr Port
0xdefa 192.168.1.2 502
130
System management