![Cisco Small Business 300 1.1 Series Administration Manual Download Page 147](http://html.mh-extra.com/html/cisco/small-business-300-1-1-series/small-business-300-1-1-series_administration-manual_2609294147.webp)
Network Management Protocol (SNMP) Commands
78-20269-01 Command Line Interface Reference Guide
148
10
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
snmp-server view
view-name
oid-tree
{included | excluded}
no snmp-server view
view-name
[
oid-tree
]
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.