




已阅读5页,还剩6页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
交换机端口汇聚的配置一、实验目的 通过对交换机端口汇聚的配置,了解交换机端口的一些基本配置信息,并掌握相关的重要命令,利用交换机Console口命令对交换机进行配置,明白端口汇聚的作用。二、实验内容1、修改交换机主机名2、修改交换机端口地址与属性3、配置交换机端口的静态MAC 地址表4、实现交换机的端口汇聚三、网络实验图VLAN:192.168.1.1/24VLAN1:192.168.1.2/24E0/1E0/1E0/2E0/2ConsolePC机Switch1Switch2四、实验步骤(1)、按拓扑图连线 连线:按拓扑图将Switch1的E1/0/1与Switch2的E0/1相连,Switch1的E1/0/2与Switch2的E0/2相连,PC机COM口与Switch1的Console口相连,网线与E0/24相连。(2)、设置Switch1的E1/0/1和E1/0/2端口sys System View: return to User View with Ctrl+Z. Quidwaysysname switch1 switch1interface ethernet 1/0/1 switch1-Ethernet0/1speed 100 switch1-Ethernet0/1duplex full switch1-Ethernet0/1int e1/0/2 switch1-Ethernet0/2speed 100 switch1-Ethernet0/2duplex full switch1-Ethernet0/2quit (3)、设置Switch2的E0/1和E0/2端口sys System View: return to User View with Ctrl+Z. Quidwaysysname switch2 switch2interface ethernet 0/1 switch2-Ethernet0/1speed 100 switch2-Ethernet0/1duplex full switch2-Ethernet0/1int e0/2 switch2-Ethernet0/2speed 100 switch2-Ethernet0/2duplex full switch2-Ethernet0/2quit (4)、汇聚交换机的E0/1和E0/2端口l 交换机Switch1上端口汇聚switch1-Ethernet1/0/2quit switch1link-aggregation group 1 mode static switch1interface e1/0/1 switch1-Ethernet1/0/1port link-aggregation group 1 switch1-Ethernet1/0/1interface e1/0/2 switch1-Ethernet1/0/2port link-aggregation group 1 l 交换机Switch2上端口汇聚switch2link-aggregation e0/1 to e0/2 both(5)、配置交换机1的VLAN1地址switch1int vlan-interface 1 switch1-Vlan-interface1 %Apr 2 00:01:27:508 2000 switch1 L2INF/5/VLANIF LINK STATUS CHANGE:- 1 - Vlan-interface1: is UP switch1-Vlan-interface1ip address 192.168.1.1 255.255.255.0 switch1-Vlan-interface1 %Apr 2 00:01:41:967 2000 switch1 IFNET/5/UPDOWN:- 1 -Line protocol on the inter face Vlan-interface1 is UP switch1-Vlan-interface1quit switch1disp int vlan 1 Vlan-interface1 current state :UP Line protocol current state :UP IP Sending Frames Format is PKTFMT_ETHNT_2, Hardware address is 000f-e220-938b Internet Address is 19 Description : HUAWEI, Quidway Series, Vlan-interface1 Interface The Maximum Transmit Unit is 1500 (6)、配置交换机2的VLAN1地址switch2interface vlan-interface 1 switch2-Vlan-interface1ip address 192.168.1.2 255.255.0 switch2-Vlan-interface1quit switch2disp interface vlan 1Vlan-interface1 current state :UPDLine protocol current state :UP switch2-Ethernet1/0/2 IP Sending Frames Format is PKTFMT_ETHNT_2, Hardware address is 000f-e220-938bNGE:- 1 -8:01:04 2000 switch2 ARP/4/DUPIFIP:Duplicate address 192.168.1.2 on VLInternet Address is 192.168.1.2/24 Primary227634, ifAdminStatus is 1, ifOperStatuN1,Description : HUAWEI, Quidway Series, Vlan-interface1 Interface-Vlan-interfas is 2 %Apr 1 23:57:54:1000 2000 switch2 The Maximum Transmit Unit is 1500(7)、测试汇聚结果switch1ping 192.168.1.2 PING 192.168.1.2: 56 data bytes, press CTRL_C to break Reply from 192.168.1.2: bytes=56 Sequence=1 ttl=254 time=27 ms Reply from 192.168.1.2: bytes=56 Sequence=2 ttl=254 time=7 ms Reply from 192.168.1.2: bytes=56 Sequence=3 ttl=254 time=7 ms Reply from 192.168.1.2: bytes=56 Sequence=4 ttl=254 time=20 ms Reply from 192.168.1.2: bytes=56 Sequence=5 ttl=254 time=14 ms - 192.168.1.2 ping statistics - 5 packet(s) transmitted 5 packet(s) received 0.00% packet loss round-trip min/avg/max = 7/15/27 ms (8)、验证端口汇聚switch1display mac-address MAC ADDR VLAN ID STATE PORT INDEX AGING TIME(s) 000f-e21a-ec6f 1 Learned Ethernet1/0/1 AGING 0016-ec0b-d89b 1 Learned Ethernet1/0/1 AGING00e0-4c90-3da5 1 Learned Ethernet1/0/24 AGING - 2 mac address(es) found - switch1int e1/0/1 switch1-Ethernet1/0/1shutdown switch1-Ethernet1/0/1 #Apr 2 00:07:49:321 2000 switch1 L2INF/2/PORT LINK STATUS CHANGE:- 1 - Trap 1.3.6.1.6.3.1.1.5.3: portIndex is 4227626, ifAdminStatus is 2, ifOperStatu s is 2 #Apr 2 00:07:49:514 2000 switch1 LAGG/2/AggPortInactive:- 1 -Trap 1.3.6.1.4.1.2 011.5.25.25.2.2: TrapIndex 31465473 Aggregation Group 1: port member Ethernet1/0 /1 is INACTIVE! #Apr 2 00:07:49:731 2000 switch1 LAGG/2/AggPortRecoverActive:- 1 -Trap 1.3.6.1. 4.1.2011.5.25.25.2.2: TrapIndex 31465474A t1/0/2 is now ACTIVE! %Apr 2 00:07:49:947 2000 switch1 L2INF/5/PORT LINK STATUS CHANGE:- 1 - Ethernet1/0/1: is DOWN switch1-Ethernet1/0/1quitswitch1ping 192.168.1.2 PING 192.168.1.2: 56 data bytes, press CTRL_C to break Reply from 192.168.1.2: bytes=56 Sequence=1 ttl=254 time=9 ms Reply from 192.168.1.2: bytes=56 Sequence=2 ttl=254 time=13 ms Reply from 192.168.1.2: bytes=56 Sequence=3 ttl=254 time=19 ms Reply from 192.168.1.2: bytes=56 Sequence=4 ttl=254 time=8 ms Reply from 192.168.1.2: bytes=56 Sequence=5 ttl=254 time=10 ms - 192.168.1.2 ping statistics - 5 packet(s) transmitted 5 packet(s) received 0.00% packet loss round-trip min/avg/max = 8/11/19 msswitch1disp mac-addressMAC ADDR VLAN ID STATE PORT INDEX AGING TIME(s)000f-e21a-ec6f 1 Learned Ethernet1/0/2 AGING0016-ec0b-d89b 1 Learn
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 1.3 信息及其特征(教学设计)-2023-2024学年高一信息技术同步教材配套教学设计+教学设计(粤教版2019必修1)
- 古代唐朝考试题目及答案
- 公共管理考试题及答案
- 高二仿真考试题及答案
- 附中近年考试题目及答案
- 辅机检修考试题及答案
- 提升配送员服务质量与效率
- 分类语文考试题及答案初中
- 放射师的考试题及答案
- 城市存量空间整合与区域协调发展方案
- 深化新时代教育评价改革总体方案
- 宾馆卫生培训知识
- 从医院角度推行患者权益保护措施
- JGT486-2015 混凝土用复合掺合料
- 薄世宁医学通识讲义
- 新编利息理论-刘波-课后答案
- 脾功能亢进诊疗规范内科学诊疗规范诊疗指南2023版
- 25手术室护理实践指南
- 灌胶机作业指导书
- 门诊质量控制指标
- 机械工程学科课件
评论
0/150
提交评论