QuestionQ159

Automation

Question Image

Refer to the exhibit. Which command must be added to the line starting with the file keyword so that the generated running-config file is named fusion-config_ followed by the current date?

  • A str.('fusion-config_') + date
  • B ('fusion-config_') + date
  • C ('fusion-config_ + date')
  • D string(('fusion-config_') + date
Explanation

date contains the current date as a string. Concatenating the fusion-config_ string literal with date using + produces the required filename; parentheses around the literal do not change its value.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!