condition trap trap_name
no condition trap trap_name
condition variable-binding index value
no condition variable-binding index value
condition version [ 1 | 2c | 3 ]
no condition version [ 1 | 2c | 3 ]
Example
This example shows how to create a trap filter which will only allow traps with agent address-
es matching 10.1.10.*.
ZoneRanger 5.5 User's Guide
specific
type
no
condition
trap
trap_name
no
condition
variable-binding
index
value
no
condition
trap
1
2c
3
no
zr# trap-filter agentfilter
zr(trap-filter)# condition agent 10.1.10.*
zr(trap-filter)# exit
Specify specific trap condition
Specific trap type to match against trap type
Deletes this condition
Adds a filtering condition.
Specify trap condition
Specific trap name to match against trap
Deletes this condition
Adds a filtering condition.
Specify variable-binding condition
Specific variable binding index to use to match against
trap. Starts with 1.
Value of variable binding to use to match against trap.
Deletes this condition
Adds a filtering condition.
Specify version condition
Specific SNMP v1 to match against trap
Specific SNMP v2c to match against trap
Specific SNMP v3 to match against trap
Deletes this condition
289