日本免费全黄少妇一区二区三区-高清无码一区二区三区四区-欧美中文字幕日韩在线观看-国产福利诱惑在线网站-国产中文字幕一区在线-亚洲欧美精品日韩一区-久久国产精品国产精品国产-国产精久久久久久一区二区三区-欧美亚洲国产精品久久久久

路由協(xié)議-OSPF路由協(xié)議( 五 )


[Router-ethernet0]
ospf enable area 0.0.0.0
接口使能ospf,屬于0域
!
[Router]
interface Serial0
進入串口0口;連Router B
[Router-Serial0]
link-protocol ppp
封裝ppp協(xié)議
[Router-Serial0]
ip address 20.1.1.2 255.255.255.252
配置串口IP地址
[Router-Serial0]
ospf enable area 0.0.0.0
接口使能ospf,屬于1域
!
quit
[Router]
ospf enable
使能ospf
!
【Router B】
當前路由器提示視圖
依次輸入的配置命令,重要的命令紅色突出顯示
簡單說明
!
適用版本:vrp1.74
[Router]
router id 10.1.1.1
配置router id
!
適用版本:vrp1.74
[Router]
interface Seria0
進入串口0口;連Router C
[Router-Serial0]
link-protocol ppp
封裝ppp協(xié)議
[Router-Serial0]
ip address 30.1.1.1 255.255.255.252
配置串口IP地址
[Router-Serial0]
ospf enable area 0.0.0.1
接口使能ospf,屬于1域
!
[Router]
interface Serial1
進入串口0口;連Router A
[Router-Serial1]
link-protocol ppp
封裝ppp協(xié)議
[Router-Serial1]
ip address 20.1.1.1 255.255.255.252
配置串口IP地址
[Router-Serial1]
ospf enable area 0.0.0.0
接口使能ospf,屬于0域
!
quit
[Router]
ospf enable
使能ospf
[Router-ospf]
stub cost 60 area 0.0.0.1 no-summary
將1域配置成為完全stub域
!
【Router 】
當前路由器提示視圖
依次輸入的配置命令,重要的命令紅色突出顯示
簡單說明
!
適用版本:vrp1.74及1.44
[Router]
router id 40.1.1.1
配置router id
!
[Router]
interface Ethernet0
進入以太0口
[Router-ethernet0]
ip address 40.1.1.1 255.255.255.0
配置內(nèi)網(wǎng)IP地址
[Router-ethernet0]
ospf enable area 0.0.0.1
接口使能ospf,屬于1域
!
[Router]
interface Serial0
進入串口0口;連Router B
[Router-Serial0]
link-protocol ppp
封裝ppp協(xié)議
[Router-Serial0]
ip address 30.1.1.2 255.255.255.252
配置串口IP地址
[Router-Serial0]
ospf enable area 0.0.0.1
接口使能ospf,屬于1域
!
[Router]
interface Serial1
進入串口1口;連D
[Router-Serial0]
link-protocol ppp
封裝ppp協(xié)議
[Router-Serial0]
ip address 1.1.1.2 255.255.255.252
配置串口IP地址
!
quit
[Router]
ospf enable
使能ospf
[Router-ospf]
stub cost 60 area 0.0.0.1 no-summary
將1域配置為完全stub域
[Router-ospf]
import-route static
引入靜態(tài)路由
!
quit
ip route-static 50.0.0.0 255.0.0.0 1.1.1.1 preference 60
配置去往D的靜態(tài)路由
『注重』
請注重版本適用范圍 。
5.3.7使用nssa『需求』
一個OSPF自治系統(tǒng)中,A,B運行在area 0,B,C運行在area 1,且為NSSA區(qū)域,B為ABR 。
整個OSPF自治系統(tǒng)均可學(xué)習(xí)到asbr router C引入的到D的路由 。
【Router A】
【Router A】
當前路由器提示視圖
依次輸入的配置命令,重要的命令紅色突出顯示
簡單說明
!
適用版本:vrp1.74及1.44
[Router]
router id 10.1.1.1
配置router id
!
[Router]
interface Ethernet0
進入以太0口
[Router-ethernet0]
ip address 10.1.1.1 255.255.255.0
配置內(nèi)網(wǎng)IP地址
[Router-ethernet0]
ospf enable area 0.0.0.0
接口使能ospf,屬于0域
!
[Router]
interface Serial0
進入串口0口;連Router B
[Router-Serial0]

推薦閱讀