oSPF 区域验证 area area-id authentication

来源:本站原创 CISCO 超过3,610 views围观 0条评论

OSPF 区域验证 area area-id authentication

配置简单AREA验证

step1 接口下配置 验证所需的KEY

           ip ospf authentication-key cisco

ip ospf message-digest-key 1 md5 ciscoac   //启用MD5 KEY

step2    在OSPF进程下开启验证

router ospf 1
             area 0 authentication //启用简单验证

area 0 authentication message-digest   //启用MD5加密验证

setp3      查看验证是否开启

                show ip ospf  

rtrA#show ip ospf
Routing Process "ospf 1" with ID 1.1.1.1
      Area BACKBONE(0)
          Number of interfaces in this area is 2
        Area has simple password authentication

Router A
interface Loopback0
ip address 1.1.1.1 255.255.255.255
!
interface Serial0/0
ip address 10.1.1.9 255.255.255.252
ip ospf authentication-key cisco
!
interface Serial0/1
ip address 10.1.1.1 255.255.255.252
ip ospf authentication-key cisco
clock rate 64000
!
router ospf 1
area 0 authentication
network 10.1.1.0 0.0.0.15 area 0
_______________________________________________________________________
Router B
interface Loopback0
ip address 2.2.2.2 255.255.255.255
!
interface Serial0
ip address 10.1.1.2 255.255.255.252
ip ospf authentication-key cisco
!
interface Serial1
ip address 10.1.1.5 255.255.255.252
ip ospf authentication-key cisco
clock rate 64000
!
router ospf 1
area 0 authentication
network 10.1.1.0 0.0.0.15 area 0
_______________________________________________________________________
Router C
interface Loopback0
ip address 3.3.3.3 255.255.255.255
!
interface Serial0
ip address 10.1.1.6 255.255.255.252
ip ospf authentication-key cisco
!
interface Serial1
ip address 10.1.1.10 255.255.255.252
ip ospf authentication-key cisco
clock rate 64000
!
router ospf 1
area 0 authentication
network 10.1.1.0 0.0.0.15 area 0

文章出自:CCIE那点事 http://www.jdccie.com/ 版权所有。本站文章除注明出处外,皆为作者原创文章,可自由引用,但请注明来源。 禁止全文转载。
本文链接:http://www.jdccie.com/?p=1679转载请注明转自CCIE那点事
如果喜欢:点此订阅本站