//*R1、R2的预配置 R1(config)#int s3/0 R1(config-if)#encapsulation frame-relay R1(config-if)#no frame-relay inverse-arp R1(config-if)#ip ad 12.0.0.1 255.255.255.0 R1(config-if)#frame-relay map ip 12.0.0.2 102 broadcast R1(config-if)#no sh
R2(config)#int s3/0 R2(config-if)#encapsulation frame-relay R2(config-if)#no frame-relay inverse-arp R2(config-if)#ip ad 12.0.0.2 255.255.255.0 R2(config-if)#frame-relay map ip 12.0.0.1 201 broadcast R2(config-if)#no sh
R1#show ip ospf int Serial3/0 is up, line protocol is up Internet Address 12.0.0.1/24, Area 0 Process ID 10, Router ID 12.0.0.1, Network Type NON_BROADCAST//*网络类型为non-broadcast, Cost: 64 Transmit Delay is 1 sec, State WAITING, Priority 1 No designated router on this network No backup designated router on this network Timer intervals configured, Hello 30, Dead 120, Wait 120, Retransmit 5 oob-resync timeout 120 Hello due in 00:00:14 Wait time before Designated router selection 00:01:14 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#show ip ospf nei //*通过命令,我们看不到OSPF的邻居关系
R1(config-if)#int s3/0 R1(config-if)#ip ospf network broadcast //*将网络类型改为broadcast
R1#show ip ospf interface Serial3/0 is up, line protocol is up Internet Address 12.0.0.1/24, Area 0 Process ID 10, Router ID 12.0.0.1, Network Type BROADCAST//*更改成功, Cost: 64 Transmit Delay is 1 sec, State DROTHER, Priority 1 Designated Router (ID) 12.0.0.2, Interface address 12.0.0.2 Backup Designated router (ID) 12.0.0.2, Interface address 12.0.0.2 Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5 oob-resync timeout 40 Hello due in 00:00:07 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 1, Adjacent neighbor count is 0 Suppress hello for 0 neighbor(s) R1#show ip ospf nei
Neighbor ID Pri State Dead Time Address Interface 12.0.0.2 1 FULL/DR 00:00:34 12.0.0.2 Serial3/0 //*这是邻居关系建立好了
阅读全文 | 回复(1) | 引用通告 | 编辑 |