レス
元トピ
タイトル
Re: 問題 20141
フォーラム
最強WEB問題集CCNP TSHOOT
投稿ユーザ(投稿日)
(2018/5/10)
本文
おっしゃっているのはこういう構成のことですか?
※手元の環境でざっくり作ったのでポート番号や何かが問題と違いますが、ご容赦を

ASW
[code]
interface Port-channel12
switchport trunk allowed vlan 1,10,200
switchport trunk encapsulation dot1q
switchport mode trunk
interface GigabitEthernet0/1
switchport trunk allowed vlan 1,10,200
switchport trunk encapsulation dot1q
switchport mode trunk
channel-group 12 mode desirable
interface GigabitEthernet0/2
switchport trunk allowed vlan 1,10,200
switchport trunk encapsulation dot1q
switchport mode trunk
channel-group 12 mode desirable
[/code]
DSW
[code]
interface Port-channel34
switchport trunk allowed vlan 2,20,400
switchport trunk encapsulation dot1q
switchport mode trunk
interface GigabitEthernet0/1
switchport trunk allowed vlan 2,20,400
switchport trunk encapsulation dot1q
switchport mode trunk
channel-group 34 mode desirable
interface GigabitEthernet0/2
switchport trunk allowed vlan 2,20,400
switchport trunk encapsulation dot1q
switchport mode trunk
channel-group 34 mode desirable
[/code]
この場合は問題なくEtherChannelが形成されます。

ちなみに、上記のASWで以下の設定を行うとEtherChannelは正しく形成されなくなります。
[code]
ASW#conf t
Enter configuration commands, one per line. End with CNTL/Z.
ASW(config)#int g0/2
ASW(config-if)#switchport trunk allowed vlan 2,20,400
ASW(config-if)#end
ASW#
*May 11 02:22:10.539: %EC-5-CANNOT_BUNDLE2: Gi0/2 is not compatible with Gi0/1 and will be suspended (vlan mask is different)
ASW#show etherchannel summary | b Group
Group Port-channel Protocol Ports
------+-------------+-----------+-----------------------------------------------
12 Po12(SU) PAgP Gi0/1(P) Gi0/2(s)
[/code]
もしかしてこういう状態と混同されてますかね?

EtherChannelの形成にAllowed VLANが関係するのは「同じEtherChannelのメンバーポート」であって「対向のEtherChannel」とではありません。
EtherChannel(というかPort-Channelインターフェース)の対向でAllowed VLANが不一致だったらup/upにならないということであれば、単一のtrunkポート(たとえばFastEthernet0/1同士)で互いのAllowed VLAN設定が違うとup/downとかなるのか?って話になると思うのですが、そんなことないですよね? (^^;

レス一覧

元トピ


Ping-tモバイルTOP

Copyright (c) 2010
Ping-t All rights reserved.