0
点赞
收藏
分享

微信扫一扫

WLAN VRRP高可靠性配置

westfallon 2022-04-20 阅读 87
  1. 实验目的:
    1.掌握AC的VRRP的配置方法
    2.掌握二层组网AC配置模板基本原理
    3.掌握二层组网AC下发配置流程

  2. 实验拓扑图
    在这里插入图片描述

  3. 实验配置
    AR1:
    #interface GigabitEthernet0/0/0
    #ip address 10.1.26.24 255.255.255.0
    #interface GigabitEthernet0/0/1
    #interface LoopBack0
    #ip address 114.114.114.114 255.255.255.255
    #ip route-static 0.0.0.0 0.0.0.0 10.1.26.23

    LSW1:
    #vlan batch 23 to 26
    #dhcp enable
    #interface Vlanif23
    #ip address 10.1.23.23 255.255.255.0
    #dhcp select interface
    #interface Vlanif24
    #ip address 10.1.24.23 255.255.255.0
    #dhcp select interface
    #interface Vlanif25
    #ip address 10.1.25.23 255.255.255.0
    #dhcp select interface
    #interface Vlanif26
    #ip address 10.1.26.23 255.255.255.0
    #interface GigabitEthernet0/0/1
    #port link-type access
    #port default vlan 26
    #interface GigabitEthernet0/0/2
    #port link-type trunk
    #port trunk allow-pass vlan 23 to 25
    #interface GigabitEthernet0/0/3
    #port link-type trunk
    #port trunk allow-pass vlan 23 to 26
    #interface GigabitEthernet0/0/4
    #port link-type trunk
    #port trunk pvid vlan 23
    #port trunk allow-pass vlan 23 to 25

    #ip route-static 0.0.0.0 0.0.0.0 10.1.23.100
    #ip route-static 114.114.114.114 255.255.255.255 10.1.26.24

    AC2:
    #vlan batch 23 to 25
    #interface Vlanif23
    #ip address 10.1.23.24 255.255.255.0
    #vrrp vrid 1 virtual-ip 10.1.23.100
    #vrrp vrid 1 priority 120
    #vrrp vrid 1 preempt-mode timer delay 120
    (将AC2设为主AC,AC1设为辅AC)
    #interface Vlanif24
    #ip address 10.1.24.24 255.255.255.0
    #vrrp vrid 2 virtual-ip 10.1.24.100
    #vrrp vrid 2 priority 120
    #vrrp vrid 2 preempt-mode timer delay 120
    (业务vlan也要设置虚拟网关,注意虚拟网关不要和端口地址冲突)
    #interface Vlanif25
    #ip address 10.1.25.24 255.255.255.0
    #vrrp vrid 3 virtual-ip 10.1.25.100
    #vrrp vrid 3 priority 120
    #vrrp vrid 3 preempt-mode timer delay 120

    #interface GigabitEthernet0/0/1
    #port link-type trunk
    #port trunk allow-pass vlan 23 to 25

    #ip route-static 0.0.0.0 0.0.0.0 10.1.23.23
    #capwap source ip-address 10.1.23.100

    #wlan
    #Ap-confirm all
    #ap-group name test
    #quit
    #ap-id 0
    #ap-group test
    #ap-name ap0
    #quit
    #ssid-profile name wmq
    #ssid wmq
    #quit
    #vap-profile name wmq
    #forward-mode direct-forward
    #service-vlan vlan-id 24
    #ssid-profile wmq
    #quit
    #ap-group name test
    #vap-profile wmq wlan 1 radio all
    #quit
    #ssid-profile name wmq1
    #ssid wmq1
    #quit
    #vap-profile name wmq1
    #forward-mode direct-forward
    #service-vlan vlan-id 25
    #ssid-profile wmq1
    #quit
    #ap-group name test
    #vap-profile wmq1 wlan 2 radio all
    #quit

    AC1:
    #vlan batch 23 to 25
    #interface Vlanif23
    #ip address 10.1.23.25 255.255.255.0
    #vrrp vrid 1 virtual-ip 10.1.23.100

    #interface Vlanif24
    #ip address 10.1.24.25 255.255.255.0
    #vrrp vrid 2 virtual-ip 10.1.24.100

    #interface Vlanif25
    #ip address 10.1.25.25 255.255.255.0
    #vrrp vrid 3 virtual-ip 10.1.25.100

    #interface GigabitEthernet0/0/1
    #port link-type trunk
    #port trunk allow-pass vlan 23 to 25

    #ip route-static 0.0.0.0 0.0.0.0 10.1.23.23
    #capwap source ip-address 10.1.23.100

    #wlan
    #Ap-confirm all
    #ap-group name test
    #quit
    #ap-id 0
    #ap-group test
    #ap-name ap0
    #quit
    #ssid-profile name wmq
    #ssid wmq
    #quit
    #vap-profile name wmq
    #forward-mode direct-forward
    #service-vlan vlan-id 24
    #ssid-profile wmq
    #quit
    #ap-group name test
    #vap-profile wmq wlan 1 radio all
    #quit
    #ssid-profile name wmq1
    #ssid wmq1
    #quit
    #vap-profile name wmq1
    #forward-mode direct-forward
    #service-vlan vlan-id 25
    #ssid-profile wmq1
    #quit
    #ap-group name test
    #vap-profile wmq1 wlan 2 radio all
    #quit

  4. 验证
    在这里插入图片描述
    down 掉主ac
    等待时间太长不放图了dawn之后会出现超时,之后恢复通信

举报

相关推荐

0 条评论