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

防火墙上做完NQA和策略路由的联动之后,怎么有一条没生效?

2024-06-27提问
  • 0关注
  • 0收藏,161浏览
粉丝:0人 关注:0人

问题描述:

做的策略路由,10段的地址走联通,20段和30段的走电信,但是做完之后10段和30段的正常,20段的默认走了联通的链路,这是咋回事呢?

组网及组网描述:

最佳答案

粉丝:103人 关注:8人

acl写的有问题吧,检查下acl


ACL3000匹配的10段的地址,3100匹配的20段和30段的地址

白夜行 发表时间:2024-06-27

配置发上来看下吧

zhiliao_sEUyB 发表时间:2024-06-27

version 7.1.064, Release 9560P40 # sysname FW # clock protocol none # context Admin id 1 # irf mac-address persistent timer irf auto-update enable undo irf link-delay irf member 1 priority 1 # track 1 nqa entry track1 node1 reaction 1 # track 2 nqa entry track2 node2 reaction 2 # ip unreachables enable ip ttl-expires enable # dns proxy enable dns server 8.8.8.8 dns server 114.114.114.114 dns server 202.99.160.68 dns server 202.99.166.4 dns server 223.5.5.5 # lldp global enable # password-recovery enable # vlan 1 # object-group ip address 10 security-zone Trust 0 network subnet 192.168.10.0 255.255.254.0 # object-group ip address 20 security-zone Trust 0 network subnet 192.168.20.0 255.255.254.0 # policy-based-route waiwang permit node 10 if-match acl 3001 apply next-hop 27.128.180.49 track 1 # policy-based-route waiwang permit node 20 if-match acl 3002 apply next-hop 121.28.214.9 track 2 # policy-based-route waiwang permit node 30 # nqa entry track1 node1 type icmp-echo destination ip 223.5.5.5 frequency 3000 next-hop ip 27.128.180.49 reaction 1 checked-element probe-fail threshold-type consecutive 3 action-type trigger-only # nqa entry track2 node2 type icmp-echo destination ip 223.5.5.5 frequency 3000 next-hop ip 121.28.214.9 reaction 1 checked-element probe-fail threshold-type consecutive 3 action-type trigger-only # nqa schedule track1 node1 start-time now lifetime forever nqa schedule track2 node2 start-time now lifetime forever # controller Cellular1/0/0 # controller Cellular1/0/1 # interface NULL0 # interface Vlan-interface1 # interface GigabitEthernet1/0/0 port link-mode route combo enable copper ip address 192.168.0.1 255.255.255.0 # interface GigabitEthernet1/0/1 port link-mode route combo enable copper ip address 27.128.180.61 255.255.255.240 nat outbound ip policy-based-route waiwang # interface GigabitEthernet1/0/2 port link-mode route # interface GigabitEthernet1/0/4 port link-mode route ip address 121.28.214.10 255.255.255.252 nat outbound ip policy-based-route waiwang # interface GigabitEthernet1/0/5 port link-mode route ip address 192.168.1.2 255.255.255.0 # interface GigabitEthernet1/0/6 port link-mode route # interface GigabitEthernet1/0/7 port link-mode route # interface GigabitEthernet1/0/8 port link-mode route # interface GigabitEthernet1/0/9 port link-mode route # interface GigabitEthernet1/0/10 port link-mode route # interface GigabitEthernet1/0/11 port link-mode route # interface GigabitEthernet1/0/3 port link-mode bridge # security-zone name Local # security-zone name Trust import interface GigabitEthernet1/0/5 import interface GigabitEthernet1/0/7 import interface Vlan-interface1 # security-zone name DMZ # security-zone name Untrust # security-zone name Management import interface GigabitEthernet1/0/0 # security-zone name untrust1 import interface GigabitEthernet1/0/1 # security-zone name untrust2 import interface GigabitEthernet1/0/4 # scheduler logfile size 16 # line class aux user-role network-operator # line class console authentication-mode scheme user-role network-admin # line class vty user-role network-operator # line aux 0 user-role network-admin # line con 0 user-role network-admin # line vty 0 63 authentication-mode scheme user-role network-admin # ip route-static 0.0.0.0 0 27.128.180.49 ip route-static 0.0.0.0 0 121.28.214.9 ip route-static 192.168.10.0 24 192.168.1.254 ip route-static 192.168.20.0 24 192.168.1.254 ip route-static 192.168.30.0 24 192.168.1.254 # performance-management # ssh server enable ssh server acl 3000 # arp ip-conflict log prompt # acl advanced 3000 rule 0 permit ip source 192.168.20.0 0.0.0.255 rule 5 deny ip # acl advanced 3001 rule 0 permit ip source 192.168.20.0 0.0.0.255 rule 5 permit ip source 192.168.30.0 0.0.0.255 # acl advanced 3002 rule 0 permit ip source 192.168.10.0 0.0.0.255 # undo password-control blacklist all-line # domain system # domain default enable system # role name level-0 description Predefined level-0 role # role name level-1 description Predefined level-1 role # role name level-2 description Predefined level-2 role # role name level-3 description Predefined level-3 role # role name level-4 description Predefined level-4 role # role name level-5 description Predefined level-5 role # role name level-6 description Predefined level-6 role # role name level-7 description Predefined level-7 role # role name level-8 description Predefined level-8 role # role name level-9 description Predefined level-9 role # role name level-10 description Predefined level-10 role # role name level-11 description Predefined level-11 role # role name level-12 description Predefined level-12 role # role name level-13 description Predefined level-13 role # role name level-14 description Predefined level-14 role # user-group system # local-user admin class manage password hash $h$6$y1Z6s7JQZ78VpjW+$adOvbv6Hk9Q5bysbs6xSCWmmyqh/160tVTXVpMqRVLtrn2ycpSxf4dpvnCw55vnTUly1P/9wFP9Ic3PeuW/uow== service-type ssh terminal https authorization-attribute user-role level-3 authorization-attribute user-role network-admin authorization-attribute user-role network-operator # session top-statistics enable # ipsec logging negotiation enable # ike logging negotiation enable # ip https enable # blacklist global enable # url-filter signature auto-update update schedule daily start-time 02:00:00 tingle 120 # ips signature auto-update update schedule daily start-time 02:00:00 tingle 120 # app-profile 1_IPv4 ips apply policy default mode protect url-filter apply policy default anti-virus apply policy default mode protect # loadbalance isp file flash:/lbispinfo_v1.5.tp # traffic-policy rule 1 name 限速10 action qos profile 限速10 source-address address-set 10 source-zone Trust destination-zone Untrust rule 2 name 限速20 action qos profile 限速20 source-address address-set 20 source-zone Trust destination-zone Untrust profile name 限速10 bandwidth total guaranteed 300000 bandwidth total maximum 350000 bandwidth total guaranteed per-ip 10000 profile name 限速20 bandwidth total guaranteed 100000 bandwidth total maximum 150000 bandwidth total guaranteed per-ip 10000 # security-policy ip rule 0 name test action pass source-zone local source-zone trust destination-zone local destination-zone trust rule 1 name shouquan action pass profile 1_IPv4 source-zone Untrust destination-zone Trust rule 2 name trust-untrust action pass source-zone trust destination-zone untrust1 destination-zone untrust2 rule 3 name per-nqa action pass source-zone trust destination-zone untrust1 destination-zone untrust2 destination-ip-host 223.5.5.5 rule 4 name local-untrust action pass source-zone local destination-zone untrust1 destination-zone untrust2 # security-policy ipv6 # anti-virus signature auto-update update schedule daily start-time 02:00:00 tingle 120 # cloud-management server domain opstunnel-seccloud.h3c.com # return

