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

实验54:帧中继环境下点到点模式
1. 实验目的
1)帧中继子接口下静态映射
2)点到点模式的特征
2)点到点模式下OSPF 的配置和调试
2. 拓扑结构
实验拓扑。
17-2 帧中继环境下点到点模式
3. 实验步骤
注:
① 点到点模式的DR BDR 是“ 0.0.0 .0”;
② 点到点模式下,每个子接口需要配置不同的网络;
③ 点到点模式下,Hello 周期为10 秒。
 
 
 
r1(config)#int s0/0
r1(config-if)#no ip add
r1(config-if)#enca fram
r1(config-if)#no fram inver
r1(config-if)#no sh
r1(config-if)#exit
r1(config)#int loo
*Mar  1 00:13:44.107: %LINK-3-UPDOWN: Interface Serial0/0, changed state to up
r1(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 up
r1(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 up
r1(config-if)#ip add 1.1.1 .1 255.255.255.0
r1(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 101
r1(config-fr-dlci)#ip add 172.16.1.2 255.255.255.0
r1(config-subif)#no sh
r1(config-subif)#exit
r1(config)#int s0/0.2 point-to-point     
r1(config-subif)#ip add 172.16.2.2 255.255.255.0
r1(config-subif)#frame inter 102                
r1(config-fr-dlci)#no sh
r1(config-subif)#exit
r1(config)#router ospf 1
r1(config-router)#net 1.1.1 .0 0.0.0.255 area 0
r1(config-router)#net 172.16.1.0 0.0.0 .255 area 0
r1(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 Done
r1(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 Done
r1(config-router)#do sh ip route
Codes: 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 subnets
C       1.1.1 .0 is directly connected, Loopback1
     2.0.0 .0/24 is subnetted, 1 subnets
O       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 subnets
O       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 subnets
C       172.16.1.0 is directly connected, Serial0/0.1
C       172.16.2.0 is directly connected, Serial0/0.2
r1(config-router)#do sh ip ospf int
Serial0/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         Interface
3.3.3 .3           0   FULL/  -        00:00:34    172.16.2.1      Serial0/0.2
172.16.1.1        0   FULL/  -        00:00:31    172.16.1.1      Serial0/0.1
r1(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 msec
r1(config-router)#
r1(config-router)#
r1(config-router)#
r1(config-router)#
 
 
r2(config)#int s0/0
r2(config-if)#no ip add
r2(config-if)#enca fram
r2(config-if)#no sh
r2(config-if)#exit
r2(config)#int s0
*Mar  1 00:04:18.159: %LINK-3-UPDOWN: Interface Serial0/0, changed state to up
r2(config)#int s0/0.1 point-to-point
r2(config-subif)#
*Mar  1 00:04:29.159: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to up
r2(config-subif)#ip add 172.16.1.1 255.255.255.0
r2(config-subif)#no sh
r2(config-subif)#frame-relay interace-dlci 201
                                  ^
% Invalid input detected at '^' marker.
 
r2(config-subif)#frame-relay interface-dlci 201
r2(config-fr-dlci)#exit
r2(config-subif)#router ospf 1
r2(config-router)#exit
r2(config)#int loo 1
r2(config-if)#ip add 1
*Mar  1 00:06:05.999: %LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback1, changed state to up
r2(config-if)#ip add 2.2.2 .2 255.255.255.0
r2(config-if)#ip ospf net point-to-point
r2(config-if)#exit
r2(config)#router ospf 1
r2(config-router)#net 2.2.2 .0 0.0.0.255 area 0
r2(config-router)#net 172.16.1.0 0.0.0 .255 area 0
r2(config-router)#
r2(config-router)#exit
r2(config)#int s0/0
r2(config-if)#no fram inver
r2(config-if)#no sh
r2(config-if)#exit
r2(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 Done
r2(config-subif)#do sh ip route
Codes: 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 subnets
O       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 subnets
C       2.2.2 .0 is directly connected, Loopback1
     3.0.0 .0/24 is subnetted, 1 subnets
O       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 subnets
C       172.16.1.0 is directly connected, Serial0/0.1
O       172.16.2.0 [110/128] via 172.16.1.2, 00:00:04, Serial0/0.1
r2(config-subif)#
 
 
r3(config)#int loo 1
r3(config-if)#ip add 17
*Mar  1 00:08:28.247: %LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback1, changed state to up
r3(config-if)#ip add 3.3.3 .3 255.255.255.0
r3(config-if)#ip ospf net point-to-point
r3(config-if)#int s0/0
r3(config-if)#
r3(config-if)#
r3(config-if)#no ip add
r3(config-if)#enca frame
r3(config-if)#no sh
r3(config-if)#exit
r3(config)#
*Mar  1 00:10:52.619: %LINK-3-UPDOWN: Interface Serial0/0, changed state to up
r3(config)#int s0/0.1
*Mar  1 00:11:03.619: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to up
r3(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 302
r3(config-fr-dlci)#no sh
r3(config-subif)#exit
r3(config)#router ospf 1
r3(config-router)#net 3.3.3 .0 0.0.0.255 area 0
r3(config-router)#net 172.16.2.0 0.0.0 .255 area 0
r3(config-router)#exit
r3(config)#int s0/0
r3(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 Done
r3(config-if)#do sh ip route
Codes: 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 subnets
O       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 subnets
O       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 subnets
C       3.3.3 .0 is directly connected, Loopback1
     172.16.0.0/24 is subnetted, 2 subnets
O       172.16.1.0 [110/128] via 172.16.2.2, 00:00:10, Serial0/0.1
C       172.16.2.0 is directly connected, Serial0/0.1
r3(config-if)#

本文出自 “柯浩坚” 博客,转载请与作者联系!

你可能感兴趣的:(IE,NA,休闲,NP,帧中继)