# agent context-name

#### Syntax

agent context-name contextName [ wildcard ] [ limit contextNameLimit ]

no agent

#### Release Information

Command introduced before JunosE Release 7.1.0.

#### Description

Specifies the virtual router SNMP agent on which you want to poll MIB objects. The no version returns the context name to the default context (virtual router).

#### Options

- contextName—Context name of the agent

| Note: 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.

- wildcard—Specifies that the context name is a wildcard value
- contextNameLimit—Maximum number of agents to be polled

#### Mode

SNMP Trigger Configuration