4.
Specify the agent on which the object resides.
host1(config-mgmtevent-trigger)#
agent context-name router1
You can obtain the agent context name for a virtual router from the
show snmp agent
command. The agent context name is independent of the virtual router name.
5.
Enable the trigger.
host1(config-mgmtevent-trigger)#
enable
Once enabled, you cannot edit an event or trigger configuration. To change an enabled
event or trigger, you must delete it and re-create it.
agent context-name
•
Use to specify the virtual router SNMP agent on which you want to poll MIB objects.
•
The default is the current context (virtual router).
•
The
contextName
value is the virtual router number in the order the virtual router was
created (for example, router1, router2, and so on). Use the
show snmp agent
command
to obtain the context name for the virtual router.
•
Use the
wildcard
keyword to specify that the context name is a wildcard value.
NOTE:
Use caution when assigning wildcards. Wildcards can rapidly use
up trigger resources.
•
Use the
limit
keyword to specify the maximum number of agents to be polled.
•
Example 1
host1(config-mgmtevent-trigger)#
agent context-name router1 wildcard
•
Example 2
host1(config-mgmtevent-trigger)#
agent context-name router1 wildcard limit 15
NOTE:
SNMP server security defaults to no access. When using a separate
virtual router, you must use the
snmp-server security
command and provide
read or read-write access to other virtual routers.
•
Use the
no
version to return to the default context (virtual router).
•
See agent context-name.
boolean-test
•
Use to define Boolean test values for the trigger that you are configuring, including
comparison settings, a Boolean value, a startup condition, and binding an event to the
Boolean-test trigger.
•
Example 1—Specifying a comparison setting
173
Copyright © 2010, Juniper Networks, Inc.
Chapter 4: Configuring SNMP
Summary of Contents for JUNOSE 11.3
Page 6: ...Copyright 2010 Juniper Networks Inc vi...
Page 8: ...Copyright 2010 Juniper Networks Inc viii JunosE 11 3 x System Basics Configuration Guide...
Page 24: ...Copyright 2010 Juniper Networks Inc xxiv JunosE 11 3 x System Basics Configuration Guide...
Page 32: ...Copyright 2010 Juniper Networks Inc 2 JunosE 11 3 x System Basics Configuration Guide...
Page 146: ...Copyright 2010 Juniper Networks Inc 116 JunosE 11 3 x System Basics Configuration Guide...
Page 166: ...Copyright 2010 Juniper Networks Inc 136 JunosE 11 3 x System Basics Configuration Guide...
Page 432: ...Copyright 2010 Juniper Networks Inc 402 JunosE 11 3 x System Basics Configuration Guide...
Page 488: ...Copyright 2010 Juniper Networks Inc 458 JunosE 11 3 x System Basics Configuration Guide...
Page 524: ...Copyright 2010 Juniper Networks Inc 494 JunosE 11 3 x System Basics Configuration Guide...
Page 554: ...Copyright 2010 Juniper Networks Inc 524 JunosE 11 3 x System Basics Configuration Guide...
Page 566: ...Copyright 2010 Juniper Networks Inc 536 JunosE 11 3 x System Basics Configuration Guide...
Page 588: ...Copyright 2010 Juniper Networks Inc 558 JunosE 11 3 x System Basics Configuration Guide...
Page 613: ...PART 3 Index Index on page 585 583 Copyright 2010 Juniper Networks Inc...
Page 614: ...Copyright 2010 Juniper Networks Inc 584 JunosE 11 3 x System Basics Configuration Guide...
Page 632: ...Copyright 2010 Juniper Networks Inc 602 JunosE 11 3 x System Basics Configuration Guide...