ほぼ全ての機能を新サイトへ移行しました

Re: 問題 20141

この質問の投稿一覧へ

なし Re: 問題 20141

msg# 1.1
depth:
1
前の投稿 - 次の投稿 | 親投稿 - 子投稿なし | 投稿日時 2018-5-11 11:28
arashi1977  長老 居住地: 広島  投稿数: 1715
おっしゃっているのはこういう構成のことですか?
※手元の環境でざっくり作ったのでポート番号や何かが問題と違いますが、ご容赦を

ASW
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
DSW
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
この場合は問題なくEtherChannelが形成されます。

ちなみに、上記のASWで以下の設定を行うとEtherChannelは正しく形成されなくなります。
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)
もしかしてこういう状態と混同されてますかね?

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

投稿ツリー

  >フォーラム検索へ


Copyright (c) 2020 Ping-t All rights reserved.
ログイン
ユーザ名 or E-Mailアドレス:

パスワード:







プレミアムコンテンツ

受験チケット(割引)

Contact

LPI-Japan Logo

LPI Logo