OSPF虚链路认证

  • 格式:doc
  • 大小:119.50 KB
  • 文档页数:7

下载文档原格式

  / 7
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

OSPF域间汇总

实验目的:了解并掌握域间汇总的配置

实验拓扑图:

基本配置

R1(config)#int s2/1

R1(config-if)#ip ad 12.0.0.1 255.255.255.0

R1(config-if)#int lo 0

R1(config-if)#ip ad 1.1.0.1 255.255.255.0

R1(config-if)#int lo 1

R1(config-if)#ip ad 1.1.1.1 255.255.255.0

R1(config-if)#int lo 2

R1(config-if)#ip ad 1.1.2.1 255.255.255.0

R1(config-if)#int lo 3

R1(config-if)#ip ad 1.1.3.1 255.255.255.0

R1(config-if)#int s2/1

R1(config-if)#no sh

R1(config-if)#

00:02:54: %LINK-3-UPDOWN: Interface Serial2/1, changed state to up

R1(config-if)#

00:02:55: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/1, changed state to up R1(config-if)#router ospf 10

R1(config-router)#net 12.0.0.0 0.0.0.255 a 0

R1(config-router)#no net 12.0.0.0 0.0.0.255 a 0

R1(config-router)#net 12.0.0.0 0.0.0.255 a 1

R1(config-router)#net 1.1.0.0 0.0.0.255 a 1

R1(config-router)#net 1.1.1.0 0.0.0.255 a 1

R1(config-router)#net 1.1.2.0 0.0.0.255 a 1

R1(config-router)#net 1.1.3.0 0.0.0.255 a 1

R2(config)#int s2/1

R2(config-if)#no sh

R2(config-if)#int s2/2

R2(config-if)#

00:02:53: %LINK-3-UPDOWN: Interface Serial2/1, changed state to up

R2(config-if)#ip ad

00:02:54: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/1, changed state to up

R2(config-if)#ip ad 23.0.0.2 255.255.255.0

R2(config-if)#no sh

R2(config-if)#int lo 0

00:03:05: %LINK-3-UPDOWN: Interface Serial2/2, changed state to up

R2(config-if)#int lo 0

R2(config-if)#ip ad

00:03:06: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/2, changed state to up

R2(config-if)#ip ad 2.2.2.2 255.255.255.0

R2(config-if)#

00:03:33: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/2, changed state to down

R2(config-if)#

00:03:43: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/2, changed state to up

R2(config-if)#router ospf 10

R2(config-router)#net 12.0.0.0 0.0.0.255 a 1

R2(config-router)#net 2.2.2.2 0.0.0.0 a

00:05:35: %OSPF-5-ADJCHG: Process 10, Nbr 1.1.3.1 on Serial2/1 from LOADING to FULL, Loading Done R2(config-router)#net 2.2.2.2 0.0.0.0 a 0

R2(config-router)#net 23.0.0.0 0.0.0.255 a 0

R3(config-if)#int s2/1

R3(config-if)#ip ad 23.0.0.3 255.255.255.0

R3(config-if)#no sh

R3(config-if)#

00:03:41: %LINK-3-UPDOWN: Interface Serial2/1, changed state to up

R3(config-if)#

00:03:42: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/1, changed state to up

R3(config-if)#int lo 0

R3(config-if)#ip ad 3.3.3.3 255.255.255.0

R3(config-if)#router ospf 10

R3(config-router)#net 23.0.0.0 0.0.0.255 a 0

R3(config-router)#int s/2

^

% Invalid input detected at '^' marker.

R3(config)#

00:07:07: %OSPF-5-ADJCHG: Process 10, Nbr 2.2.2.2 on Serial2/1 from LOADING to FULL, Loading Done R3(config)#int s2/2

R3(config-if)#ip ad 34.0.0.03 255.255.255.0

R3(config-if)#no sh