5 snmp view record, 6 permission to access snmp view record, Snmp view record – Siemens S223 User Manual

Page 107: Permission to access snmp view record

Advertising
background image

User Manual UMN:CLI
SURPASS hiD 6615 S223/S323 R1.5

A50010-Y3-C150-2-7619 107

7.1.5 SNMP

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

snmp view

VIEW {included |

excluded

} OID [MASK]

Creates an SNMP view record.
VIEW: view record name
included: includes sub-tree.
excluded: excludes sub-tree.
OID: OID number
MASK: Mask value (e.g. ff | ff.ff )

no snmp view

VIEW [OID]

Global

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

Global

Shows a created SNMP view record.

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.6

Permission 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}

READ-VIEW

WRITE-VIEW NO-

TIFY-VIEW

Grants an SNMP group to access a specific SNMP
view record.
GROUP: group name

snmp access

GROUP v3 {no-

auth

| auth | priv} READ-VIEW

WRITE-VIEW

NOTIFY-VIEW

Grants an SNMP version 3 group to access a specific
SNMP view record.
GROUP: group name

no snmp access

GROUP

Global

Deletes a granted SNMP group to access a specific
SNMP view record.

Advertising
This manual is related to the following products: