3750交换机交换机配置 联系客服

发布时间 : 星期六 文章3750交换机交换机配置更新完毕开始阅读3cece2e04028915f804dc2fc

startup-config

配置STP路径值的负载均衡

也可以通过配置配置STP路径值来实现负载均衡,如下图所示 Trunk1走VLAN8-10,Trunk2走VLAN2-4

Step 1 Step 2 命令 目的 configure terminal interface fastethernet 0/1 switchport trunk encapsulation {isl | dot1q | negotiate} switchport mode trunk exit end 进入 Switch 1配置状态 进入F0/1 Step 3 配置封装 Step 4 Step 5 Step 6 Step 7 配置Trunk,缺省是ISL封装 退回 在F0/2口上重复2-4步骤 退出 网址导航 http://utiao.net

Step 8 Step 9 show running-config show vlan 验证配置 验证switch1已经学到Vlan 进入配置状态 进入F0/1 Step 10 configure terminal Step 11 interface fastethernet 0/1 Step 12 spanning-tree vlan 2 cost 30 Step 13 spanning-tree vlan 3 cost 30 Step 14 spanning-tree vlan 4 cost 30 Step 15 end Step 16 设置Vlan2生成树路径值为30 设置Vlan3生成树路径值为30 设置Vlan4生成树路径值为30 退出 在switch1的F0/2上重复9-11步骤设置VLAN8,9,10生成树路径值为30 退出 验证配置 保存配置-http://www.utiao.net Step 17 exit Step 18 show running-config Step 19 copy running-config startup-config 网址导航 http://utiao.net