cisco交换机上的链路聚合<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
  一、2层 ethernet channel
  (interface)#channel-group number mode {on | auto [no-silent]|desirable [no-silent]}
  on 使用EthernetChannel 但不发送pagp分组
  off 禁用EthernetChannel
  desirable  交换机主动要求形成一个EthernetChannel 发送pagp分组
  auto          交换机被动形成一个EthernetChannel 不发送pagp分组 默认取值
  往往可能EthernetChannel的一端(一台服务器或者是网络分析仪)#没有产生pagp分组或者说是保持
  “沉默",可以使用关键字silent在15秒的延迟之后,让对端成为EthernetChannel.起对端为”沉默“
  使用non-silent关键字则要求在激活EthernetChannel之前现进行pagp协商、
  Catalyst 2900  3500xl 平台上没有pagp 只有 on off不进行协商
  ios  (global)# port-channel load-balance  method
  ——源地址    src-ip
  ——目的地址 dst-ip
  ——源和目的  src-dst-ip
  ——源mac地址 src-mac
  ——目的mac地址 dst-mac
  ——源和目的mac src-dst-mac
  ——源端口号 src-port
  ——目的端口号 dst-port
  ——源和目的端口号 src-dst-port
  example
(global)# interface fastethernet 4/1
(interface)#channel-group 100 mode desirable non-silent
(global)# interface fastethernet 4/2
(interface)#channel-group 100 mode desirable non-silent
(global)# interface fastethernet 5/1
(interface)#channel-group 100 mode desirable non-silent
(global)# interface fastethernet 5/2
(interface)#channel-group 100 mode desirable non-silent
(global)#port-channel load-balance src-dst-ip
show etherchannel [channel-group] load-balance
  绑定到一起的端口必须具有相同的属性如:速度双工模式 vlan 干路模式 允许的vlan范围
  3层 etherchannel
  1创建逻辑端口通道
  interface port-channel number
  2.配置端口通道上的协议信息
  ip address address netmask
  3.把物理3层接口分配给通道
  interface type mod/port
  选择的端口必须是一个3层接口   no switchport
  4.删除任何协议地址
  no ip address
  5.把接口分配给通道组
  channel-group number mode {auto |dusirable |on}
  6.核实接口已经启用
  no shutdown
  7核实通道
  show ethernetchannel number port-channel
  show interface type number etherchannel
  show ethernetchannel summary
  example
  分布层交换机上
(config)#interface channel-group 1
(config-if)#ip address 192.168.1.1 255.255.255.0
(config-if)#interface gigabitethernet 1/1
(config-if)#no switchport
(config-if)#no ip address
(config-if)#channel-group 1 mod on
(config-if)#no shutdown
(config-)#interface gigabitethernet 1/2
(config-if)#no switchport
(config-if)#no ip address
(config-if)#channel-group 1 mode on
(config-if)#end
copy run start
  接入层交换机(3500xl)#
(config)#interface gigabitethernet 0/1
(config-if)#port group 1
(config)#interface gigabitethernet 0/2
(config-if)#port group 1
(config)#end
#copy run start
  我的试验3750配置实例  CastLyst <?xml:namespace prefix = st1 ns = "urn:schemas-microsoft-com:office:smarttags" />3750G
Switch#config t
Switch(config)#int gigabitEthernet 1/0/23
Switch(config-if)#channel-group 10 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 10 mode desirable non-silent
Switch(config)#int gigabitEthernet 1/0/24
Switch(config-if)#channel-group 10 mode desirable non-silent
Switch(config)#port-channel ?
load-balance Load Balancing method
Switch(config)#port-channel load-balance ?
dst-ip Dst IP Addr
dst-mac Dst Mac Addr
src-dst-ip Src XOR Dst IP Addr
src-dst-mac Src XOR Dst Mac Addr
src-ip Src IP Addr
src-mac Src Mac Addr
Switch(config)#port-channel load-balance src-dst-ip
Switch#write
Switch#show interfaces gigabitEthernet 1/0/23 etherchannel
Port state = Up Sngl-port-Bndl Mstr Not-in-Bndl
Channel group = 10 Mode = Desirable-NonSl Gcchange = 0
Port-channel = null GC = 0x000A0001 Pseudo port-channel = Po10
Port index = 0 Load = 0x00 Protocol = PAgP
Flags: S - Device is sending Slow hello. C - Device is in Consistent state.
A - Device is in Auto mode. P - Device learns on physical port.
d - PAgP is down.
Timers: H - Hello timer is running. Q - Quit timer is running.
S - Switching timer is running. I - Interface timer is running.
Local information:
Hello Partner PAgP Learning Group
Port Flags State Timers Interval Count Priority Method Ifindex
Gi1/0/23 U4/S4 H 30s 0 128 Any 10123
Age of the port in the current state: 00d:00h:03m:30s
Switch#show etherchannel summary
Flags: D - down P - in port-channel
I - stand-alone s - suspended
H - Hot-standby (LACP only)#
R - Layer3 S - Layer2
U - in use f - failed to allocate aggregator
u - unsuitable for bundling
w - waiting to be aggregated
d - default port

