set snmp access

set snmp access

Use this command to set an SNMP access configuration.

Syntax

set snmp access groupname security-model {v1 v2c usm} [noauthentication authentication privacy] [context context] [exact prefix] [read read] [write write] [notify notify] [volatile nonvolatile]

Parameters

groupname

Specifies a name for an SNMPv3 group.

security‐model v1

Specifies SNMP version 1, 2c or 3 (usm).

v2c usm

 

 

 

noauthentication

(Optional) Applies SNMP security level as no authentication,

authentication

authentication (without privacy) or privacy. Privacy specifies that

privacy

messages sent on behalf of the user are protected from disclosure.

 

 

context context exact

(Optional) Sets the context for this access configuration and specifies that

prefix

the match must be exact (matching the whole context string) or a prefix

 

match only. Context is a subset of management information this SNMP

 

group will be allowed to access. Valid values are full or partial context

 

names. To review all contexts configured for the device, use the show

 

snmp context command as described in show snmp context” on

 

page 8‐21.

 

 

read read

(Optional) Specifies a read access view.

 

 

write write

(Optional) Specifies a write access view.

 

 

notify notify

(Optional) Specifies a notify access view.

 

 

volatile

(Optional) Stores associated SNMP entries as temporary or permanent, or

nonvolatile read‐

read‐only.

only

 

 

 

Defaults

If security level is not specified, no authentication will be applied.

If context is not specified, access will be enabled for the default context. If context is specified without a context match, exact match will be applied.

If read view is not specified none will be applied.

If write view is not specified, none will be applied.

If notify view is not specified, none will be applied.

If storage type is not specified, entries will be stored as permanent and will be held through device reboot.

Mode

Switch command, read‐write.

Example

This example permits the “powergroup” to manage all MIBs via SNMPv3:

C3(su)->set snmp access powergroup security-model usm

8-18 SNMP Configuration

Page 246
Image 246
Enterasys Networks 9034313-07 manual Set snmp access