http://www.h3c.com/cn/d_201904/1173273_30005_0.htm#_Toc7106093
按照上面的链接做的,但是bfd session 为down,不知道什么原因
(0)
最佳答案
[R1]dis cu
#
version 7.1.064, Release 0821P11
#
sysname R1
#
bfd echo-source-ip 3.3.3.3
#
track 1 bfd echo interface GigabitEthernet0/1 remote ip 46.46.1.1 local ip 46.46.1.2
#
track 2 bfd echo interface GigabitEthernet0/2 remote ip 46.46.2.1 local ip 46.46.2.2
#
ip unreachables enable
ip ttl-expires enable
#
system-working-mode standard
xbar load-single
password-recovery enable
lpu-type f-series
#
vlan 1
#
policy-based-route pbr permit node 10
if-match acl 2001
apply next-hop 46.46.1.1 track 1
#
policy-based-route pbr permit node 20
#
interface Serial1/0
#
interface Serial2/0
#
interface Serial3/0
#
interface Serial4/0
#
interface NULL0
#
interface LoopBack0
ip address 1.1.1.1 255.255.255.255
#
interface GigabitEthernet0/0
port link-mode route
combo enable copper
ip address 192.168.3.2 255.255.255.0
ip policy-based-route pbr
#
interface GigabitEthernet0/1
port link-mode route
combo enable copper
ip address 46.46.1.2 255.255.255.0
nat outbound 2003
bfd min-echo-receive-interval 100
bfd detect-multiplier 3
#
interface GigabitEthernet0/2
port link-mode route
combo enable copper
ip address 46.46.2.2 255.255.255.0
nat outbound 2003
bfd min-echo-receive-interval 100
bfd detect-multiplier 3
#
interface GigabitEthernet5/0
port link-mode route
combo enable copper
#
interface GigabitEthernet5/1
port link-mode route
combo enable copper
#
interface GigabitEthernet6/0
port link-mode route
combo enable copper
#
interface GigabitEthernet6/1
port link-mode route
combo enable copper
#
scheduler logfile size 16
#
line class aux
user-role network-operator
#
line class console
user-role network-admin
#
line class tty
user-role network-operator
#
line class vty
user-role network-operator
#
line aux 0
user-role network-operator
#
line con 0
user-role network-admin
#
line vty 0 63
user-role network-operator
#
ip route-static 192.168.1.0 24 192.168.3.1
ip route-static 192.168.2.0 24 192.168.3.1
#
acl number 2001
rule 5 permit source 192.168.1.10 0
#
acl number 2002
rule 5 permit source 192.168.2.10 0
#
acl number 2003
rule 5 permit
#
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
#
return
[R1]
(0)
这个是配置,放这了,上传不上去
这个是配置,放这了,上传不上去
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明