Snmp-server group, Show snmp group – Alcatel Carrier Internetworking Solutions OmniStack 6300-24 User Manual

Page 329

Advertising
background image

SNMP Commands

4-117

4

snmp-server group

Use this command to add an SNMP group, mapping SNMP users to SNMP views.
Use the no form to remove an SNMP group.

Syntax

snmp-server group groupname {v1 | v2c | v3 {auth | noauth | priv}}

[read readview] [write writeview]

no snmp-server group groupname

• groupname - Name of an SNMP group. (Range: 1-32 characters)
v1 | v2c | v3 - Use SNMP version 1, 2c or 3.
auth | noauth | priv - This group uses SNMPv3 with authentication, no

authentication, or with authentication and privacy.

readview* - Defines the view for read access. (1-64 characters)
writeview* - Defines the view for write access. (1-64 characters)

Default Setting

readview - Every object belonging to the Internet OID space (1.3.6.1).
writeview - 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 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.

Example

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

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

Advertising