4 Command Line Interface

Group Name: public

Security Model: v2c

Read View: defaultview

Write View: none

Notify View: none

Storage Type: volatile

Row Status: active

Group Name: private

Security Model: v1

Read View: defaultview

Write View: defaultview

Notify View: none

Storage Type: volatile

Row Status: active

Group Name: private

Security Model: v2c

Read View: defaultview

Write View: defaultview

Notify View: none

Storage Type: volatile

Row Status: active

Console#

 

Table 4-42 show snmp group - display description

Field

 

Description

 

 

 

groupname

 

Name of an SNMP group.

 

 

 

security model

 

The SNMP version.

 

 

 

readview

 

The associated read view.

 

 

 

writeview

 

The associated write view.

 

 

 

notifyview

 

The associated notify view.

 

 

 

storage-type

 

The storage type for this entry.

 

 

 

Row Status

 

The row status of this entry.

 

 

 

snmp-server user

This command adds a user to an SNMP group, restricting the user to a specific SNMP Read, Write, or Notify View. Use the no form to remove a user from an SNMP group.

Syntax

snmp-server user username groupname [remote ip-address] {v1 v2c v3 [encrypted] [auth {md5 sha} auth-password[priv des56 priv-password]]

no snmp-server user username {v1 v2c v3 remote}

username - Name of user connecting to the SNMP agent. (Range: 1-32 characters)

groupname - Name of an SNMP group to which the user is assigned. (Range: 1-32 characters)

remote - Specifies an SNMP engine on a remote device.

4-122