当前位置:网站首页>Switch and Router Technology - 28 - NSSA Areas for OSPF
Switch and Router Technology - 28 - NSSA Areas for OSPF
2022-08-11 04:53:00 【w Spicy little prince】
目录
1.1 OSPFRedistribute the review
一、OSPF NSSA区域
1.1 OSPFRedistribute the review
What is route redistribution
将其他自治系统的路由重分发进ospf自治系统内
链路类型E1、E2默认一般是E2Only external costs are considered
Common redistribution
OSPF重分发直连
OSPFredistribute default
OSPF重分发静态
OSPF重分发RIP
RIP重分发OSPF
二、NSSA区域
2.1 基本概念
非纯末梢区域,There must be one in this areaASBR路由器,需要在ASBR上配置重分发
Experiment with redistribution direct connection
6种LSALink state advertisements are inNSSA区域有哪几种?
SLA1、2、3、4、7
2.2 Type7类型的LSA
作为OSPF协议的一种扩展属性,NSSA中定义了一种LSA→Type7类型的LSA,作为区域内的路由器引入外部路由时使用,该类型的LSA除了类型标识与Type 5不相同之外,其它内容基本一样,这样区域内的路由器就可以通过LSA的类型来判断是否该路由来自本区域内.但由于Type 7类的LSA是新定义的,对于不支持NSSA属性的路由器无法识别,所以协议规定:在NSSA的ABR上将NSSA内部产生的Type 7类型的LSA转化为Type 5类型的LSA再发布出去,并同时更改LSA的发布者为ABR自己.这样NSSA区域外的路由器就可以完全不用支持该属性
对LSA的影响
类型7LSA在一个NSSA区域内携带外部信息
类型7LSA在NSSA的ABR上被转化为5LSA
不允许外部LSA
汇总LSA被引入
NSSA类型
N1
N2
通过NSSA的ABR之后转换为E1、E2
三、配置实例
R1配置
Router(config)#interface GigabitEthernet0/0
Router(config-if)#ip address 172.168.10.254 255.255.0.0
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config)#
Router(config)#interface GigabitEthernet0/1
Router(config-if)#ip address 10.0.0.1 255.255.255.252
Router(config-if)#exit
Router(config)#
Router(config)#router ospf 1
Router(config-router)#network 10.0.0.0 0.0.0.3 area 2
Router(config-router)#area 2 nssa
Router(config-router)#area 2 nssa no-summary
Router(config-router)#redistribute connected subnets //ospf重分发直连路由
查看R1路由,There is a default route formed because we turned off automatic summarization
R0配置
Router(config)#interface GigabitEthernet0/0
Router(config-if)#ip address 10.0.0.2 255.255.255.252
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config)#
Router(config)#interface GigabitEthernet0/1
Router(config-if)#ip address 20.0.0.1 255.255.255.252
Router(config-if)#no shutdown
Router(config-if)#exit
Router(config)#
Router(config)#router ospf 1
Router(config-router)#network 10.0.0.0 0.0.0.3 area 2
Router(config-router)#network 20.0.0.0 0.0.0.3 area 0
Router(config-router)#area 2 nssa no-summary
Router(config-router)#
Router(config-router)#end
Router#
查看R0A new routing table is addedN2Type of routing entry,因为R0此时也是NSSA区域的路由,会识别LSA7Type of link state advertisement,所以显示的N2而不是E2
R2配置
Router#configure terminal
Router(config)#interface GigabitEthernet0/1
Router(config-if)#ip address 20.0.0.2 255.255.255.252
Router(config-if)#no shutdown
Router(config-if)#
Router(config-if)#exit
Router(config)#interface GigabitEthernet0/0
Router(config-if)#ip address 192.168.1.254 255.255.255.0
Router(config-if)#no shutdown
Router(config-if)#exit'
Router(config)#
Router(config)#router ospf 1
Router(config-router)#network 20.0.0.0 0.0.0.3 area 0
Router(config-router)#network 192.168.1.0 0.0.0.255 area 0
Router(config-router)#end
Router#
查看R2的路由表
由于R1It is an internal route,查看到的是E2类型
边栏推荐
- 源代码加密技术浅析
- Bubble sort and heap sort
- 项目实战第二十七讲:状态模式在重名品牌中的应用
- Listen to pull out U disk inserted into the message, U disk drive
- Self-research capability was recognized again, and Tencent Cloud Database was included in the Forrester Translytical report
- Mysql:设置主键自动增长起始值
- 交换机和路由器技术-34-动态NAT
- How to switch Green Shield encryption to IP-Guard encryption smoothly
- 交换机和路由器技术-22/23-OSPF动态路由协议/链路状态同步过程
- 智能指针笔记
猜你喜欢
Optimization is a kind of habit low starting point is the "standing near the critical"
ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: '/data/xxxx
Merkel Studio--OpenEuler Training Notes (1)
交换机和路由器技术-35-NAT转PAT
分层架构&SOA架构
论文笔记:Bag of Tricks for Long-Tailed Visual Recognition with Deep Convolutional Neural Networks
async(异步)和await的使用
交换机和路由器技术-22/23-OSPF动态路由协议/链路状态同步过程
Object Creation and Display Transformation
交换机和路由器技术-25-OSPF多区域配置
随机推荐
力扣——旋转数组的最小数字
如何将360全景图导出高清短视频分享到视频平台上?
交换机和路由器技术-21-RIP路由协议
Redis deletes keys in batches according to regular rules
FPGA工程师面试试题集锦121~130
[Server installation Redis] Centos7 offline installation of redis
Three 】 【 yolov7 series of actual combat from 0 to build training data sets
交换机和路由器技术-26-OSPF末梢区域配置
To break the bottleneck of transactional work, the gentleman signs the electronic contract to release the "source power" of HR!
洛谷P4560 Wall 砖墙
form表单提交数据库中文变成问号
「转」“搜索”的原理,架构,实现,实践,面试不用再怕了
Bubble sort and heap sort
About data paging display
2021 Network Planning Designer Afternoon Case Questions
分层架构&SOA架构
c语言fprintf、fscanf、sscanf以及sprintf函数知识要点总结
Embedded Sharing Collection 33
交换机和路由器技术-29-OSPF虚链路
智能指针笔记