問題
LondonとNewYork間の通信が停止している。London側のポートはTrunkモードで、Encapsulationは802.1Q、DTPは有効である。NewYorkのF0/1には次の状態が表示される。解消に必要なコマンドはどれか。
TOS/TAS/TNS: ACCESS/AUTO/ACCESS
TOT/TAT/TNT: NATIVE/ISL/NATIVE
- A
NewYork(config)#interface f0/1 NewYork(config-if)#switchport nonegotiate NewYork(config-if)#end NewYork# - B
NewYork(config)#interface f0/1 NewYork(config-if)#switchport mode trunk NewYork(config-if)#end NewYork# - C
NewYork(config)#interface f0/1 NewYork(config-if)#switchport trunk encap dot1q NewYork(config-if)#end NewYork# - D
NewYork(config)#interface f0/1 NewYork(config-if)#switchport mode dynamic desirable NewYork(config-if)#end NewYork#
正解:C
理由
NewYorkはDynamic Autoで、相手がTrunkなら交渉できる。表示のTATがISLなので、相手の802.1QへEncapsulationを合わせる。
選択肢ごとの説明
- A.
NewYork(config)#interface f0/1 NewYork(config-if)#switchport nonegotiate NewYork(config-if)#end NewYork# DTPを停止する設定であり、EncapsulationのISL固定を802.1Qへ変更しない。
- B.
NewYork(config)#interface f0/1 NewYork(config-if)#switchport mode trunk NewYork(config-if)#end NewYork# Trunkへ固定しても、ISLと相手の802.1Qの不一致が残る。
- C.
NewYork(config)#interface f0/1 NewYork(config-if)#switchport trunk encap dot1q NewYork(config-if)#end NewYork# NewYorkのEncapsulationを802.1Qへ変更する。相手がTrunkでDTPが有効なため、NewYorkのAutoでもTrunkを形成できる。
- D.
NewYork(config)#interface f0/1 NewYork(config-if)#switchport mode dynamic desirable NewYork(config-if)#end NewYork# DesirableはDTPの交渉を開始するが、ISLへ固定したEncapsulationの不一致は残る。