beautypg.com

Snmp-server view – Brocade 6910 Ethernet Access Switch Configuration Guide (Supporting R2.2.0.0) User Manual

Page 172

background image

116

Brocade 6910 Ethernet Access Switch Configuration Guide

53-1002651-02

6

SNMP Commands

The SNMP engine ID is used to compute the authentication/privacy digests from the password.
You should therefore configure the engine ID with the

snmp-server engine-id

command before

using this configuration command.

Before you configure a remote user, use the

snmp-server engine-id

command to specify the

engine ID for the remote device where the user resides. Then use the snmp-server user
command to specify the user and the IP address for the remote device where the user resides.
The remote agent’s SNMP engine ID is used to compute authentication/privacy digests from
the user’s password. If the remote engine ID is not first configured, the snmp-server user
command specifying a remote user will fail.

SNMP passwords are localized using the engine ID of the authoritative agent. For informs, the
authoritative SNMP agent is the remote agent. You therefore need to configure the remote
agent’s SNMP engine ID before you can send proxy requests or informs to it.

Example

Console(config)#snmp-server user steve r&d v3 auth md5 greenpeace priv des56 einstien

Console(config)#snmp-server user mark r&d remote 192.168.1.19 v3 auth md5 greenpeace

priv des56 einstien

Console(config)#

snmp-server view

This command adds an SNMP view which controls user access to the MIB. Use the no form to
remove an SNMP view.

Syntax

snmp-server view view-name oid-tree {included | excluded}

no snmp-server view view-name

view-name - Name of an SNMP view. (Range: 1-32 characters)

oid-tree - Object identifier of a branch within the MIB tree. Wild cards can be used to mask
a specific portion of the OID string. (Refer to the examples.)

included - Defines an included view.

excluded - Defines an excluded view.

Default Setting
defaultview (includes access to the entire MIB tree)

Command Mode
Global Configuration

Command Usage

Views are used in the

snmp-server group

command to restrict user access to specified portions

of the MIB tree.

The predefined view “defaultview” includes access to the entire MIB tree.

Examples
This view includes MIB-2.

Console(config)#snmp-server view mib-2 1.3.6.1.2.1 included

Console(config)#