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. 查看配置

     

     

  • 相关阅读:
    MJRefreshFooterView
    UIActionSheet
    UIAlertView带textField
    SIAlertView
    旋转 锚点
    centos7.2 Apache+PHP7.2+Mysql5.6环境搭建
    ubuntu16.04 mysql 开启远程连接
    Ubuntu16.04重新安装MySQL数据库
    Ubuntu16.04彻底卸载MySQL
    laravel框架基础(2)---laravel项目加载机制
  • 原文地址:https://www.cnblogs.com/luwei0915/p/12117011.html
Copyright © 2011-2022 走看看