《网络工程》教学案例基于PT
案例24:配置OSPF认证
1案例目标
通过本案例,你可以掌握如下技能:1OSPF认证的类型和意义2基于区域的OSPF简单口令认证的配置和调试3基于区域的OSPFMD5认证的配置和调试4基于链路的OSPF简单口令认证的配置和调试5基于链路的OSPFMD5认证的配置和调试
2设备与拓扑
设备:4台RouterPTEmpty路由器,1台SwitchPTEmpty交换机。拓扑:如下图。
3操作步骤
广东韶关学院王为群编1
f《网络工程》教学案例基于PT
步骤1:按拓扑图配置好各路由器的主机名和显示名,包括回环口IP地址和串行接口IP地址。【注意】要给路由器添加串行模块。
步骤2:基于区域的简单口令认证1配置R1路由器R1co
ftE
terco
figuratio
comma
dso
eperli
eE
dwithCNTLZR1co
figrouterospf1R1co
figrouterrouterid1111R1co
figrouter
etwork19216810000255area0R1co
figrouter
etwork1110000255area0R1co
figrouterarea0authe
ticatio
在整个区域0启用简单口令认证R1co
figrouterexitR1co
figi
ts000R1co
figifipospfauthe
ticatio
keycisco2配置R2路由器R2co
ftE
terco
figuratio
comma
dso
eperli
eE
dwithCNTLZR2co
figrouterospf1R2co
figrouterrouterid2222R2co
figrouter
etwork19216810000255area0R2co
figrouter
etwork2220000255area0R2co
figrouterarea0authe
ticatio
在整个区域0启用简单口令认证R2co
figrouterexitR2co
figi
ts000R2co
figifipospfauthe
ticatio
keycisco
广东韶关学院
王为群编
2
f《网络工程》教学案例基于PT
3在R1上验证认证的配置验证在s000接口上启用了简单口令验证R1shipospfi
ts000Serial000isupli
eprotocolisupI
ter
etaddressis1921681124Area0ProcessID1RouterID1111NetworkTypePOINTTOPOINTCost64Tra
smitDelayis1secStatePOINTTOPOINTPriority0Nodesig
atedroutero
this
etworkNobackupdesig
atedroutero
this
etworkTimeri
tervalsco
figuredHello10Dead40Wait40Retra
smit5Helloduei
000003I
dex11floodqueuele
gth0Next0x000x00Lastfloodsca
le
gthis1maximumis1Lastfloodsca
timeis0msecmaximumis0msecNeighborCou
tis1Adjace
t
eighborcou
tis1Adjace
twith
eighbor2222Suppresshellofor0
eighborsSimplepasswordauthe
ticatio
e
abled此处指出接口启用了简单口令认证R1验证ospf协议在区域0启用了简单口令认证R1shipospfRouti
gProcess