首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >重新启动数据包跟踪器后的EtherChannel端口独立

重新启动数据包跟踪器后的EtherChannel端口独立
EN

Network Engineering用户
提问于 2021-12-29 11:10:21
回答 1查看 274关注 0票数 3

我有两个L3交换机(思科3560),no switcport端口连接到L2交换机(Cisco2960)。它曾经正常工作,但是当我保存和重新启动Packet时--所有端口都进入了独立模式。这是端口的配置:

Vlan-40-Main (L3):

代码语言:javascript
复制
interface Port-channel5
 no switchport
 ip address 192.168.100.7 255.255.255.0
!
interface FastEthernet0/1
 no switchport
 no ip address
 channel-group 5 mode active
 duplex auto
 speed auto
!
interface FastEthernet0/2
 no switchport
 no ip address
 channel-group 5 mode active
 duplex auto
 speed auto
!

Vlan-30-Main (L3):

代码语言:javascript
复制
interface Port-channel6
 no switchport
 ip address 192.168.100.6 255.255.255.0
!
interface FastEthernet0/1
 no switchport
 no ip address
 channel-group 6 mode active
 duplex auto
 speed auto
!
interface FastEthernet0/2
 no switchport
 no ip address
 channel-group 6 mode active
 duplex auto
 speed auto
!

上层-Trunk2 2 (L2):

代码语言:javascript
复制
interface Port-channel1
 switchport mode trunk

interface Port-channel2
 switchport mode trunk
代码语言:javascript
复制
Group  Port-channel  Protocol    Ports
------+-------------+-----------+----------------------------------------------

1      Po1(SD)           LACP   Fa0/1(I) Fa0/2(I) 
2      Po2(SD)           LACP   Fa0/3(I) Fa0/4(I) 
3      Po3(SU)           LACP   Fa0/5(P) Fa0/6(P) 
EN

回答 1

Network Engineering用户

回答已采纳

发布于 2021-12-29 15:09:50

您不能将第三层通道连接到第二层主干通道,因为第三层通道只能处理本机VLAN,除非为其创建子接口。请记住,交换机上的第三层接口基本上与路由器接口相同.

你需要这样的东西:

代码语言:javascript
复制
interface Port-channel5
 description Native VLAN
 no switchport
 encapsulation dot1Q <VLAN Number N> native
 ip address 192.168.100.7 255.255.255.0
!
interface Port-channel5.<VLAN Number X>
 description VLAN <VLAN Number X>
 encapsulation dot1Q <VLAN Number X>
 ip address <VLAN X IP address> <VLAN X Mask>
!
interface Port-channel5.<VLAN Number Y>
 description <VLAN Number Y>
 encapsulation dot1Q <VLAN Number Y>
 ip address <VLAN Y IP address> <VLAN Y Mask>
!
interface FastEthernet0/1
 no switchport
 no ip address
 channel-group 5 mode active
!
interface FastEthernet0/2
 no switchport
 no ip address
 channel-group 5 mode active
!
票数 3
EN
页面原文内容由Network Engineering提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://networkengineering.stackexchange.com/questions/77450

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档