更新机制
定时更新+触发更新

定时更新:
   LSA每1800s更新一次;3600s 失效

触发更新:
    当链路发生变化,立即发送更新报文
建立过程
报文类型
hello  发现和维护邻居

DD(database description)   交互链路状态数据库摘要

LSR(Link state request)    请求特定链路状态信息

LSU(Link state update)     发送详细的链路状态信息

LSA(Link state ack)        发送确认报文
路由器类型
(IR)internal  router : 区域内部路由器
(ABR)area border router : 区域边界路由器
(BR)backbond router : 骨干路由器
(ASBR)AS boundary router : 自治系统边界路由器
查看OSPF 邻居信息
[Huawei]display  ospf peer brief 

	 OSPF Process 1 with Router ID 1.1.1.1
		  Peer Statistic Information
 ----------------------------------------------------------------------------
 Area Id          Interface                        Neighbor id      State    
 0.0.0.0          GigabitEthernet0/0/1             2.2.2.2          Init        

 0.0.0.0          GigabitEthernet0/0/1             3.3.3.3          Init        

 0.0.0.0          GigabitEthernet0/0/1             4.4.4.4          Init        

 0.0.0.1          GigabitEthernet0/0/0             6.6.6.6          Full        

 ----------------------------------------------------------------------------
查看OSPF 配置信息
[Huawei]display  current-configuration configuration ospf 
[V200R003C00]
#
ospf 1 router-id 1.1.1.1 
 area 0.0.0.0 
  network 1.1.1.1 0.0.0.0 
  network 10.17.7.2 0.0.0.0 
 area 0.0.0.1 
  network 10.16.6.2 0.0.0.0 
#
return
[Huawei]