您的位置:首页 > 其它

NA-NP-IE系列实验54:帧中继环境下点到点模式

2009-12-20 14:51 597 查看
[align=left]实验54:帧中继环境下点到点模式[/align][align=left]1.实验目的[/align][align=left](1)帧中继子接口下静态映射[/align][align=left](2)点到点模式的特征[/align][align=left](2)点到点模式下OSPF 的配置和调试[/align][align=left]2.拓扑结构[/align][align=left]实验拓扑。[/align]

[align=left]图17-2 帧中继环境下点到点模式[/align][align=left]3.实验步骤[/align][align=left]注:[/align][align=left]① 点到点模式的DR 和 BDR 是“0.0.0.0”;[/align][align=left]② 点到点模式下,每个子接口需要配置不同的网络;[/align][align=left]③ 点到点模式下,Hello 周期为10 秒。[/align] r1(config)#int s0/0r1(config-if)#no ip add r1(config-if)#enca fram r1(config-if)#no fram inver r1(config-if)#no shr1(config-if)#exitr1(config)#int loo*Mar 1 00:13:44.107: %LINK-3-UPDOWN: Interface Serial0/0, changed state to upr1(config)#int loo 1 r1(config-if)#ip add *Mar 1 00:13:47.543: %LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback1, changed state to upr1(config-if)#ip add 1.1.1.1 255.255*Mar 1 00:13:55.107: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to upr1(config-if)#ip add 1.1.1.1 255.255.255.0r1(config-if)#ip ospf net point-to-point r1(config-if)#exit r1(config)#int s0/0.1 r1(config)#int s0/0.1 point-to-point r1(config-subif)#fram inter 101r1(config-fr-dlci)#ip add 172.16.1.2 255.255.255.0r1(config-subif)#no shr1(config-subif)#exitr1(config)#int s0/0.2 point-to-point r1(config-subif)#ip add 172.16.2.2 255.255.255.0r1(config-subif)#frame inter 102 r1(config-fr-dlci)#no shr1(config-subif)#exitr1(config)#router ospf 1 r1(config-router)#net 1.1.1.0 0.0.0.255 area 0r1(config-router)#net 172.16.1.0 0.0.0.255 area 0r1(config-router)#*Mar 1 00:16:42.619: %OSPF-5-ADJCHG: Process 1, Nbr 172.16.1.1 on Serial0/0.1 from LOADING to FULL, Loading Doner1(config-router)#net 172.16.2.0 0.0.0.255 area 0 r1(config-router)#*Mar 1 00:16:54.903: %OSPF-5-ADJCHG: Process 1, Nbr 3.3.3.3 on Serial0/0.2 from LOADING to FULL, Loading Doner1(config-router)#do sh ip routeCodes: C - connected, S - static, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2 i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2 ia - IS-IS inter area, * - candidate default, U - per-user static route o - ODR, P - periodic downloaded static route Gateway of last resort is not set 1.0.0.0/24 is subnetted, 1 subnetsC 1.1.1.0 is directly connected, Loopback1 2.0.0.0/24 is subnetted, 1 subnetsO 2.2.2.0 [110/65] via 172.16.1.1, 00:00:20, Serial0/0.1 3.0.0.0/24 is subnetted, 1 subnetsO 3.3.3.0 [110/65] via 172.16.2.1, 00:00:20, Serial0/0.2 172.16.0.0/24 is subnetted, 2 subnetsC 172.16.1.0 is directly connected, Serial0/0.1C 172.16.2.0 is directly connected, Serial0/0.2r1(config-router)#do sh ip ospf intSerial0/0.2 is up, line protocol is up Internet Address 172.16.2.2/24, Area 0 Process ID 1, Router ID 1.1.1.1, Network Type POINT_TO_POINT, Cost: 64//网络类型为PONINT-T0-POINT Transmit Delay is 1 sec, State POINT_TO_POINT, Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5 oob-resync timeout 40 Hello due in 00:00:04 Supports Link-local Signaling (LLS) Index 3/3, flood queue length 0 Next 0x0(0)/0x0(0) Last flood scan length is 1, maximum is 1 Last flood scan time is 0 msec, maximum is 0 msec Neighbor Count is 1, Adjacent neighbor count is 1 Adjacent with neighbor 3.3.3.3 Suppress hello for 0 neighbor(s)Serial0/0.1 is up, line protocol is up Internet Address 172.16.1.2/24, Area 0 Process ID 1, Router ID 1.1.1.1, Network Type POINT_TO_POINT, Cost: 64 Transmit Delay is 1 sec, State POINT_TO_POINT, Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5 oob-resync timeout 40 Hello due in 00:00:02 Supports Link-local Signaling (LLS) Index 2/2, flood queue length 0 Next 0x0(0)/0x0(0) Last flood scan length is 1, maximum is 1 Last flood scan time is 0 msec, maximum is 0 msec Neighbor Count is 1, Adjacent neighbor count is 1 Adjacent with neighbor 172.16.1.1 Suppress hello for 0 neighbor(s)Loopback1 is up, line protocol is up Internet Address 1.1.1.1/24, Area 0 Process ID 1, Router ID 1.1.1.1, Network Type POINT_TO_POINT, Cost: 1 Transmit Delay is 1 sec, State POINT_TO_POINT, Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5 oob-resync timeout 40 Supports Link-local Signaling (LLS) Index 1/1, flood queue length 0 Next 0x0(0)/0x0(0) Last flood scan length is 0, maximum is 0 Last flood scan time is 0 msec, maximum is 0 msec Neighbor Count is 0, Adjacent neighbor count is 0 Suppress hello for 0 neighbor(s)r1(config-router)#r1(config-router)#r1(config-router)#do sh ip ospf nei Neighbor ID Pri State Dead Time Address Interface3.3.3.3 0 FULL/ - 00:00:34 172.16.2.1 Serial0/0.2172.16.1.1 0 FULL/ - 00:00:31 172.16.1.1 Serial0/0.1r1(config-router)#do sh ip ospf nei detail Neighbor 3.3.3.3, interface address 172.16.2.1 In the area 0 via interface Serial0/0.2 Neighbor priority is 0, State is FULL, 6 state changes DR is 0.0.0.0 BDR is 0.0.0.0 Options is 0x52 LLS Options is 0x1 (LR) Dead timer due in 00:00:33 Neighbor is up for 00:01:15 Index 2/2, retransmission queue length 0, number of retransmission 0 First 0x0(0)/0x0(0) Next 0x0(0)/0x0(0) Last retransmission scan length is 0, maximum is 0 Last retransmission scan time is 0 msec, maximum is 0 msec Neighbor 172.16.1.1, interface address 172.16.1.1 In the area 0 via interface Serial0/0.1 Neighbor priority is 0, State is FULL, 6 state changes DR is 0.0.0.0 BDR is 0.0.0.0 Options is 0x52 LLS Options is 0x1 (LR) Dead timer due in 00:00:30 Neighbor is up for 00:01:27 Index 1/1, retransmission queue length 0, number of retransmission 1 First 0x0(0)/0x0(0) Next 0x0(0)/0x0(0) Last retransmission scan length is 1, maximum is 1 Last retransmission scan time is 0 msec, maximum is 0 msecr1(config-router)#r1(config-router)#r1(config-router)#r1(config-router)# r2(config)#int s0/0r2(config-if)#no ip add r2(config-if)#enca fram r2(config-if)#no shr2(config-if)#exitr2(config)#int s0*Mar 1 00:04:18.159: %LINK-3-UPDOWN: Interface Serial0/0, changed state to upr2(config)#int s0/0.1 point-to-pointr2(config-subif)#*Mar 1 00:04:29.159: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to upr2(config-subif)#ip add 172.16.1.1 255.255.255.0r2(config-subif)#no shr2(config-subif)#frame-relay interace-dlci 201 ^% Invalid input detected at '^' marker. r2(config-subif)#frame-relay interface-dlci 201r2(config-fr-dlci)#exitr2(config-subif)#router ospf 1 r2(config-router)#exitr2(config)#int loo 1r2(config-if)#ip add 1 *Mar 1 00:06:05.999: %LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback1, changed state to upr2(config-if)#ip add 2.2.2.2 255.255.255.0r2(config-if)#ip ospf net point-to-pointr2(config-if)#exitr2(config)#router ospf 1 r2(config-router)#net 2.2.2.0 0.0.0.255 area 0r2(config-router)#net 172.16.1.0 0.0.0.255 area 0r2(config-router)#r2(config-router)#exitr2(config)#int s0/0r2(config-if)#no fram inverr2(config-if)#no shr2(config-if)#exitr2(config)#int s0/0.2 point-to-point r2(config-subif)#sh r2(config-subif)#*Mar 1 00:16:42.551: %OSPF-5-ADJCHG: Process 1, Nbr 1.1.1.1 on Serial0/0.1 from LOADING to FULL, Loading Doner2(config-subif)#do sh ip routeCodes: C - connected, S - static, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2 i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2 ia - IS-IS inter area, * - candidate default, U - per-user static route o - ODR, P - periodic downloaded static route Gateway of last resort is not set 1.0.0.0/24 is subnetted, 1 subnetsO 1.1.1.0 [110/65] via 172.16.1.2, 00:00:04, Serial0/0.1 2.0.0.0/24 is subnetted, 1 subnetsC 2.2.2.0 is directly connected, Loopback1 3.0.0.0/24 is subnetted, 1 subnetsO 3.3.3.0 [110/129] via 172.16.1.2, 00:00:04, Serial0/0.1 172.16.0.0/24 is subnetted, 2 subnetsC 172.16.1.0 is directly connected, Serial0/0.1O 172.16.2.0 [110/128] via 172.16.1.2, 00:00:04, Serial0/0.1r2(config-subif)# r3(config)#int loo 1r3(config-if)#ip add 17*Mar 1 00:08:28.247: %LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback1, changed state to upr3(config-if)#ip add 3.3.3.3 255.255.255.0r3(config-if)#ip ospf net point-to-point r3(config-if)#int s0/0r3(config-if)#r3(config-if)#r3(config-if)#no ip add r3(config-if)#enca framer3(config-if)#no shr3(config-if)#exitr3(config)#*Mar 1 00:10:52.619: %LINK-3-UPDOWN: Interface Serial0/0, changed state to upr3(config)#int s0/0.1 *Mar 1 00:11:03.619: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to upr3(config)#int s0/0.1 point-to-point r3(config-subif)#ip add 172.16.2.1 255.255.255.0 r3(config-subif)#frame interface-dlci 302r3(config-fr-dlci)#no shr3(config-subif)#exitr3(config)#router ospf 1 r3(config-router)#net 3.3.3.0 0.0.0.255 area 0r3(config-router)#net 172.16.2.0 0.0.0.255 area 0 r3(config-router)#exitr3(config)#int s0/0r3(config-if)#no fram inver r3(config-if)#*Mar 1 00:16:45.175: %OSPF-5-ADJCHG: Process 1, Nbr 1.1.1.1 on Serial0/0.1 from LOADING to FULL, Loading Doner3(config-if)#do sh ip routeCodes: C - connected, S - static, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2 i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2 ia - IS-IS inter area, * - candidate default, U - per-user static route o - ODR, P - periodic downloaded static route Gateway of last resort is not set 1.0.0.0/24 is subnetted, 1 subnetsO 1.1.1.0 [110/65] via 172.16.2.2, 00:00:10, Serial0/0.1 2.0.0.0/24 is subnetted, 1 subnetsO 2.2.2.0 [110/129] via 172.16.2.2, 00:00:10, Serial0/0.1 3.0.0.0/24 is subnetted, 1 subnetsC 3.3.3.0 is directly connected, Loopback1 172.16.0.0/24 is subnetted, 2 subnetsO 172.16.1.0 [110/128] via 172.16.2.2, 00:00:10, Serial0/0.1C 172.16.2.0 is directly connected, Serial0/0.1r3(config-if)#本文出自 “柯浩坚” 博客,转载请与作者联系!
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: