beautypg.com

Snmp-server view, Snmp-server view 1 – Allied Telesis AT-8100 Series User Manual

Page 1201

background image

AT-8100 Switch Command Line User’s Guide

1201

SNMP-SERVER VIEW

Syntax

snmp-server view

viewname

oid excluded|included

Parameters

viewname

Specifies the name of a new view. The maximum length is 64
alphanumeric and/or special characters. The string is case
sensitive. Spaces are not allowed.

oid

Specifies the OID of the view. The OID must be in decimal format.
Each decimal equals 1 character, for example, 1.3.6.1.1 would be
equivalent to 9 characters.

excluded

Denies access to the part of the MIB tree specified by the OID.

included

Permits access to the part of the MIB tree specified by the OID.

Mode

Global Configuration mode

Description

Use this command to create SNMPv3 views on the switch. Views are used
to restrict the MIB objects that network managers can access through
SNMPv3 groups. A view can have more than one OID, but each OID must
be added in a separate command.

Confirmation Command

“SHOW SNMP-SERVER VIEW” on page 1192

Examples

This example creates a view that excludes all MIB objects in the OID
1.3.6.1.2.1. The view is assigned the name “sw12_restrict_view:”

awplus> enable
awplus# configure terminal
awplus(config)# snmp-server view sw12_restrict_view
1.3.6.1.2.1 excluded