Configuration Examples For Implementing Snmp - Cisco NCS 6000 Series Configuration Manual

System management configuration guide, release 5.0.x
Hide thumbs Also See for NCS 6000 Series:
Table of Contents

Advertisement

Implementing SNMP

Configuration Examples for Implementing SNMP

Configuring SNMPv3: Examples
Setting an Engine ID
This example shows how to set the identification of the local SNMP engine:
snmp-server engineID local 00:00:00:09:00:00:00:a1:61:6c:20:61
Note
After the engine ID has been configured, the SNMP agent restarts.
Verifying the Identification of the Local SNMP Engines
This example shows how to verify the identification of the local SNMP engine:
config
show snmp engineid
SNMP engineID 00000009000000a1ffffffff
Creating a View
There are two ways to create a view:
• You can include the object identifier (OID) of an ASN.1 subtree of a MIB family from a view by using
• You can exclude the OID subtree of the ASN.1 subtree of a MIB family from a view by using the
This example shows how to create a view that includes the sysName (1.3.6.1.2.1.1.5) object:
config
snmp-server view SNMP_VIEW1 1.3.6.1.2.1.1.5 included
This example shows how to create a view that includes all the OIDs of a system group:
config
snmp-server view SNMP_VIEW1 1.3.6.1.2.1.1 included
This example shows how to create a view that includes all the OIDs under the system group except the sysName
object (1.3.6.1.2.1.1.5), which has been excluded:
config
snmp-server view SNMP_VIEW1 1.3.6.1.2.1.1 included
snmp-server view SNMP_VIEW1 1.3.6.1.2.1.1.5 excluded
the included keyword of the snmp-server view command.
excluded keyword of the snmp-server view command.
System Management Configuration Guide for the Cisco NCS 6000 Series Router, Release 5.0.x
Configuration Examples for Implementing SNMP
79

Advertisement

Table of Contents
loading

Table of Contents