华为ospf多区域配置_第1页
华为ospf多区域配置_第2页
华为ospf多区域配置_第3页
华为ospf多区域配置_第4页
华为ospf多区域配置_第5页
已阅读5页,还剩2页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

OSPF 多区域配置 1 规划网络拓扑图如下 文字说明 a R1 与 R2 作为末梢区域 area 1 b R2 与 R3 作为主区域 area 0 c R3 与 R4 作为末梢区域 area 2 d R1 上连接交换机 LSW3 LSW3 上拥有 vlan 8 g0 0 1 与 g 0 2 属于 vlan 8 e R1 还直连一个主机 网段为 192 168 7 0 网段 2 配置 R1 sys Enter system view return user view with Ctrl Z Huawei un in en Info Information center is disabled Huawei sysname R1 R1 int e0 0 0 R1 Ethernet0 0 0 ip add 12 1 1 1 30 R1 Ethernet0 0 0 q R1 int e0 0 1 R1 Ethernet0 0 1 ip add 192 168 8 1 24 R1 Ethernet0 0 1 q R1 int g0 0 0 R1 GigabitEthernet0 0 0 ip add 192 168 7 1 24 R1 GigabitEthernet0 0 0 q R1 int loop R1 int LoopBack 0 R1 LoopBack0 ip add 1 1 1 1 24 R1 LoopBack0 q R1 int loopback 1 R1 LoopBack1 ip add 192 168 1 1 24 R1 LoopBack1 q R1 ospf 10 R1 ospf 10 area 1 R1 ospf 10 area 0 0 0 1 network 12 1 1 0 0 0 0 3 R1 ospf 10 area 0 0 0 1 network 1 1 1 0 0 0 0 255 R1 ospf 10 area 0 0 0 1 network 192 168 1 0 0 0 0 255 R1 ospf 10 area 0 0 0 1 network 192 168 8 0 0 0 0 255 为了能让 192 168 8 0 网段能够到达 2 2 2 2 R1 ospf 10 area 0 0 0 1 network 192 168 7 0 0 0 0 255 为了能让 192 168 7 0 网段能够到达 2 2 2 2 R1 ospf 10 area 0 0 0 1 q R1 ospf 10 q R1 ip route static 192 168 0 0 255 255 255 0 12 1 1 2 R1 ip route static 192 168 0 0 255 255 255 0 192 168 8 254 R1 R2 R2 int e0 0 0 R2 Ethernet0 0 0 ip add 12 1 1 2 30 R2 Ethernet0 0 0 int e0 0 1 R2 Ethernet0 0 1 ip add 23 1 1 1 30 R2 Ethernet0 0 1 q R2 int loopback 0 R2 LoopBack0 ip add 2 2 2 2 24 R2 LoopBack0 q R2 int loopback 1 R2 LoopBack1 ip add 192 168 2 1 24 R2 LoopBack1 q R2 ospf 10 R2 ospf 10 area 1 R2 ospf 10 area 0 0 0 1 network 12 1 1 0 0 0 0 3 R2 ospf 10 area 0 0 0 1 q R2 ospf 10 area 0 R2 ospf 10 area 0 0 0 0 network 23 1 1 0 0 0 0 3 R2 ospf 10 area 0 0 0 0 network 2 2 2 0 0 0 0 255 R2 ospf 10 area 0 0 0 0 network 192 168 2 0 0 0 0 255 R2 ospf 10 area 0 0 0 0 q R2 ospf 10 q R2 R3 Huawei sysname R3 R3 int e0 0 0 R3 Ethernet0 0 0 ip add 34 1 1 1 30 R3 Ethernet0 0 0 int e0 0 1 R3 Ethernet0 0 1 ip add 23 1 1 2 30 R3 Ethernet0 0 1 q R3 int loopback 0 R3 LoopBack0 ip add 3 3 3 3 24 R3 LoopBack0 q R3 int loopback 1 R3 LoopBack1 ip add 192 168 3 1 24 R3 LoopBack1 q R3 ospf 10 R3 ospf 10 area 2 R3 ospf 10 area 0 0 0 2 network 34 1 1 0 0 0 0 3 R3 ospf 10 area 0 0 0 2 q R3 ospf 10 area 0 R3 ospf 10 area 0 0 0 0 network 3 3 3 0 0 0 0 255 R3 ospf 10 area 0 0 0 0 network 23 1 1 0 0 0 0 3 R3 ospf 10 area 0 0 0 0 network 192 168 3 0 0 0 0 255 R3 ospf 10 area 0 0 0 0 q R3 ospf 10 q R3 R4 Huawei sysname R4 R4 int e0 0 0 R4 Ethernet0 0 0 ip add 34 1 1 2 30 R4 Ethernet0 0 0 q R4 int loopback 0 R4 LoopBack0 ip add 4 4 4 4 24 R4 LoopBack0 q R4 int loopback 1 R4 LoopBack1 ip add 192 168 4 1 24 R4 LoopBack1 q R4 ospf 10 R4 ospf 10 area 2 R4 ospf 10 area 0 0 0 2 network 4 4 4 0 0 0 0 255 R4 ospf 10 area 0 0 0 2 network 34 1 1 0 0 0 0 3 R4 ospf 10 area 0 0 0 2 network 192 168 4 0 0 0 0 255 R4 ospf 10 area 0 0 0 2 q R4 ospf 10 q R4 从 PC 端 ping 各个路由器的 route id PC ping 1 1 1 1 Ping 1 1 1 1 32 data bytes Press Ctrl C to break From 1 1 1 1 bytes 32 seq 1 ttl 255 time 31 ms From 1 1 1 1 bytes 32 seq 2 ttl 255 time 15 ms From 1 1 1 1 bytes 32 seq 3 ttl 255 time 16 ms From 1 1 1 1 bytes 32 seq 4 ttl 255 time 31 ms From 1 1 1 1 bytes 32 seq 5 ttl 255 time 16 ms 1 1 1 1 ping statistics 5 packet s transmitted 5 packet s received 0 00 packet loss round trip min avg max 15 21 31 ms PC ping 3 3 3 3 Ping 3 3 3 3 32 data bytes Press Ctrl C to break From 3 3 3 3 bytes 32 seq 1 ttl 253 time 94 ms From 3 3 3 3 bytes 32 seq 2 ttl 253 time 109 ms From 3 3 3 3 bytes 32 seq 3 ttl 253 time 94 ms From 3 3 3 3 bytes 32 seq 4 ttl 253 time 94 ms From 3 3 3 3 bytes 32 seq 5 ttl 253 time 94 ms 3 3 3 3 ping statistics 5 packet s transmitted 5 packet s received 0 00 packet loss round trip min avg max 94 97 109 ms PC ping 4 4 4 4 Ping 4 4 4 4 32 data bytes Press Ctrl C to break From 4 4 4 4 bytes 32 seq 1 ttl 252 time 156 ms From 4 4 4 4 bytes 32 seq 2 ttl 252 time 125 ms From 4 4 4 4 bytes 32 seq 3 ttl 252 time 109 ms From 4 4 4 4 bytes 32 seq 4 ttl 252 time 110 ms From 4 4 4 4 bytes 32 seq 5 ttl 252 time 141 ms 4 4 4 4 ping statistics 5 packet s transmitted 5 packet s received 0 00 packet loss round trip min avg max 109 128 156 ms PC 查看 R2 的路由表 3 配置 R1 与 R2 链路认证 使用明文认证 R1 R1 int e0 0 0 R1 Ethernet0 0 0 ospf aut R1 Ethernet0 0 0 ospf authentication mode sim R1 Ethernet0 0 0 ospf authentication mode simple plain YP R1 Ethernet0 0 0 q 查看邻居路由 两个路由器链路密码不同断开认证邻居关系 R1 dis ospf peer brief OSPF Process 10 with Router ID 12 1 1 1 Peer Statistic Information Area Id Interface Neighbor id State 0 0 0 1 Ethernet0 0 0 12 1 1 2 Full R2 R2 int e0 0 0 R2 Ethernet0 0 0 ospf au R2 Ethernet0 0 0 ospf authentication mode simple plain YP R2 Ethernet0 0 0 q 查看邻居路由 两个路由器链路密码相同重新连接认证邻居关系 R2 dis ospf peer brief OSPF Process 10 with Router ID 12 1 1 2 Peer Statistic Information Area Id Interface Neighbor id State 0 0 0 0 Ethernet0 0 1 34 1 1 1 Full 0 0 0 1 Ethernet0 0 0 12 1 1 1 Full 4 配置 R3 与 R4 的区域认证 使用密文认证 R3 R3 ospf 10 R3 ospf 10 area 2 R3 ospf 10 area 0 0 0 2 au R3 ospf 10 area 0 0 0 2 authentication mode md5 1 cipher YP R3 ospf 10 area 0 0 0 2 q 查看邻居路由 两个路由器链路密码不同断开认证邻居关系 R3 ospf 10 dis ospf peer brief OSPF Process 10 with Router ID 34 1 1 1 Peer Statistic Information Area Id Interface Neighbor id State 0 0 0 0 Ethernet0 0 1 12 1 1 2 Full R4 R4 ospf 10 R4 ospf 10 area 2 R4 ospf 10 area 0 0 0 2 au R4 ospf 10 area 0 0 0 2 authe

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

最新文档

评论

0/150

提交评论