Snmp-server view, Viewname> <oidtree> [excluded | included – ADTRAN 1000R Series User Manual

Page 512

Advertising
background image

Command Reference Guide

Global Configuration Mode Command Set

61200510L1-35E

Copyright © 2005 ADTRAN

512

snmp-server view <viewname> <oidtree> [excluded | included]

Use the snmp-server view command to create or modify a Simple Network Management Protocol
(SNMP) view entry. Use the no form of this command to remove an entry.

Syntax Description

<viewname>

Specifies a label for the view record being created. The name is a record
reference.

<oidtree>

Specifies the object identifier (oid) to include or exclude from the view. To identify
the subtree, specify a string using numbers, such as 1.4.2.6.8. Replace a single
subidentifier with the asterisk (*) to specify a subtree family.

excluded

Specifies an excluded view.

included

Specifies an included view.

Default Values

No default value necessary for this command.

Applicable Platforms

This command applies to the NetVanta 300, 1000, 1000R, 2000, 3000, 4000, and 5000 and
Total Access 900 Series units.

Command History

Release 9.1

Command was introduced.

Usage Examples

The snmp-server view command can include or exclude a group of OIDs. The following example shows
how to create a view (named blockInterfaces) to exclude the OID subtree family 1.3.3.1.2.1.2:

(config)#snmp-server view blockInterfaces 1.3.6.1.2.1.2.* excluded

The following example shows how to create a view (named block) to include a specific OID:

(config)#snmp-server view block 1.3.6.1.2.1.2. included

Advertising