链路聚合channel

链路聚合:将多个直连的物理接口逻辑的聚合为一个接口

二层交换机的链路聚合:
Switch(config)#int range fastEthernet 0/1-2进入多个接口配置channel口
Switch(config-if-range)#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

PAgP :auto被动 desirable主动 思科私有协议
LACP:passive被动 active主动 公有协议
on 手动配置,两端必须为手动
建议使用手动配置,若使用思科私有或者公有协议两端必须都配置同一协议

链路聚合成功日志:
Creating a port-channel interface Port-channel 1
%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
%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

查看channel接口状态
D:表示链路聚合失败  P:该端口成功加入绑定的逻辑端口  I:表示两点之间模式不匹配 
s:表示被抑制 H:表示热备 仅限于LACP协商模式意思是做热备技术时会出现 
R:表示此逻辑接口为三层接口  S:表示此逻辑接口是二层接口
U:表示 此逻辑接口正在被使用 并不能笼统的认为他是可以成功使用的 
f:表示同一交换机上两个端口形成同一个逻辑绑定端口时,另一个端口指错了逻辑绑定端口号 
M:不能使用   u:合适的捆绑  w:等待被捆绑  d:未执行捆绑的端口

查看channel口的状态
Switch#show ip int brief
Interface IP-Address OK? Method Status Protocol
Port-channel 1 unassigned YES manual up up

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值