所以我只需在两个 Cisco 催化剂交换机之间建立 LACP。
配置片段如下:
[3550 交换机 - 端口 22 和 23 连接到 2950,端口 24 连接到路由器]
interface Port-channel1
switchport access vlan 50
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface FastEthernet0/22
switchport trunk encapsulation dot1q
switchport mode trunk
channel-group 1 mode passive
spanning-tree portfast
!
interface FastEthernet0/23
switchport trunk encapsulation dot1q
switchport mode trunk
channel-group 1 mode passive
spanning-tree portfast
!
interface FastEthernet0/24
switchport access vlan 50
switchport trunk encapsulation dot1q
switchport mode trunk
switchport voice vlan 10
spanning-tree portfast
!
interface GigabitEthernet0/1
switchport mode dynamic desirable
!
interface GigabitEthernet0/2
switchport mode dynamic desirable
!
interface Vlan1
no ip address
!
interface Vlan50
ip address 10.10.10.12 255.255.255.0
!
ip default-gateway 10.10.10.5
[2950 交换机 - 端口 23 和 24 连接至 3550]
interface Port-channel1
switchport access vlan 50
switchport mode trunk
flowcontrol send off
!
interface FastEthernet0/23
switchport access vlan 50
switchport mode trunk
channel-group 1 mode active
spanning-tree portfast
!
interface FastEthernet0/24
switchport mode trunk
channel-group 1 mode active
spanning-tree portfast
!
interface Vlan1
no ip address
no ip route-cache
shutdown
!
interface Vlan50
ip address 10.10.10.6 255.255.255.0
no ip route-cache
!
ip default-gateway 10.10.10.5
现在我做了一些基本的“show inter trunk”和“show cdp neighbour”等来验证。但是有没有更好/更可靠的方法来确保这两个链路聚合并增强两个交换机之间的带宽?我想知道“flowcontrol”是否会造成麻烦?
谢谢。
答案1
显示以太通道 [通道组] 详细信息
显示接口端口通道[通道组]
显示 lacp [通道组] 计数器内部邻居
答案2
show etherchannel summary
列出所有通道及其相关接口
show int po##
如上所述,显示了端口通道接口的统计信息,还列出了物理成员接口