luwei0915

18_三层交换机上的多组 VRRP(数通华为)

1. 网络拓扑

2. SW3配置
[SW3] vlan batch 10 20
[SW3-GigabitEthernet0/0/1] port link-type access
[SW3-GigabitEthernet0/0/1] port default vlan 10
[SW3-GigabitEthernet0/0/2] port link-type access
[SW3-GigabitEthernet0/0/2] port default vlan 20
[SW3-GigabitEthernet0/0/23] port link-type trunk
[SW3-GigabitEthernet0/0/23] port trunk allow-pass vlan 10 20
[SW3-GigabitEthernet0/0/24] port link-type trunk
[SW3-GigabitEthernet0/0/24] port trunk allow-pass vlan 10 20

3. 汇聚交换机SW1的配置
[SW1] vlan batch 10 20
[SW1-GigabitEthernet0/0/1] port link-type trunk
[SW1-GigabitEthernet0/0/1] port trunk allow-pass vlan 10 20
[SW1] interface Vlanif 10
[SW1-vlanif10] ip address 192.168.10.253 24
[SW1-vlanif10] vrrp vrid 10 virtual-ip 192.168.10.254
[SW1-vlanif10] vrrp vrid 10 priority 120
[SW1] interface Vlanif 20
[SW1-vlanif20] ip address 192.168.20.253 24
[SW1-vlanif20] vrrp vrid 20 virtual-ip 192.168.20.254

4. 汇聚交换机SW2的配置如下
[SW2] vlan batch 10 20
[SW2-GigabitEthernet0/0/1] port link-type trunk
[SW2-GigabitEthernet0/0/1] port trunk allow-pass vlan 10 20
[SW2] interface Vlanif 10
[SW2-vlanif10] ip address 192.168.10.252 24
[SW2-vlanif10] vrrp vrid 10 virtual-ip 192.168.10.254
[SW2] interface Vlanif 20
[SW2-vlanif20] ip address 192.168.20.252 24
[SW2-vlanif20] vrrp vrid 20 virtual-ip 192.168.20.254
[SW2-vlanif20] vrrp vrid 20 priority 120

5. 查看配置

 

 

 

分类:

技术点:

相关文章:

  • 2021-11-24
  • 2021-08-14
  • 2022-01-09
  • 2021-09-08
  • 2021-12-19
  • 2021-10-19
  • 2021-12-03
  • 2021-10-17
猜你喜欢
  • 2021-10-26
  • 2021-11-07
  • 2021-11-24
  • 2021-11-17
  • 2021-12-07
  • 2021-08-14
相关资源
相似解决方案