- 论坛徽章:
- 0
|
13日:
区域地址归纳的主要位置
维护它包括的每一个区域的LSDB
毗邻
邻居
1.建邻居 neighbor Adiacency 毗邻
网络参数有几种方式描述? P2P,BMA多路访问
4-25 OSPF 包类型
1Hello
2数据描述
3请求包
4、更新请求
5、确认包
4-26
Router ID
给路由器起名的方法
router id ―――>>起名的三种方法
1 highest ip address on active interface 注意:接口激活才能配置
2 loopback interface
3 manual designated: router)#router-id 1.1.1.1 管理员手工指定,优行级最高
clear ip ospf process y 强制清进程,使配置马上生效
4-27
ospf形成邻居的必要条件(以下四项必须匹配,4-27
1 hello/dead intervals
10/40 默认10秒发HELLO 40秒?
2 area id 给路由取那个区域
Authen-elcation type 0:无验证 1. 2.
3 authentication password 验证密钥
4 stub area flag 存根(叶子)区域的标签
4-29邻居构建过程:
Two Way state
debug ip ospf events 看邻居构建过程 还有:debug ip ospf adj
DR(designated router) 就是team leader
DR的作用
1 represent segment
2 manage link state synchronous 管理链路状态的更新
3 reduce route update 减少路由更新
4-31
DR的选举原则 Mater /slave选举
1 router id 大的
2 谁先启动--DR (non preempt) 无抢占
3 manual designated 手工指定
-if)# ip ospf priority 1 默认值为1 0-255最大越好
过程:Full State>毗邻
0-255 DR值
0 :never DR 不参与DR选举,用于HUB and spoke 场合,将其它R设为0,使FR中路由器,自动成为DR。
BDR 备份DR ,目的用于快速收敛
DRother two-way 表示不是毗邻,是TWO WAY
记命令:SHOW ip interface 可以看过是那个组的,是224.0.0.6 还是.5
4-47
NETWORK:0 must match 1:don’t care
show protocols
sh ip protocols
sh ip os nie
sh ip ospf database
sh ip route
sh ip ospf
sh ip ospf interface
intra
inter
external
ospf over frame-relay
NB的注意事项:4-73有四个
nb
1 ip one subnet
2 DR(hub做DR) spoke:priority:0 (NB必须用FULL meshad的原因)
3 neighbor manual designated 手工指定
router)#neighbor 10.1.1.2
4 full mesh(logical)add map 加映射
frame-relay(接口模式)map ip 10.1.1.3 201(DLC,LM标识FR的) b
30/120 hello值调为30,间隔为4倍30
b 邻居自动发现
nb ,b(广播) DR
p2p,p2mp,p2mp nb xDR
hello
b/p2p 10/40
nb/p2mp/p2mp nb 30/120
nb/p2mp nb static
b/p2p/p2mp auto nei
media network type
ethernet broadcast
serial(ppp/hdlc) p2p
serial(fr/x25/atm) major interface:nb母接口
sub p2p:p2p
mp : nb
单区域的负面影响,-划区域的作用
1 频繁的spf计算
2 大的RT
3 大的LSDB
LSA: LSU à>d
OSPF窗口,,1to1窗口
LSA type
OSPF路由器的四种类型4-99-100
type1 描述点,接了哪些链路 all routers intra area o ――是所有rouer发出的
type2 描述链路,接了多少个点 DR ――type 2是由DR发的
type3 summary link 描述省间(区域间) ABR inter area O IA -描述区域间路由。由ABR生成
?除OSPF,? 都能自动归纳路由。
type4 描述ASBR信息的 ABR,
type5 as external link state advertisement ASBR O E1 累积 (E2不变)
##不同协议间,需要再发布,谁生成链路广告?ASBR自治边界路由器
default :O E2(在哪都不会变) 不变 20默认种子mess
对待cost的方法
没有type4,就没有type5
wu 5 ,wu 4
router ospf 100
redistribute rip subnets
router ospf 100
redistribute eigrp 100 subnets metric-type 1 metric 20
/8/16/24
stub 存在的意义 存根,或者叶子节点
1 drop type 5 删除类型5的广告OE,删IA加参数?:
5 auto generate default route *
o * O IA
stub area rule 存根区域规则
1 单出口
2 不允许存在ASBR
3 不能把骨干区域做成stub
4 不允许virtual-link(不允许被穿透)
router)#area 1 stub no-summary(去掉归纳广告) 所有的路由器都要这条。??
totally stubby 总体
1 drop type 5,4,3
2 auto generate default route
* o 路由表里有* O
4-36
AGE:寿命
SEQ:刷新时间 LINK:link数
4-
OSPF网络类型4-63
PTOP,NBMA非多路访问
Network XXXX 圈地
Router_id
Ip ospf priority 1 选DR
Clesr ip ospf process 刷新 OSPF
Area 1 range 4.4.4.0 255.255.255.252.0 ABR
Sum-addr 4.4.4.0 255.255.255.252.0 ASBR
调区域类型
area 1 stud
area 1 stud no-summary
area 1 nssa
atea 1 nssa no -summary
虚链路:
area 1 vir-link 2.2.2.2
ip ospf net p-to-p
no ip routing 清空配置的路由协议,重新打开用ip routing
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/15407/showart_99110.html |
|