問題 ccnp-350-601-topic-1-question-426・第2版

問題

Cisco Nexusで、設定のバックアップを1日2回実行し、operations VRF内のサーバーへ転送する。必要なjob定義とscheduleを含む構成はどれか。

  1. A 
    scheduler schedule name CNFGBACKUP
      job name BACKUP-JOB
        copy vrf operations config tftp://10.19.11.12/$(SWITCHNAME)-$(TIMESTAMP).cfg
        time start 12:30 repeat 12
    
  2. B 
    scheduler schedule name CNFGBACKUP
      job name BACKUP-JOB
        copy running-config tftp://10.19.11.12/$(SWITCHNAME)-$(TIMESTAMP).cfg vrf operations
        time start now repeat 12:00
    
  3. C 
    scheduler schedule name CNFGBACKUP
      job name BACKUP-JOB
        show tech-support | redirect vrf operations tftp://10.19.11.12/$(SWITCHNAME)-$(TIMESTAMP).cfg
        time start daily 12:30 0:30
    
  4. D 
    scheduler schedule name CNFGBACKUP
      job name BACKUP-JOB
        copy startup-config tftp://10.19.11.12/$(SWITCHNAME)-$(TIMESTAMP).cfg
        time daily 12:30 0:30
    
  5. E 
    configure terminal
    feature scheduler
    scheduler job name BACKUP-JOB
      copy running-config tftp://10.19.11.12/$(SWITCHNAME)-$(TIMESTAMP).cfg vrf operations
    exit
    scheduler schedule name CNFGBACKUP
      job name BACKUP-JOB
      time start now repeat 12:00
    end
    

正解:E

理由

実行するcopyコマンドはscheduler jobの中で定義し、scheduler scheduleにはjob名と実行時刻を指定する。Eはoperations VRFで稼働設定を転送するjobを作り、12時間間隔で実行するscheduleへ関連付けている。

選択肢ごとの説明

A.
scheduler schedule name CNFGBACKUP
  job name BACKUP-JOB
    copy vrf operations config tftp://10.19.11.12/$(SWITCHNAME)-$(TIMESTAMP).cfg
    time start 12:30 repeat 12

copyのVRF指定の位置とコマンドが設定バックアップの構文に合わず、実行するscheduler jobの定義も含まれていない。repeat 12は12時間指定にはならない。

B.
scheduler schedule name CNFGBACKUP
  job name BACKUP-JOB
    copy running-config tftp://10.19.11.12/$(SWITCHNAME)-$(TIMESTAMP).cfg vrf operations
    time start now repeat 12:00

VRFと12時間の間隔は要求に対応するが、scheduler scheduleの中にcopyを直接記述している。実行するコマンド列を定義するscheduler jobがないため、これだけでは完結しない。

C.
scheduler schedule name CNFGBACKUP
  job name BACKUP-JOB
    show tech-support | redirect vrf operations tftp://10.19.11.12/$(SWITCHNAME)-$(TIMESTAMP).cfg
    time start daily 12:30 0:30

show tech-supportは稼働設定のバックアップではない。独立したjob定義もなく、time start daily 12:30 0:30はこのscheduleの時刻指定構文に合わない。

D.
scheduler schedule name CNFGBACKUP
  job name BACKUP-JOB
    copy startup-config tftp://10.19.11.12/$(SWITCHNAME)-$(TIMESTAMP).cfg
    time daily 12:30 0:30

operations VRFを指定せず、実行するjobも定義していない。time dailyは一つの時刻を指定する構文であり、12:30 0:30と二つ並べる指定ではない。

E.
configure terminal
feature scheduler
scheduler job name BACKUP-JOB
  copy running-config tftp://10.19.11.12/$(SWITCHNAME)-$(TIMESTAMP).cfg vrf operations
exit
scheduler schedule name CNFGBACKUP
  job name BACKUP-JOB
  time start now repeat 12:00
end

scheduler jobにcopyを定義し、scheduleでそのjob名を参照する。copyのvrf operationsとtime start now repeat 12:00により、要求のVRFと1日2回の実行間隔を指定している。

参考資料

お問い合わせ

演習する →