問題
WANの両端はR1のGi0/0(10.0.0.253/30)とISP側のGi0/1(10.0.0.254/30)である。10.0.0.252/30の最後の利用可能アドレスを持つポートだけでCDPを停止したい。対象装置のグローバル設定モードから入力するコマンドの組はどれか。
- A
interface gi0/1 no cdp enable - B
interface gi0/0 no cdp run - C
interface gi0/0 no cdp advertise-v2 - 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 runGi0/0は.253側であり、この指定は装置全体に適用される。
- C.
interface gi0/0 no cdp advertise-v2 Version2の広告を止める全体設定である。
- D.
interface gi0/1 clear cdp table clear cdp table情報表を消去する。