当前位置:网站首页>(redistribute, special comprehensive experiment ospf area)
(redistribute, special comprehensive experiment ospf area)
2022-07-30 03:45:00 【Co_ml】

设计拓扑,配置ip;
配置MGRE:(R3为中心进行注册)
[r3-Tunnel0/0/0]interface Tunnel0/0/0 创建tunnel口
[r3-Tunnel0/0/0]ip address 10.1.1.1 255.255.255.0 配置接口ip地址
[r3-Tunnel0/0/0]tunnel-protocol gre p2mp 先修改接口模式为多点GRE
[r3-Tunnel0/0/0]source 172.16.6.1 再定义公有的源IP地址
[r3-Tunnel0/0/0]nhrp entry multicast dynamic 本地成为NHRP中心,同时可以进行伪广播
[r3-Tunnel0/0/0]nhrp network-id 100 默认为0号,该网段内所有节点tunnel接口必须为相同域
R5R6R7到R3注册:
[r5-Tunnel0/0/0]interface Tunnel0/0/0
[r5-Tunnel0/0/0]ip address 10.1.1.5 255.255.255.0
[r5-Tunnel0/0/0]tunnel-protocol gre p2mp
[r5-Tunnel0/0/0]source GigabitEthernet0/0/0 假设分支站点ip地址不固定
[r5-Tunnel0/0/0]nhrp network-id 100
[r5-Tunnel0/0/0]nhrp entry 10.1.1.1 172.16.6.1 register 分支需要到中心站点注册
访问:isp;配置缺省路由,natThere are private address translation:
[r3]ip route-static 0.0.0.0 0 172.16.6.2
[r3]acl 2000
[r3-acl-basic-2000]rule permit source 172.16.1.0 0.0.0.255
[r3]int g0/0/1
[r3-GigabitEthernet0/0/1]nat outbound 2000
ospf宣告:骨干区域0需要宣告tunnel口;
如r7:--------
[r7]ospf 1
[r7-ospf-1-area-0.0.0.0]dis th
[V200R003C00]
#
area 0.0.0.0
network 10.1.1.7 0.0.0.0
network 172.16.10.0 0.0.0.255
#
return
而r4Need to be released:远离骨干区域的非骨干区域------
[r9]ospf 1
[r9-ospf-1]import-route ospf 2 导入OSPF 2
[r9-ospf-1]q
[r9]ospf 2
[r9-ospf-2]import-route ospf 1 导入OSPF 1
[r9-ospf-1-area-0.0.0.3]dis th
[V200R003C00]
#
area 0.0.0.3
network 172.16.3.0 0.0.0.255
nssa no-summary
#
return
[r9-ospf-2-area-0.0.0.4]dis th
[V200R003C00]
#
area 0.0.0.4
abr-summary 172.16.4.0 255.255.255.0
network 172.16.4.0 0.0.0.255
#
return
r12;重发布rip----
[r12-ospf-1]import-route rip 将rip重发布到OSPF的进程1
----减少lsa数量;汇总
[r3]ospf 1
[r3-ospf-1]area 1 来源区域(一定是ABR通过该区域的1、2类计算所得路由)
[r3-ospf-1-area-0.0.0.1]abr-summary 172.16.1.0 255.255.255.0
将R2设置为末梢区域:
[r3]ospf 1
[r3-ospf-1]area 1
[r3-ospf-1-area-0.0.0.1]stub
[r3-ospf-1-area-0.0.0.1]stub no-summary
将R7 R6设置为 完全nssa
[r7]ospf 1
[r7-ospf-1]area 3
[r7-ospf-1-area-0.0.0.3]nssa no-summary
更新安全:
[r3]ospf 1
[r3-ospf-1]area 1
[r3-ospf-1-area-0.0.0.1]authentication-mode md5 1 cipher 123456
配置完成后,该设备所有属于区域1的接口全部基于该秘钥认证
由r5查看lsadb:
[r5-ospf-1]dis ospf lsdb
OSPF Process 1 with Router ID 5.5.5.5
Link State Database
Area: 0.0.0.0
Type LinkState ID AdvRouter Age Len Sequence Metric
Router 7.7.7.7 7.7.7.7 494 48 80000006 0
Router 6.6.6.6 6.6.6.6 448 48 80000005 0
Router 5.5.5.5 5.5.5.5 1558 48 80000005 0
Router 3.3.3.3 3.3.3.3 1013 36 8000000B 1562
Network 10.1.1.1 3.3.3.3 1013 40 80000005 0
Sum-Net 172.16.3.0 7.7.7.7 77 28 80000007 2
Sum-Net 172.16.2.0 6.6.6.6 216 28 80000006 2
Sum-Net 172.16.1.0 3.3.3.3 400 28 80000005 1
AS External Database
Type LinkState ID AdvRouter Age Len Sequence Metric
External 0.0.0.0 7.7.7.7 494 36 80000001 1
External 0.0.0.0 6.6.6.6 448 36 80000001 1
External 172.16.4.0 9.9.9.9 201 36 80000003 2
External 172.16.4.0 7.7.7.7 76 36 80000001 2
External 172.16.5.0 12.12.12.12 399 36 80000003 2
External 172.16.5.0 6.6.6.6 216 36 80000001 2
External 172.16.2.16 12.12.12.12 428 36 80000002 1
边栏推荐
猜你喜欢
随机推荐
OpenFeign实现降级
小程序毕设作品之微信积分商城小程序毕业设计成品(1)开发概要
CMake的安装和测试
Uptime Monitoring: How to Ensure Network Device Uptime
OpenFeign implementation downgrade
Nacos namespace
Basic introduction to protect the network operations
小程序毕设作品之微信积分商城小程序毕业设计成品(3)后台功能
Small application project works WeChat integral mall small program of graduation design (4) the opening report of finished product
un7.29: How to install and configure redis in Linux-centos?
2022-07-29 第四小组 修身课 学习笔记(every day)
Mini Program Graduation Works WeChat Second-hand Trading Mini Program Graduation Design Finished Works (7) Interim Inspection Report
spicy(一)基本定义
Resampling a uniformly sampled signal
如何有效进行回顾会议(上)?
Is the snowflake the same question?
小程序毕设作品之微信积分商城小程序毕业设计成品(8)毕业设计论文模板
北京bgp机房和普通机房的区别
传统项目转型
Nacos实现高可用









