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

路由器8805+策略路由需要走ISP2,目前走的是ips1,策略路由不生效

2019-04-19提问
  • 0关注
  • 1收藏,1116浏览
粉丝:0人 关注:0人

问题描述:

路由器8805+配置策略允许10.212.0.0/21走isp2,现在的现象是走isp1,配置策略路由后还不走ISP2


组网及组网描述:



最佳答案

已采纳
粉丝:10人 关注:1人

这是配置的附件加不上去吗?配置附件加不上去,先把配置放到word上,然后在copy上来,要是直接复制上来,格式就都乱了,没法看

真心感谢,问题已解决

zhiliao_x6loj 发表时间:2019-04-19
1 个回答
zhiliao_x6loj 知了小白
粉丝:0人 关注:0人

[H3C-8805]dis cur

[H3C-8805]dis current-configuration

#

 version 5.20, Release 3351

#

 sysname H3C-8805

#

 domain default enable system

#

 telnet server enable

#

 ip ttl-expires enable

 ip unreachables enable

#

 xbar load-single

#

 mirroring-group 1 local

 mirroring-group 2 local

#

 forward-path check enable

 hardware-failure-detection chip warning

 hardware-failure-detection board warning

 hardware-failure-detection forwarding warning

#

acl number 3000

 rule 1 permit ip source 10.212.0.0 0.0.255.255

#

vlan 1

#

domain system

 access-limit disable

 state active

 idle-cut disable

 self-service-url disable

#

user-group system

 group-attribute allow-guest

#

local-user admin

 password cipher $c$3$G98f0BXVZbS68EBtTawg240mMVGvY7mUvgbkHuAcj89UOw==

 authorization-attribute level 3

 service-type telnet

#

interface NULL0

#

interface GigabitEthernet2/1/12

 port link-mode route

 description 无线

 ip address 10.19.253.2 255.255.255.252

 mirroring-group 1 monitor-port

#

interface GigabitEthernet2/1/13

 port link-mode route

#

interface GigabitEthernet2/1/14

 port link-mode route

 description 有线

 ip address 10.190.4.54 255.255.255.252

#

interface GigabitEthernet2/1/19

 port link-mode route

 description To_H3C-LB5000_TG1/0/27

 shutdown

 ip address 1.1.1.2 255.255.255.252

#

interface GigabitEthernet2/1/20

 port link-mode route

 description to FW-e3

 ip address 10.215.87.250 255.255.255.252

 mirroring-group 1 mirroring-port both

 ip policy-based-route wuxian

#

interface M-Ethernet0/0/0

#

interface NAT2/0/1

#

interface Net-Stream2/0/1

#

route-policy wuxian permit node 6

 if-match acl 3000

 apply ip-address next-hop 10.19.253.1

#

 ip route-static 0.0.0.0 0.0.0.0 10.190.4.53

 ip route-static 0.0.0.0 0.0.0.0 10.19.253.1 preference 100

 ip route-static 10.212.1.0 255.255.255.0 10.215.87.249

 ip route-static 10.212.2.0 255.255.255.0 10.215.87.249

 ip route-static 10.212.3.0 255.255.255.0 10.215.87.249

 ip route-static 10.212.4.0 255.255.255.0 10.215.87.249

 ip route-static 10.212.5.0 255.255.255.0 10.215.87.249

 ip route-static 10.212.6.0 255.255.255.0 10.215.87.249

 ip route-static 10.212.7.0 255.255.255.0 10.215.87.249

 ip route-static 10.215.44.0 255.255.255.0 10.215.87.249

 ip route-static 10.215.45.0 255.255.255.0 10.215.87.249

 ip route-static 10.215.46.0 255.255.255.0 10.215.87.249

 ip route-static 10.215.47.0 255.255.255.0 10.215.87.249

#

 load xml-configuration

#

user-interface con 0

user-interface aux 0

user-interface vty 0 5

 authentication-mode scheme

 set authentication password cipher

user-interface vty 6 15

 authentication-mode scheme

 set authentication password cipher

#

return

[H3C-8805]

++++++++++++++++++++++++++++++++++++++++++++++++++++

[H3C-8805]dis ip interface brief

*down: administratively down

(s): spoofing  (l): loopback

Interface          Physical Protocol IP Address      Description

GE2/1/12           up       up       10.19.253.2     无线

GE2/1/13           down     down     --              --

GE2/1/14           up       up       10.190.4.54     有线

GE2/1/20           up       up       10.215.87.250   to FW-e3

M-E0/0/0           down     down     --              --

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

[H3C-8805]dis ip routing-table

Routing Tables: Public

        Destinations : 20       Routes : 20

 

Destination/Mask    Proto  Pre  Cost         NextHop         Interface

 

0.0.0.0/0           Static 60   0            10.190.4.53     GE2/1/14

10.19.253.0/30      Direct 0    0            10.19.253.2     GE2/1/12

10.19.253.2/32      Direct 0    0            127.0.0.1       InLoop0

10.190.4.52/30      Direct 0    0            10.190.4.54     GE2/1/14

10.190.4.54/32      Direct 0    0            127.0.0.1       InLoop0

10.212.1.0/24       Static 60   0            10.215.87.249   GE2/1/20

10.212.2.0/24       Static 60   0            10.215.87.249   GE2/1/20

10.212.3.0/24       Static 60   0            10.215.87.249   GE2/1/20

10.212.4.0/24       Static 60   0            10.215.87.249   GE2/1/20

10.212.5.0/24       Static 60   0            10.215.87.249   GE2/1/20

10.212.6.0/24       Static 60   0            10.215.87.249   GE2/1/20

10.212.7.0/24       Static 60   0            10.215.87.249   GE2/1/20

10.215.44.0/24      Static 60   0            10.215.87.249   GE2/1/20

10.215.45.0/24      Static 60   0            10.215.87.249   GE2/1/20

10.215.46.0/24      Static 60   0            10.215.87.249   GE2/1/20

10.215.47.0/24      Static 60   0            10.215.87.249   GE2/1/20

10.215.87.248/30    Direct 0    0            10.215.87.250   GE2/1/20

10.215.87.250/32    Direct 0    0            127.0.0.1       InLoop0

127.0.0.0/8         Direct 0    0            127.0.0.1       InLoop0

127.0.0.1/32        Direct 0    0            127.0.0.1       InLoop0

 

[H3C-8805]


route-policy wuxian permit node 6这个是路由策略,是配合ospf,bgp控制路由用的,策略路由是policy-base-router,命令行配置错了,重新配置一下吧

进击的皮蛋 发表时间:2019-04-19

问题已解决,真心感谢

zhiliao_x6loj 发表时间:2019-04-19

编辑答案

你正在编辑答案

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

分享扩散:

提出建议

    +

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

确定

亲~检测到您登陆的账号未在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. 您是谁?(身份证明材料,可以是身份证或护照等证件)
我们认为知名企业应该坦然接受公众讨论,对于答案中不准确的部分,我们欢迎您以正式或非正式身份在根叔知了上进行澄清。

对根叔社区有害的内容

×

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

不规范转载

×

举报说明