注册 | 登录 忘记密码? 51cto首页 | 博客 | 论坛 | 招聘
热点文章 Cisco IOS下载
 帮助

配置单区域OSPF认证


2008-04-23 11:25:38
 标签:OSPF 认证 单区域   [推送到技术圈]

RA#sh run
!
 
interface Loopback0
 ip address 1.1.1.1 255.255.255.0
 ip ospf network point-to-point
!
interface Serial1/0
 ip address 10.0.0.1 255.255.255.0
 ip ospf message-digest-key 1 md5 123
 serial restart-delay 0
!
interface Serial1/2
 ip address 12.0.0.2 255.255.255.0
 ip ospf message-digest-key 1 md5 123
 serial restart-delay 0
!
router ospf 1
 router-id 1.1.1.1
 log-adjacency-changes
 area 0 authentication message-digest
 network 1.0.0.0 0.0.0.255 area 0
 network 10.0.0.0 0.0.0.255 area 0
 network 12.0.0.0 0.0.0.255 area 0
!
End
 
 
 
 
 
RB#sh run
!
interface Loopback0
 ip address 2.2.2.2 255.255.255.0
 ip ospf network point-to-point
!
interface FastEthernet0/0
 no ip address
 shutdown
 duplex half
!
interface Serial1/0
 ip address 10.0.0.2 255.255.255.0
 ip ospf message-digest-key 1 md5 123
 serial restart-delay 0
!
interface Serial1/1
 ip address 11.0.0.1 255.255.255.0
 ip ospf message-digest-key 1 md5 123
 serial restart-delay 0
!
!
router ospf 1
 router-id 2.2.2.2
 log-adjacency-changes
 area 0 authentication message-digest
 network 2.0.0.0 0.0.0.255 area 0
 network 10.0.0.0 0.0.0.255 area 0
 network 11.0.0.0 0.0.0.255 area 0
!
!
End
 
 
 
 
 
RC#sh run
!
interface Loopback0
 ip address 3.3.3.3 255.255.255.0
 ip ospf network point-to-point
!
!
interface Serial1/1
 ip address 11.0.0.2 255.255.255.0
 ip ospf message-digest-key 1 md5 123
 serial restart-delay 0
!
interface Serial1/2
 ip address 12.0.0.1 255.255.255.0
 ip ospf message-digest-key 1 md5 123
 serial restart-delay 0
!
!
router ospf 1
 router-id 3.3.3.3
 log-adjacency-changes
 area 0 authentication message-digest
 network 3.0.0.0 0.0.0.255 area 0
 network 11.0.0.0 0.0.0.255 area 0
 network 12.0.0.0 0.0.0.255 area 0
!
!
end




    文章评论
 
 

发表评论

昵   称:
验证码:  点击图片可刷新验证码  博客过2级,无需填写验证码
内   容: