cisco端口聚合.doc_第1页
cisco端口聚合.doc_第2页
cisco端口聚合.doc_第3页
cisco端口聚合.doc_第4页
免费预览已结束,剩余1页可下载查看

下载本文档

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

文档简介

思科2950-48端口汇聚实例发布: 2009-10-30 21:51 | 作者: 无忧 | 来源: 无忧网客联盟主站port-channel2950-48,怎样做端口汇聚.PS:划分了VLAN.interface FastEthernet0/1switchport mode trunk !- Configured port to be in trunking mode.channel-group 1 mode on !- Assigned port to port channel 1.!- 2950 switches only support 802.1q encapsulation, which is the configured automatically!- when trunking is enabled on the interface by issuing the switchport mode trunk command.!- Note: The channel-group command is introduced in IOS 12.1. IOS 12.0 has the port group command!- to configure channeling.!interface FastEthernet0/2switchport mode trunkchannel-group 1 mode on !- Assigned port to port channel 1.!interface FastEthernet0/3switchport mode trunkchannel-group 1 mode on !- Assigned port to port channel 1.!interface FastEthernet0/4switchport mode trunk channel-group 1 mode on !- Assigned port to port channel 1.补充一下interface Port-channel1 switchport mode trunk二层交换机2950实验5-cisco 2950 端口聚合例子2010-01-20 11:39二层交换机2950实验5-cisco 2950 端口聚合例子端口聚合的作用: 把几个端口绑定起到增加带宽的作用(必须两必设定一样且是成结的绑定),如把二个100m的端品设定为端口聚合,那么二个交换机交换数据就可以达到200M. 重点: 1.fa 0/1、fa 0/2与另一部交换机的fa 0/1、fa 0/2组成端口聚合,设定为channel-group 1,如果fa0/1网络断掉时,fa0/2这根线是不会自己动连接上去的,这时端口聚合只是增加带宽,不会起到备用线路的作用 2.fa 0/1、fa 0/2与另一部交换机的fa 0/1、fa 0/2组成端口聚合,设定为channel-group 1,fa 0/3、fa 0/4与另一部交换机的fa 0/3、fa 0/4组成端口聚合,设定为channel-group 2,如果channel-group 1这二根线断掉时,channel-group 2会自己连接上去,即起到增加带宽,又起到备用线路的作用。 3.第一交换机的具体配置,第二个交换机例同: Switch(config)#interface fa0/1 Switch(config-if)#speed 100 Switch(config-if)#duplex full Switch(config)#interface fa0/2 Switch(config-if)#speed 100 Switch(config-if)#duplex full Switch(config)#interface range fa0/1 -2 -range为同时配置二个以上的接口 Switch(config-if-range)#channel-group 1 mode desirable -封装为自动协商模式 Switch(config-if-range)#switchport mode trunk Switch(config-if-range)#switchport trunk allowed vlan all-允许所以vlan通过 Switch(config)#interface fa0/3 Switch(config-if)#speed 100 Switch(config-if)#duplex full Switch(config)#interface fa0/4 Switch(config-if)#speed 100 Switch(config-if)#duplex full Switch(config)#interface range fa0/3 -4 -range为同时配置二个以上的接口 Switch(config-if-range)#channel-group 2 mode desirable -封装为自动协商模式 Switch(config-if-range)#switchport mode trunk Switch(config-if-range)#switchport trunk allowed vlan all-允许所以vlan通过 注: (2950交换机没有encapsulation加密,打en dot1q会出错 Switch(config-if-range)#switchport trunk encap ? % Unrecognized command)使用的命令是:show etherchannel summary -看端口汇聚状态 SD表示关闭,SU表示打开- Switch#show etherchannel summaryFlags: 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 portNumber of channel-groups in use: 2Number of aggregators: 2Group Port-channel Protocol Ports-+-+-+-1 Po1(SD) PAgP Fa0/1(D) Fa0/2(D) 2 Po2(SU) PAgP Fa0/23(P) Fa0/24(P)R1#vlan database R1(vlan)#vlan 2 R1(vlan)#exit R1#configure terminal R1(config)#int range fastethernet 0/1 - 4 R1(config-int-range)#switchport access vlan 2 R1(config-int-range)#channel-group 1 mode on R2#vlan database R2(vlan)#vlan 2 R2(vla

温馨提示

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

评论

0/150

提交评论