排序
4.4 修改OSPF接口的COST值
1.在R1查看R2环回接口的OSPF的COST值 <R1>display ip routing-table protocol ospf Destination/Mask Proto Pre Cost Flags NextHop Interface 2.2.2.2/32 OSPF 10 1 D 12.1.1.2 GigabitEthe...
4.5 配置OSPF静默接口
1.修改R1的G0/0/0口为Silent-interface类型(静默接口),查看OSPF信息(不收发任何OSPF报文) [R1]ospf 1 [R1-ospf-1]silent-interface GigabitEthernet 0/0/0 [R1]display ip routing-table p...
4.6 配置多区域OSPF
图4-4 多区域配置网络拓扑 1.R1配置 [R1]ospf 1 router-id 1.1.1.1 [R1-ospf-1]area 1 [R1-ospf-1-area-0.0.0.1]network 1.1.1.1 0.0.0.0 [R1-ospf-1-area-0.0.0.1]network 12.1.1.0 0.255.25...
4.7 修改OSPF参考带宽
1.查看R1的OSPF路由信息的COST值 <R1>display ip routing-table protocol ospf Destination/Mask Proto Pre Cost Flags NextHop Interface 2.2.2.2/32 OSPF 10 1 D 12.1.1.2 GigabitEthernet...
4.8 OSPF外部路由引入
图4-5 OSPF路由引入网络拓扑 1.R4创建新的直连路由,OSPF引入外部路由 [R4]interface LoopBack 1 [R4-LoopBack1]ip address 44.1.1.1 32 [R4-LoopBack1]quit [R4]interface LoopBack 2 [R4-Lo...
4.9 汇总OSPF路由
图4-6 OSPF路由引入网络拓扑 1.R3新生成直连路由,宣告进OSPF [R3]interface LoopBack 0 [R3-LoopBack0]ip address 3.1.2.1 255.255.255.0 sub [R3-LoopBack0]ip address 3.1.3.1 255.255.255...
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...
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.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.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....