Network protocols
7.8 SNMP
SCALANCE XM-400/XR-500 Command Line Interface (CLI)
Configuration Manual, 06/2016, C79000-G8976-C252-11
411
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 ele-
ments of the MIB tree
A series of "
0
" and "
1
" separated
by dots in keeping with the path
information 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
(volatile):
The settings are lost after a
restart
•
nonvolatile
(non-volatile):
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 view trees 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.