Snmp-server view – Microsens MS453490M Management Guide User Manual

Page 566

Advertising
background image

C

HAPTER

22

| SNMP Commands

– 566 –

Remote users (i.e., the command specifies a remote engine identifier)

must be configured to identify the source of SNMPv3 inform messages

sent from the local switch.

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.

E

XAMPLE

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

des56 einstien

Console(config)#snmp-server user mark group 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.

S

YNTAX

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.

D

EFAULT

S

ETTING

defaultview (includes access to the entire MIB tree)

C

OMMAND

M

ODE

Global Configuration

Advertising