当前位置: 移动技术网 > 网络运营>网络>协议 > OSPF区域验证area area-id authentication

OSPF区域验证area area-id authentication

2018年02月23日  | 移动技术网网络运营  | 我要评论
OSPF区域验证area area-id authentication   配置简单AREA验证 step1 接口下配置 验证所需的KEY     &nb

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

 

如您对本文有疑问或者有任何想说的,请 点击进行留言回复,万千网友为您解惑!

相关文章:

验证码:
移动技术网