nerdexam
Cisco

350-601 · Question #241

An engineer must use the Embedded Event Manager to monitor events that occur on a cisco Nexus 9000 series switch. An environment variable needs to be created so that several policies use the…

The correct answer is D. N9k2 (config)# event manager environment mallserver `'10.10.10.10''. EEM environment variables are configured in global configuration mode using the 'event manager environment <name> <value>' syntax. Option D is the only choice that is both in config mode (indicated by '(config)#') and uses the correct full command syntax. Option A has incorrect…

Automation

Question

An engineer must use the Embedded Event Manager to monitor events that occur on a cisco Nexus 9000 series switch. An environment variable needs to be created so that several policies use the monitored events in in their actions. The external email server is represented by IP address 10.10.10.10. Which command sets the environment variable?

Options

  • AN9k2(config)# event manager policy environment mallserver `'10.10.10.10''
  • BN9k2# event manager environment mallserver `'10.10.10.10''
  • CN9k2 (config-apple1)# environment mallserver `'10.10.10.10''
  • DN9k2 (config)# event manager environment mallserver `'10.10.10.10''

How the community answered

(35 responses)
  • A
    3% (1)
  • B
    6% (2)
  • C
    3% (1)
  • D
    89% (31)

Explanation

EEM environment variables are configured in global configuration mode using the 'event manager environment <name> <value>' syntax. Option D is the only choice that is both in config mode (indicated by '(config)#') and uses the correct full command syntax. Option A has incorrect syntax with backtick quotes. Option B is entered in privileged EXEC mode (no 'config' prompt), which does not allow environment variable creation. Option C is entered in an applet sub-mode '(config-applet)', which is used to define a specific policy, not a global shared environment variable. Global environment variables must be set at the global config level so all policies can reference them.

Topics

#Cisco Nexus 9000#Embedded Event Manager (EEM)#Environment Variables#Command Syntax

Community Discussion

No community discussion yet for this question.

Full 350-601 Practice