• 全部
  • 经验案例
  • 典型配置
  • 技术公告
  • FAQ
  • 漏洞说明
  • 全部
  • 全部
  • 大数据引擎
  • 知了引擎
产品线
搜索
取消
案例类型
发布者
是否解决
是否官方
时间
搜索引擎
匹配模式
高级搜索

V7盒式防火墙冗余组track结合nqa检测下一跳地址典型配置

2017-07-31 发表
  • 0关注
  • 4收藏 3219浏览
杨勇 四段
粉丝:0人 关注:0人

客户现网是F1020的防火墙做了IRF,双出口电信、联通接在不同的防火墙上,现在想配置冗余组实现主备切换,另外客户反馈想通过对上行检测下一跳地址来切换而不仅仅是接口物理状态。



1、接口ip地址、安全域、域间策略、路由配置略

2、防火墙配置如下:

#

nqa entry admin test

 type icmp-echo

  destination ip 10.1.1.1

  frequency 100

 trigger-only

#

nqa schedule admin test start-time now lifetime forever

#

interface Reth2

 ip address 40.1.1.2 255.255.255.0

 member interface GigabitEthernet1/0/14 priority 255

 member interface GigabitEthernet2/0/14 priority 50

#

interface GigabitEthernet1/0/15

 port link-mode route

 ip address 10.1.1.2 255.255.255.0

 nat outbound

#

interface GigabitEthernet2/0/15

 port link-mode route

 ip address 20.1.1.2 255.255.255.0

 nat outbound

#

redundancy group aaa

 member interface Reth2

 node 1

  bind slot 1

  priority 100

  track 1 interface GigabitEthernet1/0/15

  track 2 interface GigabitEthernet1/0/14

  node-member interface GigabitEthernet1/0/15

 node 2

  bind slot 2

  priority 50

  track 3 interface GigabitEthernet2/0/15

  track 4 interface GigabitEthernet2/0/14

  node-member interface GigabitEthernet2/0/15

#

    track 1 nqa entry admin test reaction 1

 track 2 interface GigabitEthernet1/0/14 physical

 track 3 interface GigabitEthernet2/0/15 physical

 track 4 interface GigabitEthernet2/0/14 physical

#

测试过程:

(1)正常情况下冗余接口、冗余组状态

[H3C]dis redundancy group

Redundancy group aaa (ID 1):

  Node ID      Slot          Priority   Status        Track weight

  1            Slot1         100        Primary       255

  2            Slot2         50         Secondary     255

 

Preempt delay time remained     : 0    min

Preempt delay timer setting     : 1    min

Remaining hold-down time        : 0    sec

Hold-down timer setting         : 1    sec

Manual switchover request       : No

 

Member interfaces:

    Reth2            

 

Node 1:

  Node member     Physical status

    GE1/0/15      UP

  Track info:

    Track    Status       Reduced weight     Interface

    1        Positive     255                GE1/0/15

    2        Positive     255                GE1/0/14

Node 2:

  Node member     Physical status

    GE2/0/15      UP

  Track info:

    Track    Status       Reduced weight     Interface

    3        Positive     255                GE2/0/15

    4        Positive     255                GE2/0/14

[H3C] dis reth int reth 2

Reth2 :

  Redundancy group  : aaa

  Member           Physical status         Forwarding status   Presence status

  GE1/0/14         UP                      Active              Normal

  GE2/0/14         UP                      Inactive            Normal

(2)断开上行交换机和路由器互联接口,冗余接口、冗余组切换状态

[H3C]dis redundancy group

Redundancy group aaa (ID 1):

  Node ID      Slot          Priority   Status        Track weight

  1            Slot1         100        Secondary     -255

  2            Slot2         50         Primary       255

 

Preempt delay time remained     : 0    min

Preempt delay timer setting     : 1    min

Remaining hold-down time        : 0    sec

Hold-down timer setting         : 1    sec

Manual switchover request       : No

 

Member interfaces:

    Reth2            

 

Node 1:

  Node member     Physical status

    GE1/0/15      UP

  Track info:

    Track    Status       Reduced weight     Interface

    1        Negative     255                GE1/0/15(Fault)

    2        Negative     255                GE1/0/14

Node 2:

  Node member     Physical status

    GE2/0/15      UP

  Track info:

    Track    Status       Reduced weight     Interface

    3        Positive     255                GE2/0/15

    4        Positive     255                GE2/0/14

[H3C]dis reth int reth 2

Reth2 :

  Redundancy group  : aaa

  Member           Physical status         Forwarding status   Presence status

  GE1/0/14         DOWN(redundancy down)   Inactive            Normal

  GE2/0/14         UP                      Active              Normal

(3)恢复交换机和路由器互联接口,冗余接口、冗余组回切状态

[H3C]dis redundancy group

Redundancy group aaa (ID 1):

  Node ID      Slot          Priority   Status        Track weight

  1            Slot1         100        Primary           255

  2            Slot2         50         Secondary         255

 

Preempt delay time remained     : 1    min

Preempt delay timer setting     : 1    min

Remaining hold-down time        : 0    sec

Hold-down timer setting         : 1    sec

Manual switchover request       : No

 

Member interfaces:

    Reth2            

 

Node 1:

  Node member     Physical status

    GE1/0/15      UP

  Track info:

    Track    Status       Reduced weight     Interface

    1        Positive     255                GE1/0/15

    2        Positive     255                GE1/0/14

Node 2:

  Node member     Physical status

    GE2/0/15      UP

  Track info:

    Track    Status       Reduced weight     Interface

    3        Positive     255                GE2/0/15

    4        Positive     255                GE2/0/14

[H3C]dis reth int reth 2

Reth2 :

  Redundancy group  : aaa

  Member           Physical status         Forwarding status   Presence status

  GE1/0/14         UP                      Active              Normal

  GE2/0/14         UP                      Inactive            Normal

 

(4)切换过程中业务丢包情况测试

[SW1]ping -c 1000 100.1.1.1

  PING 100.1.1.1: 56  data bytes, press CTRL_C to break

    Reply from 100.1.1.1: bytes=56 Sequence=1 ttl=254 time=2 ms

    Reply from 100.1.1.1: bytes=56 Sequence=2 ttl=254 time=2 ms

    Reply from 100.1.1.1: bytes=56 Sequence=3 ttl=254 time=2 ms

    Reply from 100.1.1.1: bytes=56 Sequence=12 ttl=254 time=2 ms

    Reply from 100.1.1.1: bytes=56 Sequence=15 ttl=254 time=2 ms

    Reply from 100.1.1.1: bytes=56 Sequence=16 ttl=254 time=1 ms

    Reply from 100.1.1.1: bytes=56 Sequence=17 ttl=254 time=1 ms

    Reply from 100.1.1.1: bytes=56 Sequence=18 ttl=254 time=2 ms

    Reply from 100.1.1.1: bytes=56 Sequence=19 ttl=254 time=2 ms

    Request time out

    Request time out                      //主切备

    Request time out

    Reply from 100.1.1.1: bytes=56 Sequence=23 ttl=254 time=3 ms

    Reply from 100.1.1.1: bytes=56 Sequence=24 ttl=254 time=2 ms

    Reply from 100.1.1.1: bytes=56 Sequence=25 ttl=254 time=2 ms

    Reply from 100.1.1.1: bytes=56 Sequence=26 ttl=254 time=2 ms

                     :

                     :

                     :

                     :

    Reply from 100.1.1.1: bytes=56 Sequence=214 ttl=254 time=2 ms

    Reply from 100.1.1.1: bytes=56 Sequence=215 ttl=254 time=2 ms

    Reply from 100.1.1.1: bytes=56 Sequence=216 ttl=254 time=1 ms

    Reply from 100.1.1.1: bytes=56 Sequence=217 ttl=254 time=12 ms

    Reply from 100.1.1.1: bytes=56 Sequence=220 ttl=254 time=2 ms

    Reply from 100.1.1.1: bytes=56 Sequence=221 ttl=254 time=3 ms

    Reply from 100.1.1.1: bytes=56 Sequence=222 ttl=254 time=2 ms

    Reply from 100.1.1.1: bytes=56 Sequence=223 ttl=254 time=2 ms

    Reply from 100.1.1.1: bytes=56 Sequence=224 ttl=254 time=2 ms

    Reply from 100.1.1.1: bytes=56 Sequence=225 ttl=254 time=2 ms

    Reply from 100.1.1.1: bytes=56 Sequence=226 ttl=254 time=2 ms

    Request time out                    //备回切主

    Reply from 100.1.1.1: bytes=56 Sequence=228 ttl=254 time=2 ms

    Reply from 100.1.1.1: bytes=56 Sequence=229 ttl=254 time=2 ms

 

可以看出在主设备切换成备设备的过程中大概丢3个包左右,备设备回切到主设备的过程中大概丢1个包左右。



该案例对您是否有帮助:

您的评价:1

若您有关于案例的建议,请反馈:

作者在2019-06-10对此案例进行了修订
0 个评论

该案例暂时没有网友评论

编辑评论

举报

×

侵犯我的权益 >
对根叔知了社区有害的内容 >
辱骂、歧视、挑衅等(不友善)

侵犯我的权益

×

泄露了我的隐私 >
侵犯了我企业的权益 >
抄袭了我的内容 >
诽谤我 >
辱骂、歧视、挑衅等(不友善)
骚扰我

泄露了我的隐私

×

您好,当您发现根叔知了上有泄漏您隐私的内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到pub.zhiliao@h3c.com 邮箱,我们会尽快处理。
  • 1. 您认为哪些内容泄露了您的隐私?(请在邮件中列出您举报的内容、链接地址,并给出简短的说明)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)

侵犯了我企业的权益

×

您好,当您发现根叔知了上有关于您企业的造谣与诽谤、商业侵权等内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到 pub.zhiliao@h3c.com 邮箱,我们会在审核后尽快给您答复。
  • 1. 您举报的内容是什么?(请在邮件中列出您举报的内容和链接地址)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)
  • 3. 是哪家企业?(营业执照,单位登记证明等证件)
  • 4. 您与该企业的关系是?(您是企业法人或被授权人,需提供企业委托授权书)
我们认为知名企业应该坦然接受公众讨论,对于答案中不准确的部分,我们欢迎您以正式或非正式身份在根叔知了上进行澄清。

抄袭了我的内容

×

原文链接或出处

诽谤我

×

您好,当您发现根叔知了上有诽谤您的内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到pub.zhiliao@h3c.com 邮箱,我们会尽快处理。
  • 1. 您举报的内容以及侵犯了您什么权益?(请在邮件中列出您举报的内容、链接地址,并给出简短的说明)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)
我们认为知名企业应该坦然接受公众讨论,对于答案中不准确的部分,我们欢迎您以正式或非正式身份在根叔知了上进行澄清。

对根叔知了社区有害的内容

×

垃圾广告信息
色情、暴力、血腥等违反法律法规的内容
政治敏感
不规范转载 >
辱骂、歧视、挑衅等(不友善)
骚扰我
诱导投票

不规范转载

×

举报说明

提出建议

    +

亲~登录后才可以操作哦!

确定

亲~检测到您登陆的账号未在http://hclhub.h3c.com进行注册

注册后可访问此模块

跳转hclhub

你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作