国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 學院 > 網絡通信 > 正文

OSPF的初始配置在點到點鏈路

2019-11-04 20:42:51
字體:
來源:轉載
供稿:網友

  前言
  在點到點鏈路例如高級 數據鏈路控制(HDLC)和PPP,開放式最短路徑優先(OSPF)運行作 為一個點到點的網絡類型。默認情況下此網絡類型被啟用。 本文顯示OSPF 的示例配置在一條點到點鏈路。檢查 運行OSPF的接口的網絡類型,使用 show ip ospf interface命令。
  
  示例如何用OSPF配置點到點網絡也與HDLC封裝一起使用。
  
  使用的組件
  本文不限于特 定軟件和硬件版本。
  
  本文提供的信 息在特定實驗室環境里從設備被創建了。用于本文的所有設 備開始了以一個缺省(默認)配置。假如在一個真實網絡工 作,保證您使用它以前了解所有命令的潛在影響。
  
  用IP地址配置
  在此部分,您介紹用信 息配置通過一條點對點串行鏈路連接用在串行接口配置的IP 地址 運行OSPF路由協議的路由器。
  
  注重: 找到其它信息關于用于本文的命令,使用 命令查找工具 (注冊的用戶)。
  
  網絡圖
  
 OSPF的初始配置在點到點鏈路(圖一)

  配置
  此部分使用如下所示的配置。
  
  Router1
  
  Router1
   !
   interface Loopback0
  ip address 3.3.3.3 255.255.255.255
   !
   interface Serial2
   ip address 1.1.1.2 255.255.255.0
   !
   router ospf 1
   network 1.1.1.0 0.0.0.255 area 0
   !
  
  Router2
  
  Router2
   !
   interface Loopback0
   ip address 2.2.2.2 255.255.255.255
   !
   interface Serial1/0
   ip address 1.1.1.1 255.255.255.0
   clockrate 2000000
   !
   router ospf 1
   network 1.1.1.0 0.0.0.255 area 0!
  
  用未編號的接口配置
  在此部分,您介紹用信息配置通過未編號的接口連 接和運行OSPF的路由器。
  
  注重: 找到其它信息關于用于本文的命令,使用 命令查找工具 (注冊的用戶)。
  
  網絡圖
  
OSPF的初始配置在點到點鏈路(圖二)

  
  配置
  此部分使用如下所示的配置。
  
  Router1
  
  !
   interface Loopback0
   ip address 3.3.3.3 255.255.255.255
   !
   interface Serial0
   ip unnumbered loopback 0
   encapsulation ppp
   !
   router ospf 1
  network 3.3.3.0 0.0.0.255 area 0
   !
  
  Router2
  
  !
   interface Loopback0
   ip address 2.2.2.2 255.255.255.255
   !
   interface Serial0
   ip unnumbered loopback 0
   encapsulation ppp
   !
   router ospf 1
  network 2.2.2.0 0.0.0.255 area 0
   !
  
  驗證
  此部分提供您能使用確認您的配置適當地工作的信息。
  
  輸出解釋器工具 支持 某些show命令 (注冊的 用戶) ,答應您查看show命令輸出分析。
  
  驗證用IP地址
  下列是在Router1發出的 show ip ospf neighbor 命令的輸出。
  Router1#show ip ospf neighbor
  Neighbor ID  PRi  State    Dead Time    Address    Interface
   2.2.2.2   1  FULL/ -    00:00:32    1.1.1.1     Serial 0
  
  此輸出表示, Router1有一相鄰,路由器ID是2.2.2.2和形成了完全鄰接與此相鄰 。地址1.1.1.1是Router2 Serial0接口的IP 地址
  
  得知更多 show ip ospf neighbor命 令,參見 什么執行 show ip ospf neighbor命 令顯示?
  
  下列是 show ip ospf interface命令的輸出 在Router1。 以下 表示OSPF網絡類型為接口Serial0點到點。
  Router1#show ip ospf interface serial 0
  Serial0 is up, line protocol is up
  Internet Address 1.1.1.2/24, Area 0
  Process ID 1, Router ID 3.3.3.3, Network Type POINT_TO_POINT, Cost: 64
  Transmit Delay is 1 sec, State POINT_TO_POINT,
  Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
  Hello due in 00:00:05
  Index 1/1, flood queue length 0
  Next 0x0(0)/0x0(0)
  Last flood scan length is 1, maximum is 1
  Last flood scan time is 0 msec, maximum is 0 msec
  Neighbor Count is 1, Adjacent neighbor count is 1
  Adjacent with neighbor 2.2.2.2
  Suppress hello for 0 neighbor(s)
  
  同樣地,輸出為 show命令在Router2如下所示。
  Router2#show ip ospf neighbor
  Neighbor ID   Pri  State   Dead Time   Address   Interface
   3.3.3.3     1   FULL/ -  00:00:32   1.1.1.2   Serial0
  Router2#show ip ospf interface serial 0
  Serial0 is up, line protocol is up
  Internet Address 1.1.1.1/24, Area 0
  Process ID 1, Router ID 2.2.2.2, Network Type POINT_TO_POINT, Cost: 64
  Transmit Delay is 1 sec, State POINT_TO_POINT,
  Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
   Hello due in 00:00:05
  Index 1/1, flood queue length 0
  Next 0x0(0)/0x0(0)
  Last flood scan length is 1, maximum is 1
  Last flood scan time is 0 msec, maximum is 0 msec
  Neighbor Count is 1, Adjacent neighbor count is 1
   Adjacent with neighbor 3.3.3.3
  Suppress hello for 0 neighbor(s)
  
  驗證與未編號的接口
  show ip ospf nei ghbor 命令在Router1和Router2確認完全鄰接。以下表示 OSPF網絡類型為接口Serial0點到點。
  
  得知更多 show ip ospf neighbor命 令,參見 什么執行 show ip ospf neighbor命 令顯示?
  Router1#show ip ospf neighbor
    Neighbor ID Pri  State  Dead Time  Address   Interface
    2.2.2.2   1  FULL/ -  00:00:37  2.2.2.2    Serial0
  Router1#show ip ospf interface serial 0
  Serial0 is up, line protocol is up
  Internet Address 0.0.0.0/0, Area 0
  Process ID 1, Router ID 3.3.3.3, Network Type POINT_TO_POINT, Cost: 64
  Transmit Delay is 1 sec, State POINT_TO_POINT,
  Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
   Hello due in 00:00:08
  Index 2/2, flood queue length 0
  Next 0x0(0)/0x0(0)
  Last flood scan length is 1, maximum is 1
  Last flood scan time is 0 msec, maximum is 0 msec
  Neighbor Count is 1, Adjacent neighbor count is 1
   Adjacent with neighbor 2.2.2.2
  Suppress hello for 0 neighbor(s)
  
  同樣地,輸出為 show命令在Router2如下 所示。
  Router2#show ip ospf neighbor
    Neighbor ID  Pri  State  Dead Time  Address  Interface
    3.3.3.3    1  FULL/ - 00:00:30  3.3.3.3  Serial0
  Router2#show ip ospf interface serial 0
  Serial0 is up, line protocol is up
  Internet Address 0.0.0.0/0, Area 0
  Process ID 1, Router ID 2.2.2.2, Network Type POINT_TO_POINT, Cost: 64
  Transmit Delay is 1 sec, State POINT_TO_POINT,
  Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5
   Hello due in 00:00:08
  Index 2/2, flood queue length 0
  Next 0x0(0)/0x0(0)
  Last flood scan length is 1, maximum is 1
  Last flood scan time is 0 msec, maximum is 0 msec
  Neighbor Count is 1, Adjacent neighbor count is 1
   Adjacent with neighbor 3.3.3.3
  Suppress hello for 0 neighbor(s)


發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 昆山市| 孝义市| 女性| 台前县| 江门市| 镇雄县| 石狮市| 房山区| 渝北区| 韶山市| 昌黎县| 瑞金市| 新闻| 抚远县| 扶沟县| 宜宾市| 镇赉县| 福海县| 康平县| 德钦县| 大丰市| 贵德县| 阿瓦提县| 札达县| 洪雅县| 绩溪县| 鄄城县| 金川县| 长沙市| 汝州市| 寻乌县| 象山县| 东明县| 灌阳县| 壶关县| 信阳市| 崇明县| 曲松县| 丹东市| 监利县| 会东县|