問題
NX-OS 10.5(x)のCisco Nexus9000でOSPF認証を設定する。Ethernet1/1はcleartext passwordによる認証、Ethernet1/2はMD5認証を使い、鍵は暗号化済みのtype3形式で指定する。鍵の値は例示値とし、type3形式の鍵を<type3-key>と表す。候補から空欄[1]~[4]へ入れる組を選べ。使用しない候補もある。
① message-digest ② mode ③ message-digest-key
④ authentication-key ⑤ authentication ⑥ key
SW1(config)# router ospf 1
SW1(config-router)# interface ethernet 1/1
SW1(config-if)# ip router ospf 1 area 0.0.0.0
SW1(config-if)# ip ospf [1]
SW1(config-if)# ip ospf [2] 0 LabKey42
SW1(config-if)# exit
SW1(config)# interface ethernet 1/2
SW1(config-if)# ip router ospf 1 area 0.0.0.0
SW1(config-if)# ip ospf authentication [3]
SW1(config-if)# ip ospf [4] 3 md5 3 <type3-key>
- A
[1]⑤ [2]④ [3]① [4]③
- B
[1]⑤ [2]⑥ [3]① [4]③
- C
[1]② [2]④ [3]⑤ [4]③
- D
[1]① [2]③ [3]⑤ [4]④
正解:A
理由
Cleartext認証を有効にするip ospf authenticationと、その鍵を設定するauthentication-keyを組み合わせる。MD5側はauthentication message-digestで有効にし、message-digest-keyでkey ID3と鍵を指定する。md5の後の3は保存済み鍵のtype3形式を表す。MD5認証はOSPFの経路情報を暗号化する機能ではない。
選択肢ごとの説明
- A.
[1]⑤ [2]④ [3]① [4]③
認証modeと対応する鍵設定commandを、cleartext側・MD5側で正しく組み合わせる。
- B.
[1]⑤ [2]⑥ [3]① [4]③
Cleartextの鍵を設定するkeywordはauthentication-keyである。
- C.
[1]② [2]④ [3]⑤ [4]③
ip ospf modeはcleartext認証を有効にするkeywordではなく、authenticationの後へauthenticationを重ねる設定も不正である。
- D.
[1]① [2]③ [3]⑤ [4]④
MD5関連keywordをcleartext側へ割り当て、MD5側の認証modeと鍵設定も逆にしている。