Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Configuring the Virtual Router SNMP Agent on Which MIB Objects Are to Be Polled

    You can use the agent context-name command 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). You can use the show snmp agent command to obtain the context name for the virtual router.

    You can 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.

    You can use the limit keyword to specify the maximum number of agents to be polled.

    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.

    To specify the virtual router SNMP agent on which you want to poll MIB objects:

    • Execute the agent context-name command in SNMP Trigger Configuration mode.
      host1(config-mgmtevent-trigger)#agent context-name router1 wildcard

      or

      host1(config-mgmtevent-trigger)#agent context-name router1 wildcard limit 15

      Use the no version to return to the default context (virtual router).

    Published: 2014-08-12