H3CTE_VRRP-MSTP综合实验
H3CTE_VRRP-MSTP综合实验 本实验旨在演示H3CTE交换机在VRRP-MSTP环境下的综合实验配置。实验拓扑结构如下: 实验设备:S5800交换机4台 实验配置重点: 1. VLAN配置:vlan 1#vlan 10#vlan 20#vlan 30#vlan 40#vlan 101# 2. STP配置: stp instance 0 root primary stp instance 1 root primary stp instance 2 root secondary stp enable(H3C默认不开启) stp region-configuration region-name ekestin vlan 1#vlan 10#vlan 20#vlan 30#vlan 40#vlan 102 stp instance 0 root secondary stp instance 1 root secondary stp instance 2 root primary stp enable(H3C默认不开启) stp region-configuration region-name ekestin instance 1 vlan 10 30 instance 2 vlan 20 40 active region-configuration(不要忘记激活) 3. 接口配置: interface Bridge-Aggregation1 port link-type trunk port trunk permit vlan 1 10 20 30 40 link-aggregation mode dynamic interface Vlan-interface10 ip address 10.1.10.2 255.255.255.0 vrrp vrid 10 virtual-ip 10.1.10.1 vrrp vrid 10 priority 150 vrrp vrid 10 preempt-mode timer delay 5(打开抢占) vrrp vrid 10 track interface Vlan-interface101 reduced 50 vrrp vrid 10 authentication-mode simple ekestin interface Vlan-interface20 ip address 10.1.20.2 255.255.255.0 vrrp vrid 20 virtual-ip 10.1.20.1 vrrp vrid 20 priority 110 vrrp vrid 20 preempt-mode timer delay 5 vrrp vrid 20 authentication-mode simple ekestin interface Vlan-interface30 ip address 10.1.30.2 255.255.255.0 vrrp vrid 30 virtual-ip 10.1.30.1 vrrp vrid 30 priority 150 vrrp vrid 30 preempt-mode timer delay 5 vrrp vrid 30 track interface Vlan-interface101 reduced 50 vrrp vrid 30 authentication-mode simple ekestin interface Vlan-interface40 ip address 10.1.40.2 255.255.255.0 vrrp vrid 40 virtual-ip 10.1.40.1 vrrp vrid 40 priority 110 vrrp vrid 40 preempt-mode timer delay 5 vrrp vrid 40 authentication-mode simple ekestin interface Vlan-interface101 ip address 100.100.100.100 255.255.255.0 interface GigabitEthernet1/0/1 port link-mode bridge port link-type trunk port trunk permit vlan 1 10 20 30 40 instance 1 vlan 10 30 instance 2 vlan 20 40 active region-configuration(不要忘记激活) interface Bridge-Aggregation1 port link-type trunk port trunk permit vlan 1 10 20 30 40 link-aggregation mode dynamic 从上述配置可以看到,本实验主要涉及到VRRP和MSTP的配置,VRRP是虚拟路由器冗余协议,用于提供路由器的高可用性。MSTP是多实例链路聚合协议,用于提供链路的高可用性。本实验通过组合VRRP和MSTP,提供了一个高可用性的网络架构。