Snmp-Server View - Cisco Small Business 300 1.1 Series Administration Manual

Managed switch
Table of Contents

Advertisement

Network Management Protocol (SNMP) Commands
78-20269-01 Command Line Interface Reference Guide
The Type keyword is used for a different purpose. Therefore, when defining an
SNMP community, the administrator must indicate which tables are being
configured. If Type is router, it means that the device's tables are being configured.
Example
console(config)# snmp-server community abcd su 1.1.1.121 mask 255.0.0.0
console(config)# snmp-server community-group tom abcd 1.1.1.122 prefix 8
10.3

snmp-server view

The snmp-server view Global Configuration mode command creates or updates a
Simple Network Management Protocol (SNMP) server view entry. Use the no form
of this command to remove an SNMP server view entry.
Syntax
view-name oid-tree {included | excluded}
snmp-server view
no snmp-server view
Parameters
view-name—Specifies the label for the view record that is being created or
updated. The name is used to reference the record. (Length: 1–30
characters)
oid-tree—Specifies the ASN.1 subtree object identifier to be included or
excluded from the view. To identify the subtree, specify a text string
consisting of numbers, such as 1.3.6.2.4, or a word, such as System. Replace
a single sub-identifier with the asterisk (*) wildcard to specify a subtree
family; for example 1.3.*.4.
included—Specifies that the view type is included.
excluded—Specifies that the view type is excluded.
Default Configuration
The following views are created by default:
Default - Contains all MIBs except for those that configure the SNMP
parameters themselves.
DefaultSuper - Contains all MIBs.
view-name
oid-tree
[
]
10
148

Advertisement

Table of Contents
loading

Table of Contents