交换机端口汇聚的配置 一、实验目的 通过对交换机端口汇聚的配置,了解交换机端口的一些基本配置信息,并掌握相关的重要命令,利用交换机 Console 口命令对交换机进行配置,明白端口汇聚的作用。 二、实验内容 1、修改交换机主机名 2、修改交换机端口地址与属性 3、配置交换机端口的静态 MAC 地址表 4、实现交换机的端口汇聚 三、网络实验图 四、实验步骤 (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. [Quidway]sysname switch1 [switch1]interface ethernet 1/0/1 [switch1-Ethernet0/1]speed 100 VLAN:192.168.1.1/24 VLAN1:192.168.1.2/24 E0/1 E0/1 E0/2 E0/2 Console PC 机 Sw itch1 Sw itch2 [switch1-Ethernet0/1]duplex full [switch1-Ethernet0/1]int e1/0/2 [switch1-Ethernet0/2]speed 100 [switch1-Ethernet0/2]duplex full [switch1-Ethernet0/2]quit (3)、设置 Switch2 的 E0/1 和 E0/2 端口 sys System View: return to User View with Ctrl+Z. [Quidway]sysname switch2 [switch2]interface ethernet 0/1 [switch2-Ethernet0/1]speed 100 [switch2-Ethernet0/1]duplex full [switch2-Ethernet0/1]int e0/2 [switch2-Ethernet0/2]speed 100 [switch2-Ethernet0/2]duplex full [switch2-Ethernet0/2]quit (4)、汇聚交换机的 E0/1 和 E0/2 端口 交换机 Switch1 上端口汇聚 [switch1-Ethernet1/0/2]quit [switch1]link-aggregation group 1 mode static [switch1]interface e1/0/1 [switch1-Ethernet1/0/1]port link-aggregation group 1 [switch1-Ethernet1/0/1]interface e1/0/2 [switch1-Ethernet1/0/2]port link-aggregation group 1 交换机Switch2 上端口汇聚 [switch2]link-aggregation e0/1 to e0/2 both (5)、配置交换机1 的 VLAN1 地址 [switch1]int vlan-interface 1 [switch1-Vlan-interface1] %Apr 2 00:01:27:508 2000 switch1 L2INF/5/VLANIF LINK STATUS...