Requirement
● An SNMP group has been created
● The access to the group is configured with
snmp access
● You are in the Global Configuration mode.
The command prompt is:
cli(config)#
Syntax
Call up the command with the following parameters:
snmp view <ViewName> <OIDTree> [mask<OIDMask>] {included|excluded}
[{volatile|nonvolatile}]
The parameters have the following meaning:
Parameter
Description
Range of values / note
ViewName
Name of the SNMP view
max. 32 characters
OIDTree
Object ID
Path information of the MIB tree
mask
Keyword for the OID mask
-
OIDMask
Mask that filters access to the elements
of the MIB tree
A series of "
0
" and "
1
" separated
by dots in keeping with the path in‐
formation of the MIB tree
View type
Specifies whether the filtered elements
are used or excluded.
●
included
(Default)
●
excluded
Storage type
Specifies whether the settings remain
following a restart.
●
volatile
:
The settings are lost after a
restart
●
nonvolatile
:
The settings are retained after
a restart (default).
If optional parameters are not specified when configuring, the default values apply.
Result
The SNMP view is configured.
Further notes
You delete the view with the
no snmp view
command.
You display the configured SNMP tree views with the
show snmp viewtree
command.
You display the SNMP group access rights with the
show snmp group access
command.
You configure the SNMP group access rights with the
snmp access
command.
Network protocols
7.5 SNMP
SCALANCE XB-200/XC-200/XF-200BA/XP-200/XR-300WG Command Line Interface
Configuration Manual, 07/2017, C79000-G8976-C361-06
349