linux更改ospf密码,ospf和bgp配置认证密码,怎么配置。谢谢

您好,请知:

1、OSPF的MD5认证,可参考如下配置:

SW1的OSPF配置如下:

router id 1.1.1.1

#

ospf 1 router-id 1.1.1.1

area 0.0.0.0

network 1.1.1.1 0.0.0.0

network 10.0.0.1 0.0.0.0

#

interface LoopBack0

ip address 1.1.1.1 255.255.255.255

#

interface GigabitEthernet1/0/1

port link-mode route

combo enable fiber

ip address 10.0.0.1 255.255.255.252

ospf authentication-mode md5 1 cipher $c$3$J1O4Tlh1daSdYI3IGz2fp2DfYAIWwI3/Bg==

#

SW2的配置如下:

router id 2.2.2.2

#

ospf 1 router-id 2.2.2.2

area 0.0.0.0

network 2.2.2.2 0.0.0.0

network 10.0.0.2 0.0.0.0

#

interface LoopBack0

ip address 2.2.2.2 255.255.255.255

#

interface GigabitEthernet1/0/1

port link-mode route

combo enable fiber

ip address 10.0.0.2 255.255.255.252

ospf authentication-mode md5 1 cipher $c$3$Nc4DqjIVzI168QNMT1aCPw7bUJ9LmWBNQg==

#

2、BGP MD5认证的配置案例如下:

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值