路由器8805+配置策略允许10.212.0.0/21走isp2,现在的现象是走isp1,配置策略路由后还不走ISP2
(0)
最佳答案
这是配置的附件加不上去吗?配置附件加不上去,先把配置放到word上,然后在copy上来,要是直接复制上来,格式就都乱了,没法看
(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]
(0)
问题已解决,真心感谢
route-policy wuxian permit node 6这个是路由策略,是配合ospf,bgp控制路由用的,策略路由是policy-base-router,命令行配置错了,重新配置一下吧
问题已解决,真心感谢
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
真心感谢,问题已解决