SNMP Commands
©2008 Allied Telesis Inc. All rights reserved.
Software Version 5.2.1
AlliedWare Plus
TM
Operating System Software Reference C613-50003-00 REV E
55.19
snmp-server view
The snmp-server view command allows user to create an SNMP view that specifies a sub-tree
of 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 group to control the remote manager’s access.
■
Note that the object identifier must be specified in a sequence of integers separated by
decimal points.
The
no
snmp-server view 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
Configure mode
Example
The following command creates a view caleld "loc" that includes system location mib sub-tree.
To remove the view "loc" use the following command
Related Commands
show snmp-server view
snmp-server community
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.
awplus(config)#
snmp-server view loc 1.3.6.1.2.1.1.6.0 included
awplus(config)#
no snmp-server view loc