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

[direction {incoming|outgoing}]
[msg_op {drop|send}]
Arguments
tag
oid
oid_val
op
maxrun
src_ip_address
dest_ip_address

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

event_register_snmp_notification
(Optional) String identifying a tag that can be used
with the trigger Tcl command extension to support
multiple event statements within a Tcl script.
(Mandatory) OID number of the data element in
SNMP dot notation (for example, 1.3.6.1.2.1.2.1.0).
If the specified OID ends with a dot (.), then all OIDs
that start with the OID number before the dot are
matched. The types of OIDs allowed are:
• COUNTER_TYPE
• COUNTER_64_TYPE
• GAUGE_TYPE
• INTEGER_TYPE
• OCTET_PRIM_TYPE
• OPAQUE_PRIM_TYPE
• TIME_TICKS_TYPE
(Mandatory) OID value with which the current OID
data value should be compared to decide if the SNMP
event should be raised.
(Mandatory) Comparison operator used to compare
the current OID data value with the SNMP Protocol
Data Unit (PDU) OID data value; if this is true, an
event is raised.
(Optional) Maximum run time of the script (specified
in ssssssss[.mmm] format, where ssssssss must be an
integer representing seconds between 0 and 31536000,
inclusive, and where mmm must be an integer
representing milliseconds between 0 and 999). If this
argument is not specified, the default 20-second
run-time limit is used.
(Optional) Source IP address where the SNMP
notification trap originates. The default is all; it is set
to receive SNMP notification traps from all IP
addresses.
(Optional) Destination IP address where the SNMP
notification trap is sent. The default is all; it is set to
receive SNMP traps from all destination IP addresses.
1939

Advertisement

Table of Contents
loading

Table of Contents