Request Snmp Spoof-Trap - Juniper JUNOS OS 10.4 - FOR EX REV 1 Manual

For ex series ethernet switches
Table of Contents

Advertisement

request snmp spoof-trap

Syntax
Release Information
Description
Options
Required Privilege
Level
List of Sample Output
request snmp
request snmp
spoof-trap (with
spoof-trap (with
Variable Bindings)
Variable Bindings)
request snmp
spoof-trap (Illegal
Trap Name)
Copyright © 2010, Juniper Networks, Inc.
request snmp spoof-trap
<trap> variable-bindings <object> <instance> <value>
Command introduced in Junos OS Release 8.2.
Command introduced in Junos OS Release 9.0 for EX Series switches.
Spoof (mimic) the behavior of a Simple Network Management Protocol (SNMP) trap.
<trap>
—Name of the trap to spoof.
variable-bindings <object> <instance> <value>
include in the trap. Each variable binding is specified as an object name, the object
instance, and the value (for example,
bindings in quotation marks (" ") and use a comma to separate each object name,
instance, and value definition (for example,
ifAdminStatus[14] = 1, ifOperStatus[14] = 2"
that do not have instances and values specified as part of the command are included
in the trap and spoofed with automatically generated instances and values.
—A dummy trap name to display the list of available traps.
<dummy name>
Question mark ( ? )
—Question mark
request
request snmp spoof-trap (with Variable Bindings) on page 3967
request snmp spoof-trap (Illegal Trap Name) on page 3967
request snmp spoof-trap (Question Mark ?) on page 3971
user@host> request snmp spoof-trap linkUp variable-bindings "ifIndex[14] = 14, ifAdminStatus[14]
= 1, ifOperStatus[14] = 2"
Spoof trap request result: trap sent successfully
user@host> request snmp spoof-trap xx
Spoof trap request result: trap not found
Allowed Traps:
adslAtucInitFailureTrap
adslAtucPerfESsThreshTrap
adslAtucPerfLofsThreshTrap
adslAtucPerfLolsThreshTrap
adslAtucPerfLossThreshTrap
adslAtucPerfLprsThreshTrap
adslAtucRateChangeTrap
adslAturPerfESsThreshTrap
adslAturPerfLofsThreshTrap
adslAturPerfLossThreshTrap
adslAturPerfLprsThreshTrap
adslAturRateChangeTrap
apsEventChannelMismatch
apsEventFEPLF
—(Optional) List of variables and values to
ifIndex[14] = 14
). Enclose the list of variable
variable-bindings "ifIndex[14] = 14,
). Objects included in the trap definition
?
to display possible completions.
Chapter 140: SNMP
3967

Advertisement

Table of Contents
loading

This manual is also suitable for:

Junos os 10.4

Table of Contents