問題 ccnp-350-401-topic-1-question-111-v-d72bef36・第3版

問題

SwitchCはHRとSalesをCoreスイッチへ接続する。Core側のトランクはPort-channel1で、全VLANが許可されており、SwitchCはVTP transparentモードである。FinanceのVLAN110のトラフィックをSwitchCへ通さないためのコマンドはどれか。

  1. A 
    SwitchC(config)#vtp pruning vlan 110
    
  2. B 
    SwitchC(config)#vtp pruning
    
  3. C 
    SwitchC(config)#interface port-channel 1
    SwitchC(config-if)#switchport trunk allowed vlan add 210,310
    
  4. D 
    SwitchC(config)#interface port-channel 1
    SwitchC(config-if)#switchport trunk allowed vlan remove 110
    

正解:D

理由

Port-channel1の許可VLANから110を除く。add 210,310は既存の許可リストへ追加する操作なので、許可済みの110を除外しない。VTP pruningは特定VLANの全トラフィックを固定的に禁止する操作ではない。

選択肢ごとの説明

A.
SwitchC(config)#vtp pruning vlan 110

vtp pruningのグローバル設定へ、この構文でVLAN番号を付けることはできない。

B.
SwitchC(config)#vtp pruning

transparentモードのSwitchCへVTP pruningを有効にする対処は適さない。pruningも全通信の禁止とは異なる。

C.
SwitchC(config)#interface port-channel 1
SwitchC(config-if)#switchport trunk allowed vlan add 210,310

許可リストへ210,310を追加しても、すでに許可されている110は残る。

D.
SwitchC(config)#interface port-channel 1
SwitchC(config-if)#switchport trunk allowed vlan remove 110

Core側のトランクPort-channel1からFinanceのVLAN110を除外する。

お問い合わせ

演習する →