問題
SW1とSW2をGi0/1・Gi0/2で接続し、PCのVLAN108・77・14・6と音声VLAN109をトランクで運ぶ。VLAN間のルーティングなど、ほかの疎通条件は設定済みである。業界標準プロトコルで動的にEtherChannelを形成する設定はどれか。
- A
! SW1 configure terminal interface Gi0/1 switchport switchport mode access channel-group 1 mode active ! interface Gi0/2 switchport switchport mode access channel-group 1 mode active end ! SW2 configure terminal interface Gi0/1 switchport switchport mode access channel-group 1 mode desirable ! interface Gi0/2 switchport switchport mode access channel-group 1 mode desirable end - B
! SW1 configure terminal interface Gi0/1 switchport switchport mode trunk channel-group 1 mode on ! interface Gi0/2 switchport switchport mode trunk channel-group 1 mode auto end ! SW2 configure terminal interface Gi0/1 switchport switchport mode trunk channel-group 1 mode auto ! interface Gi0/2 switchport switchport mode trunk channel-group 1 mode on interface port-channel 1 switchport switchport mode trunk end - C
! SW1 configure terminal interface Gi0/1 switchport switchport mode trunk channel-group 1 mode active ! interface Gi0/2 switchport switchport mode trunk channel-group 1 mode active end ! SW2 configure terminal interface Gi0/1 switchport switchport mode trunk channel-group 1 mode passive ! interface Gi0/2 switchport switchport mode trunk channel-group 1 mode passive end - D
! SW1 configure terminal interface Gi0/1 switchport switchport mode trunk channel-group 1 mode auto ! interface Gi0/2 switchport switchport mode trunk channel-group 1 mode auto end ! SW2 configure terminal interface Gi0/1 switchport switchport mode trunk channel-group 1 mode desirable ! interface Gi0/2 switchport switchport mode trunk channel-group 1 mode desirable end
正解:C
理由
LACPはactiveが交渉を始め、passiveが応答するためactive/passiveで集約できる。PAgPのauto/desirableは別の方式であり、onは動的交渉を行わない。複数のVLANはトランクで運び、物理メンバーと論理ポートチャネルの条件を合わせる。
選択肢ごとの説明
- A.
! SW1 configure terminal interface Gi0/1 switchport switchport mode access channel-group 1 mode active ! interface Gi0/2 switchport switchport mode access channel-group 1 mode active end ! SW2 configure terminal interface Gi0/1 switchport switchport mode access channel-group 1 mode desirable ! interface Gi0/2 switchport switchport mode access channel-group 1 mode desirable end SW1はLACP active、SW2はPAgP desirableで交渉方式が異なる。またaccessポートでは複数のデータVLANをまとめて運べない。
- B.
! SW1 configure terminal interface Gi0/1 switchport switchport mode trunk channel-group 1 mode on ! interface Gi0/2 switchport switchport mode trunk channel-group 1 mode auto end ! SW2 configure terminal interface Gi0/1 switchport switchport mode trunk channel-group 1 mode auto ! interface Gi0/2 switchport switchport mode trunk channel-group 1 mode on interface port-channel 1 switchport switchport mode trunk end 同じ集約のメンバーに静的onとPAgP autoが混在している。標準LACPによる動的集約という要件を満たさない。
- C.
! SW1 configure terminal interface Gi0/1 switchport switchport mode trunk channel-group 1 mode active ! interface Gi0/2 switchport switchport mode trunk channel-group 1 mode active end ! SW2 configure terminal interface Gi0/1 switchport switchport mode trunk channel-group 1 mode passive ! interface Gi0/2 switchport switchport mode trunk channel-group 1 mode passive end SW1のactiveがLACP交渉を始め、SW2のpassiveが応答する。両側trunkにより複数VLANの通信を運べる。
- D.
! SW1 configure terminal interface Gi0/1 switchport switchport mode trunk channel-group 1 mode auto ! interface Gi0/2 switchport switchport mode trunk channel-group 1 mode auto end ! SW2 configure terminal interface Gi0/1 switchport switchport mode trunk channel-group 1 mode desirable ! interface Gi0/2 switchport switchport mode trunk channel-group 1 mode desirable end auto/desirableはCisco独自のPAgPである。動的集約はできても、業界標準LACPという要件と異なる。