Cisco交换机链路聚合


2009-08-04 20:40:44
标签:负载均衡 Cisco 端口聚合 局域网    [推送到技术圈]

版权声明:原创作品,允许转载,转载时请务必以超链接形式标明文章 原始出处 、作者信息和本声明。否则将追究法律责任。http://zhangbikai.blog.51cto.com/777599/187751
下面是局域网的核心交换机(三层交换)和二层交换之间的端口聚合的操作实例
2950
Switch>en
Switch#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Switch(config)#int f0/1
Switch(config-if)#channel-group 1 mode on
%LINK-5-CHANGED: Interface Port-channel 1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Port-channel 1, changed state to upSwitch(config-if)#int f0/2
Switch(config-if)#channel-group 1 mode on
3560
Switch(config)#int port-channel 1
Switch(config-if)#exit
Switch(config)#ip routing(默认已经启用了路由功能)
Switch(config)#int port-channel 1
Switch(config-if)#no switchport
Switch(config-if)#ip add 1.1.1.1 255.0.0.0
Switch(config-if)#no shut
Switch(config-if)#exit
Switch(config)#int f0/1
Switch(config-if)#no switchport
%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 upSwitch(config-if)#
Switch(config-if)#no ip add
Switch(config-if)#channel-group 1 mode ?
  active     Enable LACP unconditionally
  auto       Enable PAgP only if a PAgP device is detected
  desirable  Enable PAgP unconditionally
  on         Enable Etherchannel only
  passive    Enable LACP only if a LACP device is detected
Switch(config-if)#channel-group 1 mode on
%LINK-5-CHANGED: Interface Port-channel 1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Port-channel 1, changed state to upSwitch(config-if)#
Switch(config-if)#int f0/2
Switch(config-if)#no switchport
%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 upSwitch(config-if)#no ip add
Switch(config-if)#no ip address
Switch(config-if)#channel-group 1 mode on
Switch(config-if)#exit
Switch(config)#int f0/3
Switch(config-if)#no switchport
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/3, changed state to down
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/3, changed state to upSwitch(config-if)#ip add 2.2.2.1 255.0.0.0
Switch(config-if)#no shut
端口聚合可使流量在多条物理链路上负载均衡,同时也起到了链路的备份作用。但是在某些设备里,应注意聚合链路两端接口的速率,工作模式,例如在快以中,可将各个端口设置为speed 100,duplex full。

转载于:https://blog.51cto.com/dragon82cn/188782

Cisco交换机链路聚合相关推荐

  1. centos 网卡聚合及Cisco交换机链路聚合

    一.配置环境 centos 系统.网卡1口和2口做链路聚合.    交换机网口 6口和7口. 二.服务器操作步骤 centos 6 1.创建一个channel bonding interface #v ...

  2. 交换机链路聚合技术的负载均衡算法原理(含C语言实现)

    [注:本文[原理]部分来自转载,转载来源为https://blog.csdn.net/wuheshi/article/details/79128044,此部分原创作者暂未找到,但感谢原作者的知识贡献] ...

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

    在今年初的时候,我在实施一个VMware虚拟化项目中,涉及到华为与思科交换机通过"链路聚合"的方式互连,经过咨询华为的技术工程师,问题得以成功解决. 不像某些厂家的售后:我们的产品 ...

  4. linux服务器双网卡链路聚合,服务器多网卡绑定与交换机链路聚合对接探讨

    <服务器多网卡绑定与交换机链路聚合对接探讨>由会员分享,可在线阅读,更多相关<服务器多网卡绑定与交换机链路聚合对接探讨(9页珍藏版)>请在人人文库网上搜索. 1.服务器多网卡绑 ...

  5. 交换机链路聚合在网络中的作用

    交换机链路聚合在网络中的作用  分类: 系统运维 链路聚合有成端口聚合,断口捆绑,英文名port trunking.功能是将交换机的多个低带宽端口捆绑成一条高带宽链路,可以实现链路负载平衡.避免链路出 ...

  6. 华为交换机链路聚合命令总结(eNSP)

    华为交换机链路聚合: [LSW1]和[LSW2]配置相同, [LSW1]undo info-center enable 关闭信息提示 [LSW1]interface Eth-Trunk 1 [LSW1 ...

  7. 服务器网卡+链路+和协议,服务器双网卡捆绑与交换机链路聚合排障1例

    1故障现象 在实际组网环境中,将1台HP DL380服务器集成的双网卡进行双千兆网卡捆绑,并与盒式千兆3层交换机H3C S5500-28TP-SI的2个GE光口进行连接,该交换机的2个GE光口进行(l ...

  8. 华三企业交换机链路聚合实例

    本期为大家带来华三交换机的链路聚合的实例,请看拓补图 前言:华三的交换机链路聚合和华为的有异曲同工之妙,下面是关键字 华三Bridge-Aggregation1  =华为Eth-trunk 华三加入聚 ...

  9. CISCO交换机与华为交换机链路聚合及IRF

    链路聚合有成端口聚合,端口捆绑,英文名port trunking.功能是将交换机的多个低带宽端口捆绑成一条高带宽链路,可以实现链路负载平衡.避免链路出现拥塞现象.通过配置,可通过两个三个或是四个端口进 ...

最新文章

  1. Angular 中的依赖注入link
  2. 简单形象又有趣地说说强大的神经网络
  3. C#.NET 可以为不同的客户定制不同的登录窗体的设计思路参考【功能代码组件化,可以灵活选配】...
  4. C#代码的语法和格式(一)
  5. hibernate数据类型与OR映射
  6. Windows Server 2003 群集配置测试
  7. Fortinet不断践行安全平台的战略保持长效增长
  8. cannot use a string pattern on a bytes-like object(bytes与str互转)
  9. 在ubuntu上安装Avant Window Navigator (AWN)
  10. html/css静态网页制作
  11. Java的GUI学习
  12. u2020 华为_顶级标压U加持轻薄本!华为MateBook 13 2020锐龙版评测
  13. 【matlab智能算法一函数学习】Matlab聚类分析(Cluster Analyses)
  14. ldap 身份认证 概念和原理介绍
  15. Arduino 通过双路L298N电机驱动模块控制麦克纳姆轮运动
  16. WPS如何并排放置两张图片_动图演示如何制作XRD叠图与PDF卡线图
  17. Roxe:大涨时毅然销毁99% ROC 专注解决跨境汇款难题
  18. 2022年中国智能家居产业链图谱 | 产业链全景图
  19. Android事件分发之ViewGroup篇 -- ViewGroup的dispatchTouchEvent、onTouchEvent、onInterceptTouchEvent之间关系
  20. EXCEL打印表格时如何添加带有公司名称的水印

热门文章

  1. android 软键盘 状态,Android监听软键盘状态
  2. Hadoop入门基础教程 Hadoop之伪分布式环境搭建
  3. Onvif备忘录(2)----客户端端设备发现
  4. 《Go 语言程序设计》读书笔记(四)接口
  5. centos7搭建hadoop
  6. 利用Linux的强大移植性和兼容性将操作系统轻松安装到硬盘
  7. Linux sed 替换第一次出现的字符串
  8. 【MSDN】正则表达式介绍
  9. 手机微信网站开发放弃windows phone的理由
  10. js去掉html标签和去掉字符串文本的所有的空格