hit counter script

Consolidated Platform Configuration Guide, Cisco Ios Release 15.2(4)E (Catalyst 2960-X Switches - Cisco Catalyst 2960 series Configuration Manual

Consolidated platform configuration guide, ios release 15.2(4)e
Hide thumbs Also See for Catalyst 2960 series:
Table of Contents

Advertisement

Command or Action
Example:
Device(config-applet)# event snmp oid
Example:
1.3.6.1.4.1.9.9.48.1.1.1.6.1 get-type exact
Example:
entry-op lt entry-val 5120000 poll-interval 90
Step 5
action label info type snmp var variable-name oid
oid-value oid-type oid-type-value
Example:
Device(config-applet)# action 1.3 info type
Example:
snmp var sysDescr.0 oid
Example:
1.3.6.1.4.1.9.9.48.1.1.1.6.1 integer 4220
Step 6
action label info type snmp trap enterprise-oid
enterprise-oid-value generic-trapnum generic-trap-number
specific-trapnum specific-trap-number trap-oid
trap-oid-value trap-var trap-variable
Example:
Device(config-applet)# action 1.4 info type
Example:
snmp trap enterprise-oid 1.3.6.1.4.1.1
Example:
generic-trapnum 4 specific-trapnum 7 trap-oid
Example:
1.3.6.1.4.1.1.226.0.2.1 trap-var sysUpTime.0

Consolidated Platform Configuration Guide, Cisco IOS Release 15.2(4)E (Catalyst 2960-X Switches)

How to Write EEM Policies Using the Cisco IOS CLI
Purpose
Specifies the instance of a managed object and its value.
• In this example, the sysDescr.0 variable is used.
Generates an SNMP trap when the EEM applet is
triggered.
• In this example, the authenticationFailure trap is
generated.
Note
The specific trap number refers to the
enterprise-specific trap, which is generated
when an enterprise event occurs. If the generic
trap number is not set to 6, the specific trap
number you specify will be used to generate
traps.
1731

Advertisement

Table of Contents
loading

Table of Contents