zoukankan      html  css  js  c++  java
  • 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. 查看配置

     

     

  • 相关阅读:
    「训练反思18」 (8.16) 认清自己
    「训练日志17」 (8.12) 崩盘
    「训练日志16」 8.11 下坠
    「训练日志15」 (8.10)
    「训练反思15」(8.10)
    「训练日志14 」(8.9) 失败
    训练日志13 (8.7)
    Linux 设置vim指令
    训练日志12 (8.5)
    训练反思12 (8.5)
  • 原文地址:https://www.cnblogs.com/luwei0915/p/12117011.html
Copyright © 2011-2022 走看看