beautypg.com

Snmp-server view, Undebug snmp, Snmp-server view undebug snmp – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual

Page 1811

background image

SNMP Commands

Software Reference for x310 Series Switches

C613-50046-01 REV A

AlliedWare Plus

TM

Operating System - Version 5.4.4C

68.29

snmp-server view

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.

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 system location mib sub-
tree.

To remove the view "loc" use the following command

Related Commands

show snmp-server view
snmp-server community

undebug snmp

This command applies the functionality of the

no

debug snmp

command.

Note

The object identifier must be specified in a sequence of integers separated by
decimal points.

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