设为首页 收藏本站
查看: 569|回复: 0

[经验分享] Cisco ASA firewall Active/Standby failover-StrongArmsSteady

[复制链接]

尚未签到

发表于 2018-7-12 08:45:13 | 显示全部楼层 |阅读模式
  In this article, I will briefly explain the active/standby failover configuration on the cisco ASA. The lab is done in GNS3.


  • Physical Topology:
    DSC0000.jpg


  •   configuration:
      ciscoasa/act/pri(config)# sh run failover
      failover
      failover lan unit primary
      failover lan interface Failover_Stateless GigabitEthernet0/2
      failover link Failover_Stateful GigabitEthernet0/1
      failover interface ip Failover_Stateless 169.254.0.15 255.255.255.0 standby 169.254.0.16
      failover interface ip Failover_Stateful 169.254.1.15 255.255.255.0 standby 169.254.1.16

  • pitfall:
      The failover ASA pair should have>  The failover configuration order is important. It could blank your active configuration if the order is not correct.
      Also, whenever there is an configuration update, it should be done on the primary / active unit, so the change could be synched to the standby.
      Do this:
      config # prompt hostname state priority

  • the failover could be stateless and stateful, the above configuration configured G0/1 as stateful failover interface.
  •   The "show failover" command will provide the current failover state. If you need to have any interface monitored, do below and add a standby ip address for the interface:
      config # monitor-interface inside | outside | etc.
      ciscoasa/act/pri(config)# sh monitor-interface
      This host: Primary - Active
      Interface management (172.16.212.96): Normal (Waiting)
      Interface inside (10.1.1.1): Normal (Monitored)
      Interface outside (150.1.115.1): Normal (Monitored)
      Other host: Secondary - Standby Ready
      Interface management (0.0.0.0): Normal (Waiting)
      Interface inside (10.1.1.2): Normal (Monitored)
      Interface outside (150.1.115.2): Normal (Monitored)

  • when doing the test, you could enter "failover active" on the secondary ASA, and there will be no interruption for the telnet tcp connection that already exists. As the connection is on both ASA.
  ciscoasa/stby/sec# sh conn
  9 in use, 9 most used

  TCP outside  150.1.115.100:23 inside  10.1.1.100:32526,>  ciscoasa/stby/sec#
  ciscoasa/stby/sec# sh conn
  9 in use, 9 most used

  TCP outside  150.1.115.100:23 inside  10.1.1.100:32526,>  ciscoasa/stby/sec#
  ciscoasa/act/pri# sh failover interface
  interface Failover_Stateless GigabitEthernet0/2
  System IP Address: 169.254.0.15 255.255.255.0
  My IP Address    : 169.254.0.15
  Other IP Address : 169.254.0.16
  interface Failover_Stateful GigabitEthernet0/1
  System IP Address: 169.254.1.15 255.255.255.0
  My IP Address    : 169.254.1.15
  Other IP Address : 169.254.1.16
  

ciscoasa/act/pri# sh failover  

  Failover On
  Failover unit Primary
  Failover LAN Interface: Failover_Stateless GigabitEthernet0/2 (up)
  Reconnect timeout 0:00:00
  Unit Poll frequency 1 seconds, holdtime 15 seconds
  Interface Poll frequency 5 seconds, holdtime 25 seconds
  Interface Policy 1
  Monitored Interfaces 3 of 36 maximum
  MAC Address Move Notification Interval not set
  Version: Ours 9.6(2), Mate 9.6(2)
  Serial Number: Ours 9A9PLK9VKN2, Mate 9A8UNB99VES
  Last Failover at: 11:59:50 UTC Jun 2 2018
  This host: Primary - Active
  Active time: 1082 (sec)
  slot 0: empty
  Interface management (172.16.212.96): Normal (Waiting)
  Interface inside (10.1.1.1): Normal (Monitored)
  Interface outside (150.1.115.1): Normal (Monitored)
  Other host: Secondary - Standby Ready
  Active time: 137 (sec)
  Interface management (0.0.0.0): Normal (Waiting)
  Interface inside (10.1.1.2): Normal (Monitored)
  Interface outside (150.1.115.2): Normal (Monitored)


  • Interesting Log:
  This is from primary:
  ciscoasa(config)# failover
  ciscoasa(config)# %ASA-1-105002: (Primary) Enabling failover.
  .
  

    No Active mate detected  

  Beginning configuration replication: Sending to mate.
  %ASA-1-709003: (Primary) Beginning configuration replication: Send to mate.
  End Configuration Replication to mate
  %ASA-1-709004: (Primary) End Configuration Replication (ACT)
  This is from Secondary:
  Detected an Active mate
  Beginning configuration replication from mate.
  %ASA-1-709005: (Secondary) Beginning configuration replication: Receiving from mate.
  WARNING: Disabling auto import may affect Smart Licensing
  Creating trustpoint "_SmartCallHome_ServerCA" and installing certificate...
  Trustpoint CA certificate accepted.
  WARNING: Failover is enabled but standby IP address is not configured for this interface.
  WARNING: Failover is enabled but standby IP address is not configured for this interface.
  WARNING: Failover is enabled but standby IP address is not configured for this interface.
  WARNING: Trustpoint _SmartCallHome_ServerCA is already authenticated.
  End configuration replication from mate.
  ciscoasa(config)# %ASA-4-405003: IP address collision detected between host 169.254.0.15 at 5260.89c0.6003 and interface Failover_Stateless, 5260.89e7.4903
  ciscoasa/act/pri# sh arp
  inside 10.1.1.100 aabb.cc00.0200 2408
  outside 150.1.115.100 aabb.cc00.0300 1761
  Failover_Stateless 169.254.0.16 5260.89c0.6003 1248
  Failover_Stateful 169.254.1.16 5260.89c0.6002 2030
  ciscoasa/stby/sec# sh arp
  inside 10.1.1.100 aabb.cc00.0200 2069
  Failover_Stateless 169.254.0.15 5260.89e7.4903 1289
  outside 150.1.115.100 aabb.cc00.0300 1802
  Failover_Stateful 169.254.1.15 5260.89e7.4902 207

运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.yunweiku.com/thread-536335-1-1.html 上篇帖子: Cisco3560配置(生产环境) 下篇帖子: 第七期 思科【cisco】命令
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表