华为、思科、H3C链路聚合命令.doc_第1页
华为、思科、H3C链路聚合命令.doc_第2页
华为、思科、H3C链路聚合命令.doc_第3页
华为、思科、H3C链路聚合命令.doc_第4页
全文预览已结束

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

华为链路聚合配置: 1. 创建Eth-Trunk接口并加入成员接口,实现增加链路带宽。 system-view Quidway sysname SwitchA SwitchA interface Eth-Trunk1 SwitchA-Eth-Trunk1 trunkport ethernet 0/0/1 to 0/0/3 SwitchA-Eth-Trunk1 quit 说明 接口缺省都加入了VLAN1,因此加入Eth-Trunk前建议先将接口从VLAN1中退出 或将接口Shutdown,避免出现广播风暴。 2 配置Eth-Trunk1接口允许VLAN10和VLAN20通过。 SwitchA interface Eth-Trunk1 SwitchA-Eth-Trunk1 port link-type trunk SwitchA-Eth-Trunk1 port trunk allow-pass vlan 10 20 3 配置Eth-Trunk1的负载分担方式。SwitchB配置与SwitchA类似,不再赘述。 SwitchA-Eth-Trunk1 load-balance src-dst-mac SwitchA-Eth-Trunk1 quit步骤4 验证配置结果 在任意视图下执行display eth-trunk 1命令,检查Eth-Trunk是否创建成功,及成员接口是否正确加入。配置LACP模式的链路聚合:采用如下的思路配置LACP模式链路聚合:1. 创建Eth-Trunk,配置Eth-Trunk为LACP模式,实现链路聚合功能。2. 将成员接口加入Eth-Trunk。说明接口缺省都加入了VLAN1,因此加入Eth-Trunk前建议先将接口从VLAN1中退出或将接口Shutdown,避免出现广播风暴。3. 配置系统优先级,确定主动端,按照主动端设备的接口选择活动接口。4. 配置活动接口上限阈值,实现保证带宽的情况下提高网络的可靠性。5. 配置接口优先级,确定活动链路接口,优先级高的接口将被选作活动接口。步骤1 在SwitchA上创建Eth-Trunk1并配置为LACP模式。 system-viewQuidway sysname SwitchASwitchA interface eth-trunk 1SwitchA-Eth-Trunk1 mode lacp-staticSwitchA-Eth-Trunk1 quit步骤2 配置SwitchA上的成员接口加入Eth-Trunk。SwitchA interface ethernet 0/0/1SwitchA-Ethernet0/0/1 eth-trunk 1SwitchA-Ethernet0/0/1 quitSwitchA interface ethernet 0/0/2SwitchA-Ethernet0/0/2 eth-trunk 1SwitchA-Ethernet0/0/2 quitSwitchA interface ethernet 0/0/3SwitchA-Ethernet0/0/3 eth-trunk 1SwitchA-Ethernet0/0/3 quit步骤3 在SwitchA上配置系统优先级为100,使其成为LACP主动端SwitchA lacp priority 100步骤4 在SwitchA上配置活动接口上限阈值为2SwitchA interface eth-trunk 1SwitchA-Eth-Trunk1 max active-linknumber 2SwitchA-Eth-Trunk1 quit步骤5 在SwitchA上配置接口优先级确定活动链路SwitchA interface ethernet 0/0/1SwitchA-Ethernet0/0/1 lacp priority 100SwitchA-Ethernet0/0/1 quitSwitchA interface ethernet 0/0/2SwitchA-Ethernet0/0/2 lacp priority 100SwitchA-Ethernet0/0/2 quit步骤6 验证配置结果# 查看各Switch设备的Eth-Trunk信息,查看链路是否协商成功。SwitchA display eth-trunk 1H3C链接聚合配置: 只有端口的基本配置、速率、双工等参数一致时,上述端口在开启LACP协议之后,才能汇聚到同一个动态汇聚组内,实现端口的负载分担。Cisco链路聚合配置:This example shows how to configure an EtherChannelon a switch. It assigns two ports as static-access ports in VLAN 10 to channel 5 with the PAgP mode desirable:Switch#configure terminal Switch(config)#interface range gigabitethernet2/0/1 -2 Switch(config-if-range)# switchport mode accessSwitch(config-if-range)# switchport access vlan 10Switch(config-if-range)# channel-group 5 mode desirable non-silentSwitch(config-if-range)#end This example shows how to configure an EtherChannelon a switch. It assigns two ports as static-access ports in VLAN 10 to channel 5 with the LACP mode active:Switch#configure terminal Switch(config)#interface range gigabitethernet2/0/1 -2 Switch(config-if-range)# switchport mode accessSwitch(config-if-range)# switchport access vlan 10Switch(config-if-range)# channel-group 5 mode activeSwitch(config-if-range)#end This example shows how to configure a cross-stack EtherChannel. It uses LACP passive mode and assigns two ports on stack member 2 and one port on stack member 3 as static-access ports in VLAN 10 to channel 5:Switch# configure terminal Switch(config)# interface range gigabitethernet2/0/4 -5 Switch(config-if-range)# switchport mode accessSwitch(config-if-range)# switchport access vlan 10Switch(config-if-range)# channel-group 5 mode active Switch(config-if-range)# exitSwitch(config)# interface gigabi

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论