Cisco Catalyst 2000 Configuration Handbook page 221

Catalyst series lan switching
Table of Contents

Advertisement

200 Cisco LAN Switching Configuration Handbook
b. Define the device location:
c. Define the device serial number:
Configure SNMP access.
2.
a. (Optional) Define SNMP views to restrict access to MIB objects:
b. Define access methods for remote users.
The contact-string contains text information that the router can provide about
the network administrator. If the string is omitted, it is cleared.
(global) snmp-server location location-string
The location-string is text information that the router can provide about its
physical location. If the string is omitted, it is cleared.
(global) snmp-server chassis-id id-string
The id-string is text information that the router can provide about its own serial
number. If the hardware serial number can be read by Cisco IOS Software, this
number is the default chassis ID.
(global) snmp-server view view-name oid-tree {included | excluded}
If necessary, an SNMP manager can be limited to view only specific parts of the
switch's MIB tree. You can define a view with the name view-name. The oid-tree
value is the object identifier of the MIB subtree in ASN.1 format. This value is a
text string with numbers or words representing the subtree, separated by periods
(that is, system, cisco, system.4, 1.*.2.3). You can use wildcards (asterisks) with
any component of the subtree. Viewing access of the subtree is either permitted
or denied with the included and excluded keywords.
Multiple views can be defined, each applied to a different set of users or SNMP
managers.
The view can be stored in either volatile or nonvolatile (preserved across power
cycles) memory.
(SNMPv1 or SNMPv2c only) Define community strings to allow access:
(global) snmp-server community string [view view] [ro | rw] acc-list
A community string value string permits access to SNMP information on the
switch. Any SNMP manager that presents a matching community string is per-
mitted access. You can specify an optional view with the view keyword.
Access is then limited to only the MIB objects permitted by the view
definition.
Access is granted as read-only or read-write with the ro / read-only (default
community, "public," can't read the community strings), rw / read-write
(default community, "private," can write any MIB object except community
strings), and read-write-all (default community, "secret," can write any MIB
object) keywords.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents