赞
踩
VRRP是一种容错协议,它保证当主机的下一跳路由器出现故障时,由另一台路由器来代替出现故障的路由器进行工作,从而保持网络通信的连续性和可靠性。
MSTP:多生成树协议,通过生成多个生成树,来解决以太网环路问题。
sy sw3
un in en
vlan batch 10 20 30 40
interface g0/0/2
port link-type access
port default vlan 10
q
interface g0/0/3
port link-type access
port default vlan 20
sy sw4
un in en
vlan batch 10 20 30 40
interface g0/0/2
port link-type access
port default vlan 30
q
interface g0/0/3
port link-type access
port default vlan 40
q
interface g0/0/1
port link-type trunk
port trunk allow-pass vlan 10 20
interface g0/0/4
port link-type trunk
port trunk allow-pass vlan 10 20
interface g0/0/1
port link-type trunk
port trunk allow-pass vlan 30 40
q
interface g0/0/4
port link-type trunk
port trunk allow-pass vlan 30 40
q
sy sw1
un in en
vlan batch 10 20 30 40
interface GigabitEthernet0/0/1
port link-type trunk
port trunk allow-pass vlan 10 20
interface GigabitEthernet0/0/3
port link-type trunk
port trunk allow-pass vlan 30 40
sy sw2
un in en
vlan batch 10 20 30 40
interface GigabitEthernet0/0/1
port link-type trunk
port trunk allow-pass vlan 30 40
interface GigabitEthernet0/0/3
port link-type trunk
port trunk allow-pass vlan 10 20
SW1和SW2之间我们用两根网线,做成链路聚合。
SW1配置
[hxsw1]int Eth-Trunk 1
[hxsw1-Eth-Trunk1]mode lacp-static
[hxsw1-Eth-Trunk1]trunkport g0/0/2
Info: This operation may take a few seconds. Please wait for a moment...done.
[hxsw1-Eth-Trunk1]trunkport g0/0/5
Info: This operation may take a few seconds. Please wait for a moment...done.
SW2配置
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。