4.19 点到点子接口运行OSPF
图4-9 FR环境下配置OSPF网络拓扑 1.R1配置子接口 [R1]interface Serial 0/0/0.12 p2p [R1-Serial0/0/0.12]ip address 12.1.1.1 8 [R1-Serial0/0/0.12]fr dlci 102 [R1]interface Serial 0/0/0...
4.18 修改OSPF网络类型为点到多点
1.R1、R2、R3修改接口的OSPF类型 [R1]interface Serial 0/0/0 [R1-Serial0/0/0]ospf network-type p2mp [R2]interface Serial 0/0/0 [R2-Serial0/0/0]ospf network-type p2mp [R3]interface Ser...
4.17 在FR环境配置OSPF
图4-8 FR环境下配置OSPF网络拓扑 图4-9 FR配置网络拓扑 1.R1配置 [R1]interface Serial 0/0/0 [R1-Serial0/0/0]link-protocol fr ietf [R1-Serial0/0/0]undo fr inarp [R1-Serial0/0/0]ip a...
4.16 OSPF虚电路
图4-7 OSPF虚电路网络拓扑 1.R1配置 [R1]ospf 1 router-id 1.1.1.1 [R1-ospf-1]area 0 [R1-ospf-1-area-0.0.0.0]network 1.1.1.1 0.0.0.0 [R1-ospf-1-area-0.0.0.0]network 12.1.1.0 0.255.25...
4.15 OSPF故障排除
1.router-id一致故障 [R2]ospf 1 router-id 1.1.1.1 Info: The configuration succeeded. You need to restart the OSPF process to validate the new router ID. 2.重启OSPF进程 <R2>reset ...
4.14 配置区域间的路由过滤
1.R2过滤R1的环回口的路由,允许其他路由通过 [R2]acl number 2000 [R2-acl-basic-2000]rule deny source 1.1.1.1 0.0.0.0 [R2-acl-basic-2000]rule permit [R2]ospf 1 [R2-ospf-1]area 1 [R2-o...
4.13 配置area2位NSSA区域
1.R3查看OSPF路由信息 [R3]display ip routing-table protocol ospf Destination/Mask Proto Pre Cost Flags NextHop Interface 0.0.0.0/0 O_ASE 150 1 D 34.1.1.4 GigabitEthernet0/0/0 1.1.1....
4.12 配置OSPF的stub区域
1.查看R1的OSPF路由信息 [R1]display ip routing-table protocol ospf Destination/Mask Proto Pre Cost Flags NextHop Interface 0.0.0.0/0 O_ASE 50 1 D 12.1.1.2 GigabitEthernet0/0/0 2.2.2...
4.11 修改OSPF路由优先级
1.查看OSPF路由优先级,内部OSPF优先级10,外部150 <R1>display ip routing-table protocol ospf 34.0.0.0/8 OSPF 10 12 D 12.1.1.2 GigabitEthernet0/0/0 44.1.0.0/22 O_ASE 150 2 D 12.1.1...
4.10 在OSPF中产生默认路由
1.R4引入一条默认路由,R1查看OSPF路由信息 [R4]ospf 1 [R4-ospf-1]default-route-advertise always <R1>display ip routing-table protocol ospf Destination/Mask Proto Pre Cost Flags Ne...