2022年2022年华为交换机端口汇聚的配置 .pdf
-
资源ID:33370222
资源大小:93.38KB
全文页数:10页
- 资源格式: PDF
下载积分:4.3金币
快捷下载
会员登录下载
微信登录下载
三方登录下载:
微信扫一扫登录
友情提示
2、PDF文件下载后,可能会被浏览器默认打开,此种情况可以点击浏览器菜单,保存网页到桌面,就可以正常下载了。
3、本站不支持迅雷下载,请使用电脑自带的IE浏览器,或者360浏览器、谷歌浏览器下载即可。
4、本站资源下载后的文档和图纸-无水印,预览文档经过压缩,下载后原文更清晰。
5、试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。
|
2022年2022年华为交换机端口汇聚的配置 .pdf
交换机端口汇聚的配置一、实验目的通过对交换机端口汇聚的配置,了解交换机端口的一些基本配置信息,并掌握相关的重要命令,利用交换机 Console 口命令对交换机进行配置,明白端口汇聚的作用。二、实验内容1、修改交换机主机名2、修改交换机端口地址与属性3、配置交换机端口的静态MAC 地址表4、实现交换机的端口汇聚三、网络实验图名师资料总结 - - -精品资料欢迎下载 - - - - - - - - - - - - - - - - - - 名师精心整理 - - - - - - - 第 1 页,共 10 页 - - - - - - - - - 四、实验步骤(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 端口 sysSystem View: return to User View with Ctrl+Z. Quidway sysname switch1 switch1interface ethernet 1/0/1 switch1-Ethernet0/1speed 100VLAN :192.168.1.1/24 VLAN1 : 192.168.1.2/24 E0/1 E0/1 E0/2 E0/2 Console PC 机Switch1 Switch2 名师资料总结 - - -精品资料欢迎下载 - - - - - - - - - - - - - - - - - - 名师精心整理 - - - - - - - 第 2 页,共 10 页 - - - - - - - - - switch1-Ethernet0/1duplex full switch1-Ethernet0/1int e1/0/2 switch1-Ethernet0/2speed 100 switch1-Ethernet0/2duplex fullswitch1-Ethernet0/2quit (3) 、设置 Switch2 的 E0/1 和 E0/2 端口 sys System View: return to User View with Ctrl+Z. Quidway sysname switch2switch2interface ethernet 0/1 switch2-Ethernet0/1speed 100 switch2-Ethernet0/1duplex full switch2-Ethernet0/1int e0/2 switch2-Ethernet0/2speed 100switch2-Ethernet0/2duplex full switch2-Ethernet0/2quit (4) 、汇聚交换机的E0/1 和 E0/2 端口交换机 Switch1 上端口汇聚switch1-Ethernet1/0/2quit switch1link-aggregation group 1 mode static 名师资料总结 - - -精品资料欢迎下载 - - - - - - - - - - - - - - - - - - 名师精心整理 - - - - - - - 第 3 页,共 10 页 - - - - - - - - - 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 交换机 Switch2 上端口汇聚switch2link-aggregation e0/1 to e0/2 both (5) 、配置交换机 1 的 VLAN1 地址switch1int vlan-interface 1switch1-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 名师资料总结 - - -精品资料欢迎下载 - - - - - - - - - - - - - - - - - - 名师精心整理 - - - - - - - 第 4 页,共 10 页 - - - - - - - - - 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 1switch2-Vlan-interface1ip address 192.168.1.2 255.255.0 switch2-Vlan-interface1quit switch2disp interface vlan 1Vlan-interface1 current state :UPD Line protocol current state :UP switch2-Ethernet1/0/2 名师资料总结 - - -精品资料欢迎下载 - - - - - - - - - - - - - - - - - - 名师精心整理 - - - - - - - 第 5 页,共 10 页 - - - - - - - - - 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 VL Internet Address is 192.168.1.2/24 Primary227634, ifAdminStatus is 1, ifOperStatuN1, Description : HUAWEI, Quidway Series, Vlan-interface1 Interface-Vlan-interfa s 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 名师资料总结 - - -精品资料欢迎下载 - - - - - - - - - - - - - - - - - - 名师精心整理 - - - - - - - 第 6 页,共 10 页 - - - - - - - - - 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 AGING 00e0-4c90-3da5 1 Learned Ethernet1/0/24 AGING 名师资料总结 - - -精品资料欢迎下载 - - - - - - - - - - - - - - - - - - 名师精心整理 - - - - - - - 第 7 页,共 10 页 - - - - - - - - - - 2 mac address(es) found - switch1int e1/0/1 switch1-Ethernet1/0/1shutdownswitch1-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 - 名师资料总结 - - -精品资料欢迎下载 - - - - - - - - - - - - - - - - - - 名师精心整理 - - - - - - - 第 8 页,共 10 页 - - - - - - - - - Ethernet1/0/1: is DOWN switch1-Ethernet1/0/1quit 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=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 ms 名师资料总结 - - -精品资料欢迎下载 - - - - - - - - - - - - - - - - - - 名师精心整理 - - - - - - - 第 9 页,共 10 页 - - - - - - - - - switch1disp mac-address MAC ADDR VLAN ID STATE PORT INDEX AGING TIME(s) 000f-e21a-ec6f 1 Learned Ethernet1/0/2 AGING 0016-ec0b-d89b 1 Learned Ethernet1/0/2 AGING 00e0-4c90-3da5 1 Learned Ethernet1/0/24 AGING - 3 mac address(es) found - 五、实验小结由 显 示 的MAC地 址 看 出 , 此 时MAC地 址000f-e21a-ec6f 、0016-ec0b-d89b 都在 E0/2 端口所连接的网段上。由此可知,Switch1 把发到目的节点000f-e21a-ec6f 、 0016-ec0b-d89b 的数据帧通过 E0/2这个备份端口转发,显示了端口汇聚的相互备份作用。名师资料总结 - - -精品资料欢迎下载 - - - - - - - - - - - - - - - - - - 名师精心整理 - - - - - - - 第 10 页,共 10 页 - - - - - - - - -