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:

Related Documentation