問題 ccna-200-301-topic-1-question-1260-v-0acdca0e・第5版

問題

WANの両端はR1のGi0/0(10.0.0.253/30)とISP側のGi0/1(10.0.0.254/30)である。10.0.0.252/30の最後の利用可能アドレスを持つポートだけでCDPを停止したい。対象装置のグローバル設定モードから入力するコマンドの組はどれか。

  1. A 
    interface gi0/1
    no cdp enable
    
  2. B 
    interface gi0/0
    no cdp run
    
  3. C 
    interface gi0/0
    no cdp advertise-v2
    
  4. D 
    interface gi0/1
    clear cdp table
    

正解:A

理由

10.0.0.252/30は.252〜.255で、利用可能なホストは.253と.254である。

no cdp enable

最後の.254を持つGi0/1へ入り、この指定でそのポートだけのCDPを停止する。

選択肢ごとの説明

A.
interface gi0/1
no cdp enable
no cdp enable

最後のホスト10.0.0.254はGi0/1にあり、この指定がポート単位のCDP停止を指定する。

B.
interface gi0/0
no cdp run
no cdp run

Gi0/0は.253側であり、この指定は装置全体に適用される。

C.
interface gi0/0
no cdp advertise-v2

Version2の広告を止める全体設定である。

D.
interface gi0/1
clear cdp table
clear cdp table

情報表を消去する。

関連する解説

隣接情報の通知とTLV
お問い合わせ

演習する →