Defining snmp views, Defining snmp views 3, Defining snmp – Brocade BigIron RX Series Configuration Guide User Manual

Page 1181: Views

Advertising
background image

BigIron RX Series Configuration Guide

1103

53-1002484-04

Defining SNMP views

37

Defining SNMP views

SNMP views are named groups of MIB objects that can be associated with user accounts to allow
limited access for viewing and modification of SNMP statistics and system configuration. SNMP
views can also be used with other commands that take SNMP views as an argument. SNMP views
reference MIB objects using object names, numbers, wildcards, or a combination of the three. The
numbers represent the hierarchical location of the object in the MIB tree. You can reference
individual objects in the MIB tree or a subset of objects from the MIB tree.

You can create up to 10 views on the device. This number cannot be changed.

To create an SNMP view, enter one of the following commands:

BigIron RX(config)# snmp-server view Maynes system included

BigIron RX(config)# snmp-server view Maynes system.2 excluded

BigIron RX(config)# snmp-server view Maynes 1.2.3.*.8 included

BigIron RX(config)# write mem

NOTE

The snmp-server view command supports the MIB objects as defined in RFC 1445.

Syntax: [no] snmp-server view <name> <mib-tree> included | excluded

The <name> parameter can be any alphanumeric name you choose to identify the view. The
names cannot contain spaces.

The <mib_tree> parameter is the name of the MIB object or family. MIB objects and MIB sub-trees
can be identified by a name or by the numbers called Object Identifiers (OIDs) that represent the
position of the object or sub-tree in the MIB hierarchy. You can use a wildcard (*) in the numbers to
specify a sub-tree family.

The included | excluded parameter specifies whether the MIB objects identified by the
<mib_family> parameter are included in the view or excluded from the view.

NOTE

All MIB objects are automatically excluded from any view unless they are explicitly included;
therefore, when creating views using the snmp-server view command, indicate which portion of the
MIB you want users to access.

For example, you may want to assign the view called “admin” a community string or user group. The

1. 3. 6. 1. 6. 3. 15. 1. 1. 2. 0

Not in time packet.

1. 3. 6. 1. 6. 3. 15. 1. 1. 3. 0

Unknown user name. This varbind may also be
generated:

If the configured ACL for this user filters out this
packet.

If the group associated with the user is unknown.

1. 3. 6. 1. 6. 3. 15. 1. 1. 4. 0

Unknown engine ID. The value of this varbind would be
the correct authoritative engineID that should be used.

1. 3. 6. 1. 6. 3. 15. 1. 1. 5. 0

Wrong digest.

1. 3. 6. 1. 6. 3. 15. 1. 1. 6. 0

Decryption error.

Varbind object identifier

Description

Advertising