- 积分
- 110
- 鸿鹄币
- 个
- 好评度
- 点
- 精华
- 注册时间
- 2015-11-18
- 最后登录
- 1970-1-1
- 阅读权限
- 20
- 听众
- 收听
助理工程师
|
3鸿鹄币
本帖最后由 gallonli 于 2018-12-1 10:52 编辑
配置如下,感觉配置应该没问题啊,但是port channel没有成功,switchA的配置一样就不帖了(只是模式是active),好像关键是在port-channel下配完swi mode tru之后,跳了这么一条log“%EC-5-CANNOT_BUNDLE2: Fa0/3 is not compatible with Po1 and will be suspended (dtp mode of Fa0/3 is on, Po1is off )
%EC-5-CANNOT_BUNDLE2: Fa0/4 is not compatible with Po1 and will be suspended (dtp mode of Fa0/4 is on, Po1is off )”
网上查说是因为fa0/3的mode和port-channel的mode不一样导致的,但是看配置可以看出来端口和port-channel我都配了啊,是什么问题导致port-channel没建起来呢,是模拟器的问题吗?
!
interface Port-channel 1
switchport trunk native vlan 99
switchport trunk allowed vlan 1,21-23
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface FastEthernet0/1
!
interface FastEthernet0/2
!
interface FastEthernet0/3
switchport trunk native vlan 99
switchport trunk allowed vlan 1,21-23
switchport trunk encapsulation dot1q
switchport mode trunk
channel-protocol lacp
channel-group 1 mode passive
!
interface FastEthernet0/4
switchport trunk native vlan 99
switchport trunk allowed vlan 1,21-23
switchport trunk encapsulation dot1q
switchport mode trunk
channel-protocol lacp
channel-group 1 mode passive
=======================================
SwitchB#show etherchannel summary
Flags: D - down P - in port-channel
I - stand-alone s - suspended
H - Hot-standby (LACP only)
R - Layer3 S - Layer2
U - in use f - failed to allocate aggregator
u - unsuitable for bundling
w - waiting to be aggregated
d - default port
Number of channel-groups in use: 1
Number of aggregators: 1
Group Port-channel Protocol Ports
------+-------------+-----------+----------------------------------------------
1 Po1(SD) LACP Fa0/3(I) Fa0/4(I)
|
最佳答案
查看完整内容
把接口shutdown然后敲switchport nonegotiate把DTP关掉试试看
|