【正文】
A External LSA ? External Attributes LSA ? Opaque LSA( linklocal scope) ? Opaque LSA( arealocal scope) ? Opaque LSA( AS scope) 智慧無盡 .創(chuàng)意無限 OSPF網(wǎng)絡(luò)類型 PointtoPoint NBMA Broadcast Multiaccess Frame Relay 智慧無盡 .創(chuàng)意無限 DR和 BDR(續(xù)) ? 廣播型網(wǎng)絡(luò)會導(dǎo)致過多的相鄰關(guān)系 A B C D E A B C D E 智慧無盡 .創(chuàng)意無限 DR和 BDR ? 只有 DR和 BDR才會同其它路由器建立相鄰關(guān)系 A B C D E A B C D E ( DR) ( BDR) ( DR) ( BDR) 智慧無盡 .創(chuàng)意無限 OSPF接口數(shù)據(jù)結(jié)構(gòu) RT2 show ip ospf interface serial7/1 serial7/1 is up, line protocol is up Inter Address , Area () Router ID , Network Type POINTTOPOINT, Cost: 1563 POINTTOPOINT destination IP Transmit Delay is 1 sec, State PointToPoint, Priority 1 flag20625 ifptype1 No designated router on this work No backup designated router on this work Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5 Hello due in 00:00:03 Neighbor Count is 1, Adjacent neighbor count is 1 Neighbor information : Neighbor ID State Address Interface Full/DROther serial7/1: PointtoPoint類型網(wǎng)絡(luò)接口的數(shù)據(jù)結(jié)構(gòu) 智慧無盡 .創(chuàng)意無限 OSPF接口數(shù)據(jù)結(jié)構(gòu)(續(xù)) RT2 show ip ospf interface eth1/0 eth1/0 is up, line protocol is up Inter Address , Area () Router ID , Network Type BROADCAST, Cost: 10 Transmit Delay is 1 sec, State Backup, Priority 1 flag20483 ifptype2 Designated Router (ID) , Interface Address Backup Designated Router (ID) Interface Address Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5 Hello due in 00:00:04 Neighbor Count is 1, Adjacent neighbor count is 1 Neighbor information : Neighbor ID State Address Interface Full/DR eth1/0: 廣播類型網(wǎng)絡(luò)接口的數(shù)據(jù)結(jié)構(gòu) 智慧無盡 .創(chuàng)意無限 OSPF接口數(shù)據(jù)結(jié)構(gòu)(續(xù)) NBMA類型網(wǎng)絡(luò)接口的數(shù)據(jù)結(jié)構(gòu) RT1 show ip ospf interface s0/0 serial0/0 is up, line protocol is up Inter Address , Area () Router ID , Network Type POINTOMULTIPOINT, Cost: 1563 Transmit Delay is 1 sec, State PointToPoint, Priority 1 flag20483 ifptype4 No designated router on this work No backup designated router on this work Timer intervals configured, Hello 30, Dead 120, Wait 120, Retransmit 5 Hello due in 00:00:07 Neighbor Count is 2, Adjacent neighbor count is 2 Neighbor information : Neighbor ID State Address Interface Full/DROther serial0/0: Full/DROther serial0/0: 智慧無盡 .創(chuàng)意無限 接口狀態(tài)機( interface state machine) ? OSPF協(xié)議接口的變化過程 Down Waiting Loopback DR Backup DRother PointtoPoint DR/BDR選舉 PointtoPoint網(wǎng)絡(luò)類型 廣播型 /NBMA網(wǎng)絡(luò)類型 智慧無盡 .創(chuàng)意無限 相鄰( Adjacency)關(guān)系建立過程 ? 鄰居發(fā)現(xiàn)( Neighbor discovery) ? 雙向通信( Bidirectional munication) ? 數(shù)據(jù)庫同步( Database synchronization) – 數(shù)據(jù)庫描述( Database Description) – 鏈路狀態(tài)查詢( Link State Request) – 鏈路狀態(tài)更新( Link State Update) ? 相鄰關(guān)系建立( Full adjacency) 智慧無盡 .創(chuàng)意無限 鄰居狀態(tài) ? Down:沒有從鄰居處接收到信息,但努力嘗試同網(wǎng)絡(luò)鄰居聯(lián)系 ? init:從網(wǎng)絡(luò)鄰居處接收到 HELLO包,但路由器本身并沒有在該 HELLO包中列出 ? twoway:同網(wǎng)絡(luò)鄰居建立了雙向通訊 ? Exstart:用于 DD同步 ,確定主 /輔助路由器、 DD包的第一個序列號 ? exchange:路由器通過 DD包描述了整個鏈路狀態(tài)數(shù)據(jù)庫,一次發(fā)送一個 DD包