Siemens S223, S323 user manual Permission to Access Snmp View Record, A50010-Y3-C150-2-7619 107

Models: S323 S223

1 381
Download 381 pages 49.11 Kb
Page 107
Image 107

User Manual

UMN:CLI

SURPASS hiD 6615 S223/S323 R1.5

 

 

 

 

 

7.1.5SNMP View Record

You can create an SNMP view record to limit access to MIB objects with object identity (OID) by an SNMP manager.

To configure an SNMP view record, use the following command.

Command

Mode

Description

 

 

 

 

 

Creates an SNMP view record.

 

 

VIEW: view record name

snmp view VIEW {included

 

included: includes sub-tree.

excluded} OID [MASK]

Global

excluded: excludes sub-tree.

 

OID: OID number

 

 

 

 

MASK: Mask value (e.g. ff ff.ff )

 

 

 

no snmp view VIEW [OID]

 

Deletes a created SNMP view record.

 

VIEW: view record name

 

 

 

 

 

To display a created SNMP view record, use the following command.

Command

Mode

Description

 

 

 

show snmp view

Enable

Shows a created SNMP view record.

Global

 

 

 

 

 

The following is an example of creating an SNMP view record.

SWITCH(config)# snmp view TEST included 410

SWITCH(config)# show snmp view

View list

------------------------------------------------

view TEST included 410 SWITCH(config)#

7.1.6Permission to Access SNMP View Record

To grant an SNMP group to access a specific SNMP view record, use the following com- mand.

Command

Mode

Description

 

 

 

snmp access GROUP {v1 v2c}

 

Grants an SNMP group to access a specific SNMP

READ-VIEW WRITE-VIEW NO-

 

view record.

TIFY-VIEW

 

GROUP: group name

 

 

 

snmp access GROUP v3 {no-

Global

Grants an SNMP version 3 group to access a specific

auth auth priv} READ-VIEW

SNMP view record.

 

WRITE-VIEW NOTIFY-VIEW

 

GROUP: group name

 

 

 

no snmp access GROUP

 

Deletes a granted SNMP group to access a specific

 

SNMP view record.

 

 

 

 

 

A50010-Y3-C150-2-7619

107

Page 107
Image 107
Siemens S223, S323 Permission to Access Snmp View Record, Following is an example of creating an Snmp view record