欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

思科CCNA路由器配置——基于區(qū)域的OSPF簡單認(rèn)證配置實(shí)驗(yàn)詳解

  發(fā)布時(shí)間:2020-03-03 15:12:28   作者:Stalk   我要評(píng)論
這篇文章主要介紹了思科CCNA基于區(qū)域的OSPF簡單認(rèn)證配置實(shí)驗(yàn),結(jié)合實(shí)例形式分析了思科路由器配置區(qū)域OSPF認(rèn)證的具體步驟、配置命令與相關(guān)操作注意事項(xiàng),需要的朋友可以參考下

本文實(shí)例講述了思科CCNA基于區(qū)域的OSPF簡單認(rèn)證配置實(shí)驗(yàn)。分享給大家供大家參考,具體如下:

一、實(shí)驗(yàn)?zāi)康?/strong>:掌握區(qū)域的OSPF簡單認(rèn)證

二、拓?fù)鋱D

三、具體步驟配置

(1)R1路由器配置

Router>enable

Router#configure terminal

Enter configuration commands, one per line. End with CNTL/Z.

Router(config)#hostname R1

R1(config)#interface s0/0/0

R1(config-if)#ip address 192.168.1.1 255.255.255.0

R1(config-if)#clock rate 64000

R1(config-if)#no shutdown

%LINK-5-CHANGED: Interface Serial0/0/0, changed state to down

R1(config-if)#exit

R1(config)#interface l0

R1(config-if)#ip address 1.1.1.1 255.255.255.0

R1(config-if)#no shutdown

R1(config-if)#exit

R1(config)#router ospf 1

R1(config-router)#router-id 1.1.1.1

R1(config-router)#network 192.168.1.0 0.0.0.255 area 0

R1(config-router)#network 1.1.1.0 0.0.0.255 area 0

R1(config-router)#area 0 authentication

R1(config-router)#interface s0/0/0

R1(config-if)#ip ospf authentication-key 123

R1(config-if)#end

(2)R2路由器配置

Router>enable

Router#configure terminal

Enter configuration commands, one per line. End with CNTL/Z.

Router(config)#hostname R2

R2(config)#interface s0/0/0

R2(config-if)#ip address 192.168.1.2 255.255.255.0

R2(config-if)#clock rate 64000

This command applies only to DCE interfaces

R2(config-if)#no shutdown

R2(config-if)#exit

R2(config)#interface l0

R2(config-if)#ip address 2.2.2.2 255.255.255.0

R2(config-if)#no shutdown

R2(config-if)#exit

R2(config)#router ospf 1

R2(config-router)#router-id 2.2.2.2

R2(config-router)#network 192.168.1.0 0.0.0.255 area 0

R2(config-router)#network 2.2.2.0 0.0.0.255 area 0

R2(config-router)#area 0 authentication

R2(config-router)#interface s0/0/0

R2(config-if)#ip ospf authentication-key 123

R2(config-if)#end

四、驗(yàn)證測試

1、檢查端口是否啟用了簡單口令認(rèn)證

圖中紅色標(biāo)記處信息表明端口啟用了簡單口令認(rèn)證

(2)檢查區(qū)域是否采用了簡單口令認(rèn)證

圖中紅色標(biāo)記處表明區(qū)域0采用了簡單口令認(rèn)證

(3)如果R1區(qū)域0沒有啟動(dòng)認(rèn)證,而R2區(qū)域0啟動(dòng)簡單口令認(rèn)證,則R2上出現(xiàn)下面
的信息

*Feb 10 11:03:03.071: OSPF: Rcv pkt from 192.168.12.1, Serial0/0/0 : Mismatch
Authentication type. Input packet specified type 0, we use type 1

(4)如果R1 和R2 的區(qū)域0 都啟動(dòng)簡單口令認(rèn)證,但是R2 的接口下沒有配置密碼或密
碼錯(cuò)誤,則R2 上出現(xiàn)下面的信息:
 

*Feb 10 10:55:53.071: OSPF: Rcv pkt from 192.168.12.1, Serial0/0/0 : Mismatch
Authentication Key - Clear Text

相關(guān)文章

最新評(píng)論