白夜行 发表时间:2024-06-27
2 个回答
粉丝:0人 关注:0人

断了其中一条链路,也可以正常切换到另外一条链路

粉丝:2人 关注:3人

粘贴一下配置

呃呃呃,在客户防火墙上配置的,没有备份qwq

白夜行 发表时间:2024-06-27

version 7.1.064, Release 9560P40 # sysname FW # clock protocol none # context Admin id 1 # irf mac-address persistent timer irf auto-update enable undo irf link-delay irf member 1 priority 1 # track 1 nqa entry track1 node1 reaction 1 # track 2 nqa entry track2 node2 reaction 2 # ip unreachables enable ip ttl-expires enable # dns proxy enable dns server 8.8.8.8 dns server 114.114.114.114 dns server 202.99.160.68 dns server 202.99.166.4 dns server 223.5.5.5 # lldp global enable # password-recovery enable # vlan 1 # object-group ip address 10 security-zone Trust 0 network subnet 192.168.10.0 255.255.254.0 # object-group ip address 20 security-zone Trust 0 network subnet 192.168.20.0 255.255.254.0 # policy-based-route waiwang permit node 10 if-match acl 3001 apply next-hop 27.128.180.49 track 1 # policy-based-route waiwang permit node 20 if-match acl 3002 apply next-hop 121.28.214.9 track 2 # policy-based-route waiwang permit node 30 # nqa entry track1 node1 type icmp-echo destination ip 223.5.5.5 frequency 3000 next-hop ip 27.128.180.49 reaction 1 checked-element probe-fail threshold-type consecutive 3 action-type trigger-only # nqa entry track2 node2 type icmp-echo destination ip 223.5.5.5 frequency 3000 next-hop ip 121.28.214.9 reaction 1 checked-element probe-fail threshold-type consecutive 3 action-type trigger-only # nqa schedule track1 node1 start-time now lifetime forever nqa schedule track2 node2 start-time now lifetime forever # controller Cellular1/0/0 # controller Cellular1/0/1 # interface NULL0 # interface Vlan-interface1 # interface GigabitEthernet1/0/0 port link-mode route combo enable copper ip address 192.168.0.1 255.255.255.0 # interface GigabitEthernet1/0/1 port link-mode route combo enable copper ip address 27.128.180.61 255.255.255.240 nat outbound ip policy-based-route waiwang # interface GigabitEthernet1/0/2 port link-mode route # interface GigabitEthernet1/0/4 port link-mode route ip address 121.28.214.10 255.255.255.252 nat outbound ip policy-based-route waiwang # interface GigabitEthernet1/0/5 port link-mode route ip address 192.168.1.2 255.255.255.0 # interface GigabitEthernet1/0/6 port link-mode route # interface GigabitEthernet1/0/7 port link-mode route # interface GigabitEthernet1/0/8 port link-mode route # interface GigabitEthernet1/0/9 port link-mode route # interface GigabitEthernet1/0/10 port link-mode route # interface GigabitEthernet1/0/11 port link-mode route # interface GigabitEthernet1/0/3 port link-mode bridge # security-zone name Local # security-zone name Trust import interface GigabitEthernet1/0/5 import interface GigabitEthernet1/0/7 import interface Vlan-interface1 # security-zone name DMZ # security-zone name Untrust # security-zone name Management import interface GigabitEthernet1/0/0 # security-zone name untrust1 import interface GigabitEthernet1/0/1 # security-zone name untrust2 import interface GigabitEthernet1/0/4 # scheduler logfile size 16 # line class aux user-role network-operator # line class console authentication-mode scheme user-role network-admin # line class vty user-role network-operator # line aux 0 user-role network-admin # line con 0 user-role network-admin # line vty 0 63 authentication-mode scheme user-role network-admin # ip route-static 0.0.0.0 0 27.128.180.49 ip route-static 0.0.0.0 0 121.28.214.9 ip route-static 192.168.10.0 24 192.168.1.254 ip route-static 192.168.20.0 24 192.168.1.254 ip route-static 192.168.30.0 24 192.168.1.254 # performance-management # ssh server enable ssh server acl 3000 # arp ip-conflict log prompt # acl advanced 3000 rule 0 permit ip source 192.168.20.0 0.0.0.255 rule 5 deny ip # acl advanced 3001 rule 0 permit ip source 192.168.20.0 0.0.0.255 rule 5 permit ip source 192.168.30.0 0.0.0.255 # acl advanced 3002 rule 0 permit ip source 192.168.10.0 0.0.0.255 # undo password-control blacklist all-line # domain system # domain default enable system # role name level-0 description Predefined level-0 role # role name level-1 description Predefined level-1 role # role name level-2 description Predefined level-2 role # role name level-3 description Predefined level-3 role # role name level-4 description Predefined level-4 role # role name level-5 description Predefined level-5 role # role name level-6 description Predefined level-6 role # role name level-7 description Predefined level-7 role # role name level-8 description Predefined level-8 role # role name level-9 description Predefined level-9 role # role name level-10 description Predefined level-10 role # role name level-11 description Predefined level-11 role # role name level-12 description Predefined level-12 role # role name level-13 description Predefined level-13 role # role name level-14 description Predefined level-14 role # user-group system # local-user admin class manage password hash $h$6$y1Z6s7JQZ78VpjW+$adOvbv6Hk9Q5bysbs6xSCWmmyqh/160tVTXVpMqRVLtrn2ycpSxf4dpvnCw55vnTUly1P/9wFP9Ic3PeuW/uow== service-type ssh terminal https authorization-attribute user-role level-3 authorization-attribute user-role network-admin authorization-attribute user-role network-operator # session top-statistics enable # ipsec logging negotiation enable # ike logging negotiation enable # ip https enable # blacklist global enable # url-filter signature auto-update update schedule daily start-time 02:00:00 tingle 120 # ips signature auto-update update schedule daily start-time 02:00:00 tingle 120 # app-profile 1_IPv4 ips apply policy default mode protect url-filter apply policy default anti-virus apply policy default mode protect # loadbalance isp file flash:/lbispinfo_v1.5.tp # traffic-policy rule 1 name 限速10 action qos profile 限速10 source-address address-set 10 source-zone Trust destination-zone Untrust rule 2 name 限速20 action qos profile 限速20 source-address address-set 20 source-zone Trust destination-zone Untrust profile name 限速10 bandwidth total guaranteed 300000 bandwidth total maximum 350000 bandwidth total guaranteed per-ip 10000 profile name 限速20 bandwidth total guaranteed 100000 bandwidth total maximum 150000 bandwidth total guaranteed per-ip 10000 # security-policy ip rule 0 name test action pass source-zone local source-zone trust destination-zone local destination-zone trust rule 1 name shouquan action pass profile 1_IPv4 source-zone Untrust destination-zone Trust rule 2 name trust-untrust action pass source-zone trust destination-zone untrust1 destination-zone untrust2 rule 3 name per-nqa action pass source-zone trust destination-zone untrust1 destination-zone untrust2 destination-ip-host 223.5.5.5 rule 4 name local-untrust action pass source-zone local destination-zone untrust1 destination-zone untrust2 # security-policy ipv6 # anti-virus signature auto-update update schedule daily start-time 02:00:00 tingle 120 # cloud-management server domain opstunnel-seccloud.h3c.com # return

白夜行 发表时间:2024-06-27

编辑答案

你正在编辑答案

如果你要对问题或其他回答进行点评或询问,请使用评论功能。

分享扩散:

提出建议

    +

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

确定

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

注册后可访问此模块

跳转hclhub

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

举报

×

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

侵犯我的权益

×

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

泄露了我的隐私

×

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

侵犯了我企业的权益

×

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

抄袭了我的内容

×

原文链接或出处

诽谤我

×

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

对根叔社区有害的内容

×

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

不规范转载

×

举报说明