350-601 · Question #441
Refer to the exhibit. Which command needs to be added to the line starting with the file keyword to have the generated running-config file with the name 'fusion-config_' and current date?
The correct answer is B. ('fusion-config_') + date. See below for an example: Python 2.7.11 (default, Feb 26 2018, 03:34:16) [GCC 4.6.3] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> date = time.strftime('%Y%m%d') >>> file = ("fusion-config_') + date fusion-config_20210329 >>> print('copy…
Question
Refer to the exhibit. Which command needs to be added to the line starting with the file keyword to have the generated running-config file with the name 'fusion-config_' and current date?
Exhibit
Options
- Astr.('fusion-config_') + date
- B('fusion-config_') + date
- C('fusion-config_ + date')
- Dstring(('fusion-config_') + date
How the community answered
(49 responses)- A8% (4)
- B86% (42)
- C4% (2)
- D2% (1)
Explanation
See below for an example: Python 2.7.11 (default, Feb 26 2018, 03:34:16) [GCC 4.6.3] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> date = time.strftime('%Y%m%d') >>> file = ("fusion-config_') + date fusion-config_20210329 >>> print('copy running-config ftp://10.183.249.182/FusionSW/' + file) copy running-config ftp://10.183.249.182/FusionSW/fusion-config_20210329
Topics
Community Discussion
No community discussion yet for this question.
