C613-50170-01 Rev B
Command Reference for x510 Series
2606
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
SNMP C
OMMANDS
SNMP
-
SERVER
VIEW
snmp-server view
Overview
Use this command to create an SNMP view that specifies a sub-tree of the MIB.
Further sub-trees can then be added by specifying a new OID to an existing view.
Views can be used in SNMP communities or groups to control the remote
manager’s access.
NOTE
:
The object identifier must be specified in a sequence of integers separated by
decimal points.
The
no
variant of this command removes the specified view on the device. The
view must already exist.
Syntax
snmp-server view <
view-name
> <
mib-name
> {included|excluded}
no snmp-server view <
view-name
>
Mode
Global Configuration
Examples
The following command creates a view called “loc” that includes the system
location MIB sub-tree.
awplus(config)#
snmp-server view loc 1.3.6.1.2.1.1.6.0 included
To remove the view “loc” use the following command
awplus(config)#
no snmp-server view loc
Related
Commands
Parameter
Description
<
view-name
>
SNMP server view name.
The view name is a string up to 20 characters long and is case
sensitive.
<
mib-name
>
Object identifier of the MIB.
included
Include this OID in the view.
excluded
Exclude this OID in the view.