diff --git "a/\347\216\213\346\226\260\351\233\205/20240506-\345\206\227\344\275\231\345\244\207\347\224\250\357\274\214\347\253\257\345\217\243\350\201\232\345\220\210.md" "b/\347\216\213\346\226\260\351\233\205/20240506-\345\206\227\344\275\231\345\244\207\347\224\250\357\274\214\347\253\257\345\217\243\350\201\232\345\220\210.md" new file mode 100644 index 0000000000000000000000000000000000000000..42d3a5f5a705d872f9cc6467285e9af04960177c --- /dev/null +++ "b/\347\216\213\346\226\260\351\233\205/20240506-\345\206\227\344\275\231\345\244\207\347\224\250\357\274\214\347\253\257\345\217\243\350\201\232\345\220\210.md" @@ -0,0 +1,47 @@ +1、新建拓扑图 +![Alt text](./imgs/冗余,聚合.png) + +2、配置IP +PC0:192.168.1.1 + +PC1:192.168.1.2 + +PC2:192.168.1.100 + +PC3:192.168.1.101 + +3、去交换机 + +```js +Switch>en + +Switch#conf t + +// 先分别配置vlan +Switch(config)#int f 0/1 +Switch(config-if)#sw ac vlan 10 +% Access VLAN does not exist. Creating vlan 10 + +Switch(config-if)#int f 0/2 +Switch(config-if)#sw ac vlan 20 +% Access VLAN does not exist. Creating vlan 20 + +// trunk一下通往下一个交换机的端口 +Switch(config-if)#int r f0/22-24 +Switch(config-if-range)#sw mo trunk + + +Switch(config-if-range)#exit + +// 修改收敛速度 +Switch(config)#spanning-tree mode rapid-pvst + +// 汇聚组 +Switch(config)#int r f0/22-24 +Switch(config-if-range)#channel-group 1 mode on + +Switch(config-if-range)#exit + +// 负载均衡 +Switch(config)#port-channel load-balance dst-ip +``` \ No newline at end of file diff --git "a/\347\216\213\346\226\260\351\233\205/imgs/\345\206\227\344\275\231\357\274\214\350\201\232\345\220\210.png" "b/\347\216\213\346\226\260\351\233\205/imgs/\345\206\227\344\275\231\357\274\214\350\201\232\345\220\210.png" new file mode 100644 index 0000000000000000000000000000000000000000..af3afe26a4dd0e6a5be6e0e35d1bf48326c30db1 Binary files /dev/null and "b/\347\216\213\346\226\260\351\233\205/imgs/\345\206\227\344\275\231\357\274\214\350\201\232\345\220\210.png" differ