链路聚合LACP 配置和结果验证(51cti实验11)

1.
实验线路连接图
使用Cisco
Packet Tracer6.0 构建拓扑结构图。


2.
实验内容
(1)
按图配置各台计算机IP 地址。
(2)
参阅教材中内容,完成链路聚合的配置内容,配置要求如图9.14 所示。在各台交换机上使用show
running-config
和show etherchannel summary 查看链路聚合的配置情况,并使用Ping 指令测试各台计算
机之间的连通性。

SWA


Switch>enable
Switch#configure terminal
SA(config)#int range f0/1-2
SA(config-if-range)#channel-protocol ?
lacp Prepare interface for LACP protocol
pagp Prepare interface for PAgP protocol
SA(config-if-range)#channel-protocol lacp
SA(config-if-range)#channel-group 1 mode active
SA(config-if-range)#
Creating a port-channel interface Port-channel 1
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to down
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed state to down
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed state to up
SA(config-if-range)#
SA con0 is now available
Press RETURN to get started.
%LINK-5-CHANGED: Interface Port-channel 1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Port-channel 1, changed state to up
SA#conf t
SA(config)#vlan 10
SA(config-vlan)#vlan 20
SA(config-vlan)#exit
SA(config)#interface FastEthernet0/3
SA(config-if)#switchport access vlan 10
SA(config)#interface FastEthernet0/4
SA(config-if)#switchport access vlan 20
SA(config-if)#exit
SA(config)#interface port-channel 1
SA(config-if)#switchport mode trunk
Command rejected: An interface whose trunk encapsulation is "Auto" can not be configured to "trunk" mode.
SA(config-if)#switchport trunk encapsulation dot1q
SA(config-if)#switchport mode trunk
SA(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Port-channel 1, changed state to down
%LINEPROTO-5-UPDOWN: Line protocol on Interface Port-channel 1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to down
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed state to down
%LINK-5-CHANGED: Interface Port-channel 1, changed state to down
%LINEPROTO-5-UPDOWN: Line protocol on Interface Port-channel 1, changed state to down
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed state to up
%LINK-5-CHANGED: Interface Port-channel 1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Port-channel 1, changed state to up
SA(config-if)#
SA#
%SYS-5-CONFIG_I: Configured from console by console

SWB


Switch>enable
Switch#configure terminal
Switch(config)#hostname SB
SB(config)#int range f0/23-24
SB(config-if-range)#channel-protocol lacp
SB(config-if-range)#channel-group 1 mode active
SB(config-if-range)#

SB(config)#vlan 10
SB(config-vlan)#vlan 20
SB(config-vlan)#exit
SB(config)#interface FastEthernet0/1
SB(config-if)#switchport access vlan 10
SB(config)#interface FastEthernet0/2
SB(config-if)#switchport access vlan 20

SB(config)#interface port-channel 1
SB(config-if)#switchport trunk encapsulation dot1q
SB(config-if)#switchport mode trunk

3.
实验要求
掌握链路聚合的概念以及链路聚合的配置过程,理解channel
group 和port-channel
(1)
结果分析
PAgP(Port
Aggregation Protocol,端口汇集协议) Cisco 专有协议
LACP(Link
Aggregation Control Protocol,链路汇集控制协议) IEEE 标准
交换机A
的1 口、2 口做成了channel-group 1,通道组1
交换机B
的23 口、24 口做成了channel-group 1,通道组1
两台交换机之间的channel-group
相互协商,按照lacp 协议协商,如果协商成功之
后,就会产生port-channel,端口通道
(2)
概念理解
链路聚合技术可以把低速的链路聚合成为一条高速链路,比较经济实用
先把端口捆绑成channel-group,通道组
两台交换机的通道组之间要相互按照规定的协议协商,成功之后才会形成port-channel(端口通道),而端口通
道可以按照vlan
的要求设定为trunk
show
etherchannel summary

链路聚合LACP 配置和结果验证(51cti实验11),布布扣,bubuko.com

时间: 2024-08-02 02:45:09

链路聚合LACP 配置和结果验证(51cti实验11)的相关文章

跨交换机VLAN 配置和结果验证(51cto :实验9)

1. 实验线路连接图使用Cisco Packet Tracer6.0 构建拓扑结构图 2. 实验内容(1) 按图配置各台计算机IP 地址. 自左往右192.168.1.1->192.168.1.2->192.168.1.3->192.168.1.4,其中192.168.1.1的配置如下(其它3台大致相同) (2) 参阅教材中内容,完成跨交换机VLAN 配置,配置要求如图 所示,使用show vlan 指令查看VLAN 的配置情况,并使用Ping 指令测试各台计算机之间的连通性. sw1

Eth-Trunk链路聚合配置

Eth-Trunk概述 Eth-Trunk接口能够实现负载分担.增加带宽和提高可靠性 Eth-Trunk接口把多个物理接口捆绑成一个逻辑接口 Eth-Trunk接口的链路聚合模式 链路聚合模式 应用场景 手工负载分担模式Eth-Trunk接口 当Eth-Trunk链路两端设备中有一台设备不支持LACP协议时,可在NE20E设备上创建手工负载分担模式的Eth-Trunk,并加入多个成员接口增加设备间的带宽及可靠性. 静态LACP (Link Aggregation Control Protocol

某虚拟化项目中思科与华为交换机链路聚合互连案例

在今年初的时候,我在实施一个VMware虚拟化项目中,涉及到华为与思科交换机通过"链路聚合"的方式互连,经过咨询华为的技术工程师,问题得以成功解决. 不像某些厂家的售后:我们的产品只支持与我们的产品互连,其他的不提供技术支持.华为售后没有因为我是询问与思科交换机的互连而不告诉我解决方法,而是直接告诉我现成的互连案例,并将案例文档及链接网页发到我邮箱,我通过参考案例解决了项目中碰到的问题.现在项目已经运行几个月,一切正常. 现在就此案例记录下来,同时感谢华为技术支持工程师! (小记:我咨

链路聚合与权重

链路聚合通过聚合多条并行的物理链路,对上层协议表现为一条逻辑链路,来提高吞吐量和冗余性.常见的链路聚合技术有Cisco的Etherchannel ,华为的Eth-trunk 以及 linux bonding 等.链路聚合分为动态和静态两种,静态的通过手工配置,动态的通过协议协商.IEEE 规定的链路聚合标准 LACP(Link Aggregation Control Protocol)使用的最为广泛1. 以太网的链路带宽是以10Mbps.100Mbps.1000Mpbs.10Gbps等,速率增长

配置LACP模式链路聚合

组网需求 在两台Router设备上配置LACP模式链路聚合组,提高两设备之间的带宽与可靠性,具体要求如下: 两条活动链路具有负载分担的能力. 两设备间的链路具有一条冗余备份链路,当活动链路出现故障链路时,备份链路替代故障链路,保持数据传输的可靠性. 配置LACP模式链路聚合组网图 配置思路 采用如下的思路配置LACP模式链路聚合: 1. 在Router设备上创建Eth-Trunk,配置Eth-Trunk为LACP模式,实现链路聚合功能. 2. 将成员接口加入Eth-Trunk. 3. 配置系统优

HCNA配置静态LACP模式链路聚合

1.静态LACP模式 静态LACP模式是一种利用LACP协议进行聚合参数协商.确定活动接口和非活动接口的链路聚合方式.该模式下,需手工创建Eth-Trunk,手工加入Eth-Trunk成员接口,由LACP协议协商确定活动接口和非活动接口. 静态LACP模式也称为M∶N模式.这种方式同时可以实现链路负载分担和链路冗余备份的双重功能.在链路聚合组中M条链路处于活动状态,这些链路负责转发数据并进行负载分担,另外N条链路处于非活动状态作为备份链路,不转发数据.当M条链路中有链路出现故障时,系统会从N条备

华为交换机LACP模式链路聚合配置

交换机A和交换机B之间通过3条GE以太网连接,活动链路为2,配置如下: SwitchA配置 <HUAWEI> system-view [HUAWEI] sysname SwitchA [SwitchA] interface eth-trunk 1 # 创建Eth-Trunk1 [SwitchA-Eth-Trunk1] mode lacp # 配置LACP模式 [SwitchA-Eth-Trunk1] trunkport gigabtiethernet 0/0/1 to 0/0/3 # 添加接口

转:CentOS 7使用nmcli配置双网卡聚合LACP

进入CentOS 7以后,网络方面变化比较大,例如eth0不见了,ifconfig不见了,其原因是网络服务全部都由NetworkManager管理了,下面记录下今天下午用nmcli配置的网卡聚合,网络上资料比较多,这里仅记录以备忘,更详细的说明可以参考rhel7和centos7使用nmcli命令管理配置网络. CentOS7使用ip link代替ifconfig命令,使用teamd处理双网卡聚合,使用nmcli命令行配置网络. 实战发现team driver在重启时会有些问题,会漏掉设置混杂模式

思科2960交换机与Windows server 2012 实现LACP链路聚合

微软的Windows server 2012已经能支持LACP链路聚合了,由于使用链路聚合后可以实现线路的冗余以及带宽增加,在这里我用一台思科的2960做了一个测试,供有兴趣的朋友参考. 实验准备: 思科交换机2960一台.安装server 2012的服务器一台,内有两个千兆网卡,网线两根. 步骤: 1.思科交换机的配置 在特权模式下新建链路聚合channel 端口,并将端口加入Vlan sw2960(config)#int port-channel 6 sw2960(config)#switc