SNMP Commands 4

Default Setting

Default groups: public27 (read only), private28 (read/write)

readview - Every object belonging to the Internet OID space (1.3.6.1).

writeview - Nothing is defined.

notifyview - Nothing is defined.

Command Mode

Global Configuration

Command Usage

A group sets the access policy for the assigned users.

When authentication is selected, the MD5 or SHA algorithm is used as specified in the snmp-server user command.

When privacy is selected, the DES 56-bit algorithm is used for data encryption.

For additional information on the notification messages supported by this switch, see “Supported Notification Messages” on page 3-46.Also, note that the authentication, link-up and link-down messages are legacy traps and must therefore be enabled in conjunction with the snmp-server enable traps command (page 4-116).

Example

Console(config)#snmp-server group r&d v3 auth write daily Console(config)#

show snmp group

Four default groups are provided – SNMPv1 read-only access and read/write access, and SNMPv2c read-only access and read/write access.

Command Mode

Privileged Exec

Example

Console#show snmp group

Group Name: r&d

Security Model: v3

Read View: defaultview

Write View: daily

Notify View: none

Storage Type: permanent

Row Status: active

Group Name: public

Security Model: v1

Read View: defaultview

Write View: none

Notify View: none

Storage Type: volatile

Row Status: active

27.No view is defined.

28.Maps to the defaultview.

4-121