- 6
- 0
- 约8.34千字
- 约 8页
- 2018-12-08 发布于安徽
- 举报
实用标准文案
精彩文档
实验2.5 EtherChannel的配置
1.实验目的
通过实验可以掌握:
(1)EtherChannel的工作原理
(2)EtherChannel的配置
2.实验拓扑
EtherChannel配置实验拓扑如图2-1所示。
图2-1 EtherChannel配置实验拓扑
3.实验步骤
构成EtherChannel的端口必须具有相同的特性:Trunking的状态、Trunk的封装方式、双工、速率及所属的VLAN等。配置EtherChannel有手动配置和自动配置(PAGP或者LACP)两种方法。手动配置就是管理员指明哪些接口形成EtherChannel;自动配置就是让EtherChannel协商协议自动协商EtherChannel的建立,协商的协议有PAGP或者LACP两种。
(1)手动配置EtherChannel
S1(config)#int f0/13
S1(config-if)#shutdown
//关闭不必要的接口,否则会影响测试
S1(config)#int port-channel ?
1-48 Port-channel interface number
S1(config)#int port-channel 1
//创建以太通道,需指定一个唯一的通道组号,组号的范围是1~48的正整数。要取消EtherChannel时用“no interface port-channel 1
S1(config)#int range f0/14-15
S1(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
S1(config-if-range)#channel-group 1 mode on
//将物理接口指定到已创建的通道中
S1(config-if-range)#switchport trunk encapsulation dot1q
S1(config-if-range)#switchport mode trunk
//配置通道中的物理接口的属性,这里是配置trunk
S1(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
S1(config)#port-channel load-balance dst-ip
//配置EtherChannel的负载平衡方式
S2(config)#int port-channel 2
//链路两端的channel-group是可以不一样的,这个百年好只是本地有效。
S2(config)#int range f0/1-2
S2(config-if-range)#channel-group 2 mode on
S2(config-if-range)#switchport trunk encapsulation dot1q
S2(config-if-range)#switchport mode trunk
S2(config-if-range)#exit
S2(config)#port-channel load-balance dst-ip
(2)查看EtherChannel信息
S1#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 - unsuit
您可能关注的文档
- 上市公司章程指引2016年修订-国家的要求的要求规范性文件资料.doc
- 上市公司自愿性地的信息披露地的研究.doc
- 烧结实用实用工艺培训教材.doc
- 烧结实用实用工艺全参数控.doc
- 设计课地训练题目X6132经济型数控改造垂向改造.doc
- 设计器综合的设计.doc
- 设计性实验的报告材料材料格式.doc
- 社区护理的甲在线作业的.doc
- 社区环境建设和管理系统教案设计.doc
- 社团管理系统报告材料材料.doc
- 云南省涧南彝族自治县2026届中考三模数学试题含解析.doc
- 重庆市巫溪中学2026届中考三模生物试题含解析.doc
- 2026届甘肃省张掖市高台县重点名校中考数学模拟精编试卷含解析.doc
- 2026届重庆一中学中考生物最后冲刺浓缩精华卷含解析.doc
- 2026届江西省萍乡市安源区中考生物模试卷含解析.doc
- 2026届山东省曲阜师范大附属实验校中考生物考前最后一卷含解析.doc
- 山西省运城市垣曲县重点中学2026届中考生物考前最后一卷含解析.doc
- 湖北省谷城县达标名校2026届中考生物押题卷含解析.doc
- 2026届河南省三门峡市义马二中中考生物考试模拟冲刺卷含解析.doc
- 树立和践行正确政绩观重点纠治十种偏差问题对照查摆清单(100条).docx
原创力文档

文档评论(0)