Number of channel-groups in use: 1
Number of aggregators: 1
Group Port-channel Protocol Ports

转载于:https://blog.51cto.com/toufabai/45281

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

  1. 7 linux 配置链路聚合_linux – 在智能交换机上设置链路聚合组(L...

    我的问题是:为什么在智能交换机上设置链路聚合组会降低两台机器之间的带宽? 我终于通过TP-LINK T1700X-16TS智能交换机通过2条绑定的10G CAT7电缆连接两台机器(运行ubuntu 1 ...

  2. mac 思科 链路聚合_cisco交换机上的链路聚合

    我的试验3750配置实例 CastLyst 3750G Switch#config t Switch(config)#int gigabitEthernet 1/0/23 Switch(config- ...

  3. 华为路由交换学习篇-链路聚合

    目录 链路聚合模式 手工负载分担模式 LACP模式 实验一 手工负载分担模式配置 实验二 静态LACP二层链路配置实验 实验三 静态LACP模式三层链路配置实验 链路聚合模式 手工负载分担模式 手工配 ...

  4. 在Cisco交换机上实现隔离访问

     现在网络安全要求也越来越高了,一个局域网有时候也希望能够做到互相不能访问.我主要是给大家介绍一下在cisco的交换机上面如何来实现大家的需求. 在cisco 低端交换机中的实现方法: 1.通过端口保 ...

  5. 在CISCO交换机上配置SSH

    在Cisco路由器产品系列中只有7200系列.7500系列和12000系列(GSR)等高端产品的IOS支持SSH.一般支持SSH的IOS版本文件名中都带有K3或者K4字样,K3 代表56bit SSH ...

  6. Cisco堆叠配置步骤+链路聚合实例

    步骤: 配置堆叠 堆叠主: switch 1 priority 15 copy run startup-config reload slot 1 堆叠备: switch 1 renumber2 swi ...

  7. 【接口篇 / Lan】(5.6) ❀ 05. 与思科交换机三层链路聚合连接 ❀ FortiGate 防火墙

    [简介]在很多实际应用环境中,因为接口的速率问题,数据访问量大的时候会出现瓶颈.像飞塔防火墙大部分是千兆接口,有没有在不增加投入(换万网兆纤口)的情况下,解决这个问题呢?   网络拓扑 在很多企业的网 ...

  8. 与思科交换机三层链路聚合连接 ❀ 飞塔 (Fortinet) 防火墙

    文章目录 网络拓扑 链路聚合 LACP模式: 防火墙链路聚合设置 思科三层交换机链路聚合设置 思科三层交换机其它设置 防火墙设置 网络拓扑 在很多企业的网络拓扑中,通常会的把服务器接入核心三层交换机之 ...

  9. 给这台华为S5700交换机配一下链路聚合

    · 掌握接口速率的配置方法 · 掌握使用手动模式配置链路聚合的方法 · 掌握使用静态LACP模式配置链路聚合的方法 · 掌握在静态LACP模式下配置接口优先级的方法 图4.1 以太网链路聚合拓扑图 您 ...

最新文章

  1. 去除文件名中的'.'符号
  2. 谷歌Colab也搞“超级会员”,普通会员云GPU被降级,想用高端得加钱
  3. phpstorm + xdebug 远程断点调试
  4. webpack之proxyTable配置
  5. 【渝粤教育】广东开放大学 中国法律史 形成性考核 (31)
  6. linux调用函数和case,Shell篇(3)-单双引号 ,函数及case语句用法
  7. L1-046 整除光棍
  8. qt createtor 中文乱码
  9. PERCONA-TOOLKIT 安装
  10. 玩转 SpringBoot 2 快速整合 Filter
  11. quarts集群 运维_精讲Elastic-job + Quartz实现企业级定时任务
  12. 如何用Git向GitHub上传送文件(从注册GitHub到用Git上传的每一步)
  13. JDBC:随机生成车牌号,批量插入数据库
  14. tika获取压缩文件内容
  15. cpu 之二 酷睿i3/i5/i7处理器到底简单区别
  16. PMP估算方法对比:参数估算、类比估算、自下而上估算、三点估算和粗略量级估算
  17. Validation参数校验注解
  18. doxygen的特定命令
  19. 搜狗推送代码之搜狗百万蜘蛛实现
  20. 邮箱大师手机版服务器异常,网易邮箱大师-高效强大的全平台邮箱客户端

热门文章

  1. excel小写转大写公式_Word如何一键转PPT/Excel,来看看用对的方式操作office有多方便...
  2. idea ssm框架搭建详细步骤_搭建一套纯净版的SSM框架,随时CV使用它不香吗?
  3. pytorch nn.Softmax
  4. 图解TCPIP-OSI7层网络模型
  5. 16 The Terminal and Job Control
  6. 图像识别 RGB HSV
  7. landset8各波段_landsat8波段
  8. VMware NSX 6.2初学者指南 - 从实验室的零部署到完全部署
  9. 分库分表学习总结(6)——分库分表?选型和流程要慎重,否则流程会失控!
  10. Docker学习总结(26)——Docker 管理工具的选择:Kubernetes 还是 Swarm?