网站建设网站开发外贸seo优化
优缺点:
存在切换时间
链路实现了分流,实现了负载,但是无法精确
[SW1-Eth-Trunk12]mode ?lacp-static Static working modemanual Manual working mode # 手工负载分担(默认)
中继要配置在终端网关所在设备的接口上,有几个物理口就要配几个中继,如果是逻辑口,就在逻辑口上配置
[DHCP server]dhcp enable
[DHCP server]ip pool vlan-10gateway-list 192.168.10.254 network 192.168.10.0 mask 255.255.255.0 excluded-ip-address 192.168.10.252 192.168.10.253 dns-list 8.8.8.8
[DHCP server]ip pool vlan-20gateway-list 192.168.20.254 network 192.168.20.0 mask 255.255.255.0 excluded-ip-address 192.168.20.252 192.168.20.253 dns-list 9.9.9.9
[DHCP server]int g 0/0/0
dhcp select global
ip add 192.168.30.1 24
[DHCP server]ip route-static 0.0.0.0 0 192.168.30.254
[SW1]dhcp enable
[SW1]interface Eth-Trunk 12mode manual load-balanceload-balance src mactrunkport GigabitEthernet 0/0/1 to 0/0/2p l tp t a v a
[SW1]vlan batch 10 20 30
[SW1]port-group group-member g 0/0/3 g0/0/4p l tp t a v a[SW1]stp region-configurationregion-name huaweirevision-level 12instance 10 vlan 10instance 20 vlan 20active region-configuration
[SW1]stp instance 10 root primary
stp instance 20 root secondary
[SW1]interface Vlanif10ip address 192.168.10.253 255.255.255.0vrrp vrid 1 virtual-ip 192.168.10.254vrrp vrid 1 priority 110vrrp vrid 1 preempt-mode timer delay 60vrrp vrid 1 authentication-mode md5 zE#k7LH.(7^QW:LZJi;=q$a#dhcp select relaydhcp relay server-ip 192.168.30.1
[SW1]interface Vlanif20ip address 192.168.20.252 255.255.255.0vrrp vrid 2 virtual-ip 192.168.20.254vrrp vrid 2 authentication-mode md5 zx'X&KkJA)$+cx#k/mS=-(=#dhcp select relaydhcp relay server-ip 192.168.30.1
[SW1]interface Vlanif30ip address 192.168.30.253 255.255.255.0vrrp vrid 3 virtual-ip 192.168.30.254vrrp vrid 3 priority 110
vrrp vrid 3 preempt-mode timer delay 60
[SW2]dhcp enable
[SW2]interface Eth-Trunk 12mode manual load-balanceload-balance src-mactrunkport GigabitEthernet 0/0/1 to 0/0/2p l tp t a v a
[SW2]vlan batch 10 20 30
[SW2]port-group group-member g 0/0/3 g0/0/4p l tp t a v a
[SW2]stp region-configurationregion-name huaweirevision-level 12instance 10 vlan 10instance 20 vlan 20active region-configuration
[SW2]stp instance 20 root primary
stp instance 10 root secondary
[SW2]interface Vlanif10ip address 192.168.10.252 255.255.255.0vrrp vrid 1 virtual-ip 192.168.10.254vrrp vrid 1 authentication-mode md5 zE#k7LH.(7^QW:LZJi;=q$a#dhcp select relaydhcp relay server-ip 192.168.30.1
[SW2]interface Vlanif20ip address 192.168.20.253 255.255.255.0vrrp vrid 2 virtual-ip 192.168.20.254vrrp vrid 2 priority 110vrrp vrid 2 preempt-mode timer delay 60vrrp vrid 2 authentication-mode md5 zx'X&KkJA)$+cx#k/mS=-(=#dhcp select relaydhcp relay server-ip 192.168.30.1
[SW2]interface Vlanif30ip address 192.168.30.252 255.255.255.0vrrp vrid 3 virtual-ip 192.168.30.254
[SW3]port-group group-member g0/0/3 g0/0/4p l t p t a v a
[SW3]int g0/0/1p l ap d v 10
[SW3]stp region-configurationregion-name huaweirevision-level 12instance 10 vlan 10instance 20 vlan 20active region-configuration
[SW4]port-group group-member g0/0/3 g0/0/4p l t p t a v a
[SW4]int g0/0/1p l ap d v 20
[SW4]int g0/0/2p l ap d v 30
[SW4]stp region-configurationregion-name huaweirevision-level 12instance 10 vlan 10instance 20 vlan 20active region-configuration