• OSPF基础介绍


                            OSPF基础介绍

       

    一.RIP的缺陷

    1.以跳数评估的路由并非最优路径

    2.最大跳数16导致网络尺度小

    3.收敛速度慢

    4.更新发送全部路由表浪费网络资源

    二.OSPF基本原理

    1.什么是OSPF

      a>.OSPF(Open Shortest Path First,开放最短路径有限)是IETF开发的基于链路状态的自治系统内部路由协议;

      b>.OSPF仅传播对端设备不具备的路由信息,网络收敛迅速,并有效避免了网络资源浪费;

      c>.OSPF直接工作于IP层之上,IP协议号为89;

      d>.OSPF以组播地址发送协议包;

    2. OSPF协议工作过程概述

      a>.寻找邻居;

      b>.建立邻接关系;

     

      注意:上图中的DR和BDR是用来管理一个单区域的,上图中邻接关系数是10,如果都让OSPF来管理是会有很大的负载的,这个时候选举出DR和BDR(DR是管理者,当DR坏掉是有BDR路由器来取得所有权进行管理)来管理这些单区域,多条链路是的话需要选举出来DR和BDR,单挑链路是没有必要选举的,因为没有那么大的负载。  

      DR和BDR选举

    DR,BDR选举规则总结:
      1>.选举接口优先级,优先级越大越优先,被选DR,优先级第二,被选BDR.
      2>.如果优先级一样,选route-id,越大优先.
      3>.如果路由器没有设置route-id,那么选接口的ip地址,越大越优先。

    注意:一个单区域中可以没有BDR,但是必须有DR!

     c>.链路状态信息传递;

      d.路由计算

    3.OSPF协议分区域管理

    4.OSPF协议区域LSA发布

    三.配置OSPF

     配置下图实验,让公司总部这太电脑能够访问各个机房的主机!

    配置过程如下:

    "兆维机房"配置如下:

     1 "兆维机房"配置如下:
     2 [Huawei]sysname zhaowei
     3 [zhaowei]interface LoopBack 1
     4 [zhaowei-LoopBack1]ip address 172.16.1.1 24
     5 [zhaowei-LoopBack1]quit 
     6 [zhaowei]interface Ethernet 0/0/0
     7 [zhaowei-Ethernet0/0/0]ip address 192.168.1.1 24
     8 [zhaowei-Ethernet0/0/0]undo shutdown 
     9 [zhaowei-Ethernet0/0/0]quit
    10 [zhaowei]interface  Ethernet 0/0/0
    11 [zhaowei-Ethernet0/0/0]ospf dr-priority 100  #设置优先级为100,这样使得其优先级最高,成为DR路由器
    12 [zhaowei-Ethernet0/0/0]quit 
    13 [zhaowei]router id 1.1.1.1
    14 [zhaowei]ospf 100  #配置进程号,这个可以自定义
    15 [zhaowei-ospf-100]area 0 #定义区域
    16 [zhaowei-ospf-100-area-0.0.0.0]network 192.168.1.0 0.0.0.255  #这个掩码(0.0.0.255)=广播地址(255.255.255.0)-这个
    17 
    18 网段的子网掩码(255.255.255.019 [zhaowei-ospf-100-area-0.0.0.0]network 172.16.1.1 0.0.0.0  #向外面宣告这个地址


    "鲁谷机房"配置如下:

     1 [Huawei]sysname lugu
     2 [lugu]interface LoopBack 1
     3 [lugu-LoopBack1]ip address 172.16.1.2 24
     4 [lugu-LoopBack1]quit 
     5 [lugu]interface Ethernet 0/0/0
     6 [lugu-Ethernet0/0/0]ip address 192.168.1.2 24
     7 [lugu-Ethernet0/0/0]undo shutdown 
     8 [lugu-Ethernet0/0/0]quit 
     9 [lugu]router id 2.2.2.2 #配置路由的ID
    10 [lugu]ospf 100
    11 [lugu-ospf-100]area 0
    12 [lugu-ospf-100-area-0.0.0.0]network 192.168.1.0 0.0.0.255
    13 [lugu-ospf-100-area-0.0.0.0]network 172.16.1.2 0.0.0.0


    "清华园机房"配置如下:

     1 [Huawei]sysname qinghuayuan
     2 [qinghuayuan]interface Ethernet 0/0/1
     3 [qinghuayuan-Ethernet0/0/1]ip address 172.30.1.254 24
     4 [qinghuayuan-Ethernet0/0/1]undo shutdown 
     5 [qinghuayuan-Ethernet0/0/1]quit 
     6 [qinghuayuan]interface Ethernet 0/0/0
     7 [qinghuayuan-Ethernet0/0/0]ip address 192.168.1.3 24
     8 [qinghuayuan-Ethernet0/0/0]undo shutdown 
     9 [qinghuayuan-Ethernet0/0/0]quit 
    10 [qinghuayuan]router id 3.3.3.3
    11 [qinghuayuan]ospf 100
    12 [qinghuayuan-ospf-100]area 0
    13 [qinghuayuan-ospf-100-area-0.0.0.0]network 192.168.1.0 0.0.0.255
    14 [qinghuayuan-ospf-100-area-0.0.0.0]network 172.30.1.0 0.0.0.255


    "廊坊机房"配置如下:

     1 [Huawei]sysname langfang
     2 [langfang]interface LoopBack 1
     3 [langfang-LoopBack1]ip address 172.16.1.4 24
     4 [langfang-LoopBack1]quit 
     5 [langfang]interface Ethernet 0/0/0
     6 [langfang-Ethernet0/0/0]ip address 192.168.1.4 24
     7 [langfang-Ethernet0/0/0]undo shutdown 
     8 [langfang-Ethernet0/0/0]quit 
     9 [langfang]router id 4.4.4.4
    10 [langfang]ospf 100
    11 [langfang-ospf-100]area 0
    12 [langfang-ospf-100-area-0.0.0.0]network 192.168.1.0 0.0.0.255
    13 [langfang-ospf-100-area-0.0.0.0]network 172.16.1.4 0.0.0.0


    "高碑店机房"配置如下:

     1 [Huawei]sysname gaobeidian
     2 [gaobeidian]interface LoopBack 1
     3 [gaobeidian-LoopBack1]ip address 172.16.1.5 24
     4 [gaobeidian-LoopBack1]quit 
     5 [gaobeidian]interface Ethernet 0/0/0
     6 [gaobeidian-Ethernet0/0/0]ip address 192.168.1.5 24
     7 [gaobeidian-Ethernet0/0/0]undo shutdown 
     8 [gaobeidian-Ethernet0/0/0]quit 
     9 [gaobeidian]router id 5.5.5.5
    10 [gaobeidian]ospf 100
    11 [gaobeidian-ospf-100]area 0
    12 [gaobeidian-ospf-100-area-0.0.0.0]network 192.168.1.0 0.0.0.255
    13 [gaobeidian-ospf-100-area-0.0.0.0]network 172.16.1.5 0.0.0.0


    "双桥机房"配置如下:

     1 [Huawei]sysname shuangqiao
     2 [shuangqiao]interface LoopBack 1
     3 [shuangqiao-LoopBack1]ip address 172.16.1.6 24
     4 [shuangqiao-LoopBack1]quit 
     5 [shuangqiao]interface Ethernet 0/0/0
     6 [shuangqiao-Ethernet0/0/0]ip address 192.168.1.6 24
     7 [shuangqiao-Ethernet0/0/0]undo shutdown 
     8 [shuangqiao-Ethernet0/0/0]quit 
     9 [shuangqiao]interface Ethernet 0/0/0
    10 [shuangqiao-Ethernet0/0/0]ospf dr-priority 50
    11 [shuangqiao-Ethernet0/0/0]quit 
    12 [shuangqiao]router id 6.6.6.6
    13 [shuangqiao]ospf 100
    14 [shuangqiao-ospf-100]area 0
    15 [shuangqiao-ospf-100-area-0.0.0.0]network 192.168.1.0 0.0.0.255
    16 [shuangqiao-ospf-100-area-0.0.0.0]network 172.16.1.6 0.0.0.0

    公司总部电脑测试结果如下:

     1 PC>ipconfig
     2 
     3 Link local IPv6 address...........: fe80::5689:98ff:fe86:12b
     4 IPv6 address......................: :: / 128
     5 IPv6 gateway......................: ::
     6 IPv4 address......................: 172.30.1.3
     7 Subnet mask.......................: 255.255.255.0
     8 Gateway...........................: 172.30.1.254
     9 Physical address..................: 54-89-98-86-01-2B
    10 DNS server........................:
    11 
    12 PC>ping 192.168.1.1
    13 
    14 Ping 192.168.1.1: 32 data bytes, Press Ctrl_C to break
    15 From 192.168.1.1: bytes=32 seq=1 ttl=254 time=32 ms
    16 From 192.168.1.1: bytes=32 seq=2 ttl=254 time=46 ms
    17 From 192.168.1.1: bytes=32 seq=3 ttl=254 time=47 ms
    18 From 192.168.1.1: bytes=32 seq=4 ttl=254 time=31 ms
    19 From 192.168.1.1: bytes=32 seq=5 ttl=254 time=47 ms
    20 
    21 --- 192.168.1.1 ping statistics ---
    22   5 packet(s) transmitted
    23   5 packet(s) received
    24   0.00% packet loss
    25   round-trip min/avg/max = 31/40/47 ms
    26 
    27 PC>ping 172.16.1.1
    28 
    29 Ping 172.16.1.1: 32 data bytes, Press Ctrl_C to break
    30 From 172.16.1.1: bytes=32 seq=1 ttl=254 time=47 ms
    31 From 172.16.1.1: bytes=32 seq=2 ttl=254 time=63 ms
    32 From 172.16.1.1: bytes=32 seq=3 ttl=254 time=78 ms
    33 From 172.16.1.1: bytes=32 seq=4 ttl=254 time=47 ms
    34 From 172.16.1.1: bytes=32 seq=5 ttl=254 time=47 ms
    35 
    36 --- 172.16.1.1 ping statistics ---
    37   5 packet(s) transmitted
    38   5 packet(s) received
    39   0.00% packet loss
    40   round-trip min/avg/max = 47/56/78 ms
    41 
    42 PC>ping 172.16.1.2
    43 
    44 Ping 172.16.1.2: 32 data bytes, Press Ctrl_C to break
    45 From 172.16.1.2: bytes=32 seq=1 ttl=254 time=63 ms
    46 From 172.16.1.2: bytes=32 seq=2 ttl=254 time=62 ms
    47 From 172.16.1.2: bytes=32 seq=3 ttl=254 time=47 ms
    48 From 172.16.1.2: bytes=32 seq=4 ttl=254 time=47 ms
    49 From 172.16.1.2: bytes=32 seq=5 ttl=254 time=63 ms
    50 
    51 --- 172.16.1.2 ping statistics ---
    52   5 packet(s) transmitted
    53   5 packet(s) received
    54   0.00% packet loss
    55   round-trip min/avg/max = 47/56/63 ms
    56 
    57 PC>ping 172.16.1.4
    58 
    59 Ping 172.16.1.4: 32 data bytes, Press Ctrl_C to break
    60 From 172.16.1.4: bytes=32 seq=1 ttl=254 time=93 ms
    61 From 172.16.1.4: bytes=32 seq=2 ttl=254 time=46 ms
    62 From 172.16.1.4: bytes=32 seq=3 ttl=254 time=62 ms
    63 From 172.16.1.4: bytes=32 seq=4 ttl=254 time=46 ms
    64 From 172.16.1.4: bytes=32 seq=5 ttl=254 time=47 ms
    65 
    66 --- 172.16.1.4 ping statistics ---
    67   5 packet(s) transmitted
    68   5 packet(s) received
    69   0.00% packet loss
    70   round-trip min/avg/max = 46/58/93 ms
    71 
    72 PC>ping 172.16.1.5
    73 
    74 Ping 172.16.1.5: 32 data bytes, Press Ctrl_C to break
    75 From 172.16.1.5: bytes=32 seq=1 ttl=254 time=94 ms
    76 From 172.16.1.5: bytes=32 seq=2 ttl=254 time=47 ms
    77 From 172.16.1.5: bytes=32 seq=3 ttl=254 time=47 ms
    78 From 172.16.1.5: bytes=32 seq=4 ttl=254 time=47 ms
    79 From 172.16.1.5: bytes=32 seq=5 ttl=254 time=47 ms
    80 
    81 --- 172.16.1.5 ping statistics ---
    82   5 packet(s) transmitted
    83   5 packet(s) received
    84   0.00% packet loss
    85   round-trip min/avg/max = 47/56/94 ms
    86 
    87 PC>

    四.OSPF常用的调试命令

    1.查看OSPF摘要信息

     1 <qinghuayuan>display ospf brief 
     2 
     3      OSPF Process 100 with Router ID 3.3.3.3
     4          OSPF Protocol Information
     5 
     6  RouterID: 3.3.3.3          Border Router: 
     7  Multi-VPN-Instance is not enabled
     8  Global DS-TE Mode: Non-Standard IETF Mode
     9  Spf-schedule-interval: max 10000ms, start 500ms, hold 1000ms
    10  Default ASE parameters: Metric: 1 Tag: 1 Type: 2
    11  Route Preference: 10 
    12  ASE Route Preference: 150 
    13  SPF Computation Count: 7     
    14  RFC 1583 Compatible
    15  Retransmission limitation is disabled
    16  Area Count: 1   Nssa Area Count: 0 
    17  ExChange/Loading Neighbors: 0
    18  
    19  Area: 0.0.0.0          (MPLS TE not enabled)
    20  Authtype: None   Area flag: Normal
    21  SPF scheduled Count: 7     
    22  ExChange/Loading Neighbors: 0
    23  Router ID conflict state: Normal
    24 
    25  Interface: 172.30.1.254 (Ethernet0/0/1)
    26  Cost: 1       State: DR        Type: Broadcast    MTU: 1500  
    27  Priority: 1
    28  Designated Router: 172.30.1.254
    29  Backup Designated Router: 0.0.0.0
    30  Timers: Hello 10 , Dead 40 , Poll  120 , Retransmit 5 , Transmit Delay 1 
    31 
    32  Interface: 192.168.1.3 (Ethernet0/0/0)
    33  Cost: 1       State: DROther    Type: Broadcast    MTU: 1500  
    34  Priority: 1
    35  Designated Router: 192.168.1.1
    36  Backup Designated Router: 192.168.1.2
    37  Timers: Hello 10 , Dead 40 , Poll  120 , Retransmit 5 , Transmit Delay 1 
    38 <qinghuayuan> 
    display ospf brief

    2.查看启动OSPF的接口信息

     1 <qinghuayuan>display  ospf interface 
     2 
     3      OSPF Process 100 with Router ID 3.3.3.3
     4          Interfaces 
     5 
     6  Area: 0.0.0.0          (MPLS TE not enabled)
     7  IP Address      Type         State    Cost    Pri   DR              BDR 
     8  172.30.1.254    Broadcast    DR       1       1     172.30.1.254    0.0.0.0
     9  192.168.1.3     Broadcast    DROther  1       1     192.168.1.1     192.168.1.2
    10  
    11 <qinghuayuan>
    display ospf interface

    3.查看OSPF出错信息

     1 <qinghuayuan>display ospf error
     2 
     3      OSPF Process 100 with Router ID 3.3.3.3
     4          OSPF error statistics 
     5 
     6 General packet errors:
     7  0     : IP: received my own packet     0     : Bad packet
     8  0     : Bad version                    0     : Bad checksum
     9  0     : Bad area id                    0     : Drop on unnumbered interface
    10  0     : Bad virtual link               0     : Bad authentication type
    11  0     : Bad authentication key         0     : Packet too small
    12  0     : Packet size > ip length        0     : Transmit error
    13  0     : Interface down                 0     : Unknown neighbor
    14  0     : Bad net segment                0     : Extern option mismatch
    15  0     : Router id confusion
    16 
    17 HELLO packet errors:
    18  0     : Netmask mismatch               0     : Hello timer mismatch
    19  0     : Dead timer mismatch            0     : Virtual neighbor unknown
    20  0     : NBMA neighbor unknown          0     : Invalid Source Address
    21 
    22 DD packet errors:
    23  0     : Neighbor state low             0     : Unknown LSA type
    24  0     : MTU option mismatch
    25 
    26 LS ACK packet errors:
    27  0     : Neighbor state low             0     : Unknown LSA type
    28 
    29 LS REQ packet errors:
    30  0     : Neighbor state low             0     : Empty request
    31  0     : Bad request
    32 
    33 LS UPD packet errors:
    34  0     : Neighbor state low             0     : Newer self-generate LSA 
    35  0     : LSA checksum bad               3     : Received less recent LSA
    36  0     : Unknown LSA type
    37 
    38 Opaque errors:
    39  0     : 9-out of flooding scope        0     : 10-out of flooding scope
    40  0     : 11-out of flooding scope       0     : Unkown TLV type
    41 
    42 Retransmission for packet over Limitation errors:
    43  0     : Number for DD Packet           0     : Number for Update Packet
    44  0     : Number for Request Packet
    45 
    46 Configuration errors:
    47  0     : Tunnel cost mistake
    48 <qinghuayuan>
    display ospf error

    4.查看OSPF包调试信息

      1 <qinghuayuan>terminal debugging   #开启调试模式
      2 <qinghuayuan>debugging ospf packet  #查看OSPF调试包
      3 <qinghuayuan>
      4 Apr 15 2017 15:59:59.450.1-08:00 qinghuayuan RM/6/RMDEBUG:
      5  FileID: 0x70178024 Line: 2218 Level: 0x20
      6  OSPF 100: RECV Packet. Interface: Ethernet0/0/0
      7 Apr 15 2017 15:59:59.450.2-08:00 qinghuayuan RM/6/RMDEBUG:  Source Address: 192.1
      8 68.1.1
      9 Apr 15 2017 15:59:59.450.3-08:00 qinghuayuan RM/6/RMDEBUG:  Destination Address: 
     10 224.0.0.5
     11 Apr 15 2017 15:59:59.450.4-08:00 qinghuayuan RM/6/RMDEBUG:  Ver# 2, Type: 1 (Hell
     12 o)
     13 Apr 15 2017 15:59:59.450.5-08:00 qinghuayuan RM/6/RMDEBUG:  Length: 64, Router: 1
     14 .1.1.1
     15 Apr 15 2017 15:59:59.450.6-08:00 qinghuayuan RM/6/RMDEBUG:  Area: 0.0.0.0, Chksum
     16 : 4ea9
     17 Apr 15 2017 15:59:59.450.7-08:00 qinghuayuan RM/6/RMDEBUG:  AuType: 00
     18 Apr 15 2017 15:59:59.450.8-08:00 qinghuayuan RM/6/RMDEBUG:  Key(ascii): 0 0 0 0 0
     19  0 0 0
     20 Apr 15 2017 15:59:59.450.9-08:00 qinghuayuan RM/6/RMDEBUG:  Net Mask: 255.255.255
     21 .0
     22 Apr 15 2017 15:59:59.450.10-08:00 qinghuayuan RM/6/RMDEBUG:  Hello Int: 10, Optio
     23 n: _E_
     24 Apr 15 2017 15:59:59.450.11-08:00 qinghuayuan RM/6/RMDEBUG:  Rtr Priority: 100, D
     25 ead Int: 40
     26 Apr 15 2017 15:59:59.450.12-08:00 qinghuayuan RM/6/RMDEBUG:  DR: 192.168.1.1
     27 Apr 15 2017 15:59:59.450.13-08:00 qinghuayuan RM/6/RMDEBUG:  BDR: 192.168.1.2
     28 Apr 15 2017 15:59:59.450.14-08:00 qinghuayuan RM/6/RMDEBUG:  # Attached Neighbors
     29 : 5
     30 Apr 15 2017 15:59:59.450.15-08:00 qinghuayuan RM/6/RMDEBUG:    Neighbor: 2.2.2.2
     31 Apr 15 2017 15:59:59.450.16-08:00 qinghuayuan RM/6/RMDEBUG:    Neighbor: 3.3.3.3
     32 Apr 15 2017 15:59:59.450.17-08:00 qinghuayuan RM/6/RMDEBUG:    Neighbor: 4.4.4.4
     33 Apr 15 2017 15:59:59.450.18-08:00 qinghuayuan RM/6/RMDEBUG:    Neighbor: 5.5.5.5
     34 Apr 15 2017 15:59:59.450.19-08:00 qinghuayuan RM/6/RMDEBUG:    Neighbor: 6.6.6.6
     35 Apr 15 2017 15:59:59.450.20-08:00 qinghuayuan RM/6/RMDEBUG:  
     36 Apr 15 2017 15:59:59.630.1-08:00 qinghuayuan RM/6/RMDEBUG:
     37  FileID: 0x70178024 Line: 2218 Level: 0x20
     38  OSPF 100: RECV Packet. Interface: Ethernet0/0/0
     39 Apr 15 2017 15:59:59.630.2-08:00 qinghuayuan RM/6/RMDEBUG:  Source Address: 192.1
     40 68.1.6
     41 Apr 15 2017 15:59:59.630.3-08:00 qinghuayuan RM/6/RMDEBUG:  Destination Address: 
     42 224.0.0.5
     43 Apr 15 2017 15:59:59.630.4-08:00 qinghuayuan RM/6/RMDEBUG:  Ver# 2, Type: 1 (Hell
     44 o)
     45 Apr 15 2017 15:59:59.630.5-08:00 qinghuayuan RM/6/RMDEBUG:  Length: 64, Router: 6
     46 .6.6.6
     47 Apr 15 2017 15:59:59.630.6-08:00 qinghuayuan RM/6/RMDEBUG:  Area: 0.0.0.0, Chksum
     48 : 4edb
     49 Apr 15 2017 15:59:59.630.7-08:00 qinghuayuan RM/6/RMDEBUG:  AuType: 00
     50 Apr 15 2017 15:59:59.630.8-08:00 qinghuayuan RM/6/RMDEBUG:  Key(ascii): 0 0 0 0 0
     51  0 0 0
     52 Apr 15 2017 15:59:59.630.9-08:00 qinghuayuan RM/6/RMDEBUG:  Net Mask: 255.255.255
     53 .0
     54 Apr 15 2017 15:59:59.630.10-08:00 qinghuayuan RM/6/RMDEBUG:  Hello Int: 10, Optio
     55 n: _E_
     56 Apr 15 2017 15:59:59.630.11-08:00 qinghuayuan RM/6/RMDEBUG:  Rtr Priority: 50, De
     57 ad Int: 40
     58 Apr 15 2017 15:59:59.630.12-08:00 qinghuayuan RM/6/RMDEBUG:  DR: 192.168.1.1
     59 Apr 15 2017 15:59:59.630.13-08:00 qinghuayuan RM/6/RMDEBUG:  BDR: 192.168.1.2
     60 Apr 15 2017 15:59:59.630.14-08:00 qinghuayuan RM/6/RMDEBUG:  # Attached Neighbors
     61 : 5
     62 Apr 15 2017 15:59:59.630.15-08:00 qinghuayuan RM/6/RMDEBUG:    Neighbor: 1.1.1.1
     63 Apr 15 2017 15:59:59.630.16-08:00 qinghuayuan RM/6/RMDEBUG:    Neighbor: 2.2.2.2
     64 Apr 15 2017 15:59:59.630.17-08:00 qinghuayuan RM/6/RMDEBUG:    Neighbor: 3.3.3.3
     65 Apr 15 2017 15:59:59.630.18-08:00 qinghuayuan RM/6/RMDEBUG:    Neighbor: 4.4.4.4
     66 Apr 15 2017 15:59:59.630.19-08:00 qinghuayuan RM/6/RMDEBUG:    Neighbor: 5.5.5.5
     67 Apr 15 2017 15:59:59.630.20-08:00 qinghuayuan RM/6/RMDEBUG:  q
     68 Apr 15 2017 16:00:01.270.1-08:00 qinghuayuan RM/6/RMDEBUG:
     69  FileID: 0x70178024 Line: 2218 Level: 0x20
     70  OSPF 100: RECV Packet. Interface: Ethernet0/0/0
     71 Apr 15 2017 16:00:01.270.2-08:00 qinghuayuan RM/6/RMDEBUG:  Source Address: 192.1
     72 68.1.5
     73 Apr 15 2017 16:00:01.270.3-08:00 qinghuayuan RM/6/RMDEBUG:  Destination Address: 
     74 224.0.0.5
     75 Apr 15 2017 16:00:01.270.4-08:00 qinghuayuan RM/6/RMDEBUG:  Ver# 2, Type: 1 (Hell
     76 o)
     77 Apr 15 2017 16:00:01.270.5-08:00 qinghuayuan RM/6/RMDEBUG:  Length: 64, Router: 5
     78 .5.5.5
     79 Apr 15 2017 16:00:01.270.6-08:00 qinghuayuan RM/6/RMDEBUG:  Area: 0.0.0.0, Chksum
     80 : 4f0c
     81 Apr 15 2017 16:00:01.270.7-08:00 qinghuayuan RM/6/RMDEBUG:  AuType: 00
     82 Apr 15 2017 16:00:01.270.8-08:00 qinghuayuan RM/6/RMDEBUG:  Key(ascii): 0 0 0 0 0
     83  0 0 0
     84 Apr 15 2017 16:00:01.270.9-08:00 qinghuayuan RM/6/RMDEBUG:  Net Mask: 255.255.255
     85 .0
     86 Apr 15 2017 16:00:01.270.10-08:00 qinghuayuan RM/6/RMDEBUG:  Hello Int: 10, Optio
     87 n: _E_
     88 Apr 15 2017 16:00:01.270.11-08:00 qinghuayuan RM/6/RMDEBUG:  Rtr Priority: 1, Dea
     89 d Int: 40
     90 Apr 15 2017 16:00:01.270.12-08:00 qinghuayuan RM/6/RMDEBUG:  DR: 192.168.1.1
     91 Apr 15 2017 16:00:01.270.13-08:00 qinghuayuan RM/6/RMDEBUG:  BDR: 192.168.1.2
     92 Apr 15 2017 16:00:01.270.14-08:00 qinghuayuan RM/6/RMDEBUG:  # Attached Neighbors
     93 : 5
     94 Apr 15 2017 16:00:01.270.15-08:00 qinghuayuan RM/6/RMDEBUG:    Neighbor: 1.1.1.1
     95 Apr 15 2017 16:00:01.270.16-08:00 qinghuayuan RM/6/RMDEBUG:    Neighbor: 2.2.2.2
     96 Apr 15 2017 16:00:01.270.17-08:00 qinghuayuan RM/6/RMDEBUG:    Neighbor: 3.3.3.3
     97 Apr 15 2017 16:00:01.270.18-08:00 qinghuayuan RM/6/RMDEBUG:    Neighbor: 4.4.4.4
     98 Apr 15 2017 16:00:01.270.19-08:00 qinghuayuan RM/6/RMDEBUG:    Neighbor: 6.6.6.6
     99 Apr 15 2017 16:00:01.270.20-08:00 qinghuayuan RM/6/RMDEBUG:  
    100 Apr 15 2017 16:00:02.640.1-08:00 qinghuayuan RM/6/RMDEBUG:
    101  FileID: 0x70178025 Line: 556 Level: 0x20
    102  OSPF 100: SEND Packet. Interface: Ethernet0/0/1
    103 Apr 15 2017 16:00:02.640.2-08:00 qinghuayuan RM/6/RMDEBUG:  Source Address: 172.3
    104 0.1.254
    105 Apr 15 2017 16:00:02.640.3-08:00 qinghuayuan RM/6/RMDEBUG:  Destination Address: 
    106 224.0.0.5
    107 Apr 15 2017 16:00:02.640.4-08:00 qinghuayuan RM/6/RMDEBUG:  Ver# 2, Type: 1 (Hell
    108 o)
    109 Apr 15 2017 16:00:02.640.5-08:00 qinghuayuan RM/6/RMDEBUG:  Length: 44, Router: 3
    110 .3.3.3
    111 Apr 15 2017 16:00:02.640.6-08:00 qinghuayuan RM/6/RMDEBUG:  Area: 0.0.0.0, Chksum
    112 : 487c
    113 Apr 15 2017 16:00:02.640.7-08:00 qinghuayuan RM/6/RMDEBUG:  AuType: 00
    114 Apr 15 2017 16:00:02.640.8-08:00 qinghuayuan RM/6/RMDEBUG:  Key(ascii): 0 0 0 0 0
    115  0 0 0
    116 Apr 15 2017 16:00:02.640.9-08:00 qinghuayuan RM/6/RMDEBUG:  Net Mask: 255.255.255
    117 .0
    118 Apr 15 2017 16:00:02.640.10-08:00 qinghuayuan RM/6/RMDEBUG:  Hello Int: 10, Optio
    119 n: _E_
    120 Apr 15 2017 16:00:02.640.11-08:00 qinghuayuan RM/6/RMDEBUG:  Rtr Priority: 1, Dea
    121 d Int: 40
    122 Apr 15 2017 16:00:02.640.12-08:00 qinghuayuan RM/6/RMDEBUG:  DR: 172.30.1.254
    123 Apr 15 2017 16:00:02.640.13-08:00 qinghuayuan RM/6/RMDEBUG:  BDR: 0.0.0.0
    124 Apr 15 2017 16:00:02.640.14-08:00 qinghuayuan RM/6/RMDEBUG:  # Attached Neighbors
    125 : 0
    126 Apr 15 2017 16:00:02.640.15-08:00 qinghuayuan RM/6/RMDEBUG:  
    127 Apr 15 2017 16:00:03.70.1-08:00 qinghuayuan RM/6/RMDEBUG:
    128  FileID: 0x70178024 Line: 2218 Level: 0x20
    129  OSPF 100: RECV Packet. Interface: Ethernet0/0/0
    130 Apr 15 2017 16:00:03.70.2-08:00 qinghuayuan RM/6/RMDEBUG:  Source Address: 192.16
    131 8.1.2
    132 Apr 15 2017 16:00:03.70.3-08:00 qinghuayuan RM/6/RMDEBUG:  Destination Address: 2
    133 24.0.0.5
    134 Apr 15 2017 16:00:03.70.4-08:00 qinghuayuan RM/6/RMDEBUG:  Ver# 2, Type: 1 (Hello
    135 )
    136 Apr 15 2017 16:00:03.70.5-08:00 qinghuayuan RM/6/RMDEBUG:  Length: 64, Router: 2.
    137 2.2.2
    138 Apr 15 2017 16:00:03.70.6-08:00 qinghuayuan RM/6/RMDEBUG:  Area: 0.0.0.0, Chksum:
    139  4f0c
    140 Apr 15 2017 16:00:03.70.7-08:00 qinghuayuan RM/6/RMDEBUG:  AuType: 00
    141 Apr 15 2017 16:00:03.70.8-08:00 qinghuayuan RM/6/RMDEBUG:  Key(ascii): 0 0 0 0 0 
    142 0 0 0
    143 Apr 15 2017 16:00:03.70.9-08:00 qinghuayuan RM/6/RMDEBUG:  Net Mask: 255.255.255.
    144 0
    145 Apr 15 2017 16:00:03.70.10-08:00 qinghuayuan RM/6/RMDEBUG:  Hello Int: 10, Option
    146 : _E_
    147 Apr 15 2017 16:00:03.70.11-08:00 qinghuayuan RM/6/RMDEBUG:  Rtr Priority: 1, Dead
    148  Int: 40
    149 Apr 15 2017 16:00:03.70.12-08:00 qinghuayuan RM/6/RMDEBUG:  DR: 192.168.1.1
    150 Apr 15 2017 16:00:03.70.13-08:00 qinghuayuan RM/6/RMDEBUG:  BDR: 192.168.1.2
    151 Apr 15 2017 16:00:03.70.14-08:00 qinghuayuan RM/6/RMDEBUG:  # Attached Neighbors:
    152  5
    153 Apr 15 2017 16:00:03.70.15-08:00 qinghuayuan RM/6/RMDEBUG:    Neighbor: 1.1.1.1
    154 Apr 15 2017 16:00:03.70.16-08:00 qinghuayuan RM/6/RMDEBUG:    Neighbor: 3.3.3.3
    155 Apr 15 2017 16:00:03.70.17-08:00 qinghuayuan RM/6/RMDEBUG:    Neighbor: 4.4.4.4
    156 Apr 15 2017 16:00:03.70.18-08:00 qinghuayuan RM/6/RMDEBUG:    Neighbor: 5.5.5.5
    157 Apr 15 2017 16:00:03.70.19-08:00 qinghuayuan RM/6/RMDEBUG:    Neighbor: 6.6.6.6
    158 Apr 15 2017 16:00:03.70.20-08:00 qinghuayuan RM/6/RMDEBUG:  
    159 Apr 15 2017 16:00:03.180.1-08:00 qinghuayuan RM/6/RMDEBUG:
    160  FileID: 0x70178025 Line: 556 Level: 0x20
    161  OSPF 100: SEND Packet. Interface: Ethernet0/0/0
    162 Apr 15 2017 16:00:03.180.2-08:00 qinghuayuan RM/6/RMDEBUG:  Source Address: 192.1
    163 68.1.3
    164 Apr 15 2017 16:00:03.180.3-08:00 qinghuayuan RM/6/RMDEBUG:  Destination Address: 
    165 224.0.0.5
    166 Apr 15 2017 16:00:03.180.4-08:00 qinghuayuan RM/6/RMDEBUG:  Ver# 2, Type: 1 (Hell
    167 o)
    168 Apr 15 2017 16:00:03.180.5-08:00 qinghuayuan RM/6/RMDEBUG:  Length: 64, Router: 3
    169 .3.3.3
    170 Apr 15 2017 16:00:03.180.6-08:00 qinghuayuan RM/6/RMDEBUG:  Area: 0.0.0.0, Chksum
    171 : 4f0c
    172 Apr 15 2017 16:00:03.180.7-08:00 qinghuayuan RM/6/RMDEBUG:  AuType: 00
    173 Apr 15 2017 16:00:03.180.8-08:00 qinghuayuan RM/6/RMDEBUG:  Key(ascii): 0 0 0 0 0
    174  0 0 0
    175 Apr 15 2017 16:00:03.180.9-08:00 qinghuayuan RM/6/RMDEBUG:  Net Mask: 255.255.255
    176 .0
    177 Apr 15 2017 16:00:03.180.10-08:00 qinghuayuan RM/6/RMDEBUG:  Hello Int: 10, Optio
    178 n: _E_
    179 Apr 15 2017 16:00:03.180.11-08:00 qinghuayuan RM/6/RMDEBUG:  Rtr Priority: 1, Dea
    180 d Int: 40
    181 Apr 15 2017 16:00:03.180.12-08:00 qinghuayuan RM/6/RMDEBUG:  DR: 192.168.1.1
    182 Apr 15 2017 16:00:03.180.13-08:00 qinghuayuan RM/6/RMDEBUG:  BDR: 192.168.1.2
    183 Apr 15 2017 16:00:03.180.14-08:00 qinghuayuan RM/6/RMDEBUG:  # Attached Neighbors
    184 : 5
    185 Apr 15 2017 16:00:03.180.15-08:00 qinghuayuan RM/6/RMDEBUG:    Neighbor: 1.1.1.1
    186 Apr 15 2017 16:00:03.180.16-08:00 qinghuayuan RM/6/RMDEBUG:    Neighbor: 2.2.2.2
    187 Apr 15 2017 16:00:03.180.17-08:00 qinghuayuan RM/6/RMDEBUG:    Neighbor: 4.4.4.4
    188 Apr 15 2017 16:00:03.180.18-08:00 qinghuayuan RM/6/RMDEBUG:    Neighbor: 5.5.5.5
    189 Apr 15 2017 16:00:03.180.19-08:00 qinghuayuan RM/6/RMDEBUG:    Neighbor: 6.6.6.6
    190 Apr 15 2017 16:00:03.180.20-08:00 qinghuayuan RM/6/RMDEBUG:  
    191 Apr 15 2017 16:00:04.470.1-08:00 qinghuayuan RM/6/RMDEBUG:
    192  FileID: 0x70178024 Line: 2218 Level: 0x20
    193  OSPF 100: RECV Packet. Interface: Ethernet0/0/0
    194 Apr 15 2017 16:00:04.470.2-08:00 qinghuayuan RM/6/RMDEBUG:  Source Address: 192.1
    195 68.1.4
    196 Apr 15 2017 16:00:04.470.3-08:00 qinghuayuan RM/6/RMDEBUG:  Destination Address: 
    197 224.0.0.5
    198 Apr 15 2017 16:00:04.470.4-08:00 qinghuayuan RM/6/RMDEBUG:  Ver# 2, Type: 1 (Hell
    199 o)
    200 Apr 15 2017 16:00:04.470.5-08:00 qinghuayuan RM/6/RMDEBUG:  Length: 64, Router: 4
    201 .4.4.4
    202 Apr 15 2017 16:00:04.470.6-08:00 qinghuayuan RM/6/RMDEBUG:  Area: 0.0.0.0, Chksum
    203 : 4f0c
    204 Apr 15 2017 16:00:04.470.7-08:00 qinghuayuan RM/6/RMDEBUG:  AuType: 00
    205 Apr 15 2017 16:00:04.470.8-08:00 qinghuayuan RM/6/RMDEBUG:  Key(ascii): 0 0 0 0 0
    206  0 0 0
    207 Apr 15 2017 16:00:04.470.9-08:00 qinghuayuan RM/6/RMDEBUG:  Net Mask: 255.255.255
    208 .0
    209 Apr 15 2017 16:00:04.470.10-08:00 qinghuayuan RM/6/RMDEBUG:  Hello Int: 10, Optio
    210 n: _E_
    211 Apr 15 2017 16:00:04.470.11-08:00 qinghuayuan RM/6/RMDEBUG:  Rtr Priority: 1, Dea
    212 d Int: 40
    213 Apr 15 2017 16:00:04.470.12-08:00 qinghuayuan RM/6/RMDEBUG:  DR: 192.168.1.1
    214 Apr 15 2017 16:00:04.470.13-08:00 qinghuayuan RM/6/RMDEBUG:  BDR: 192.168.1.2
    215 Apr 15 2017 16:00:04.470.14-08:00 qinghuayuan RM/6/RMDEBUG:  # Attached Neighbors
    216 : 5
    217 Apr 15 2017 16:00:04.470.15-08:00 qinghuayuan RM/6/RMDEBUG:    Neighbor: 1.1.1.1
    218 Apr 15 2017 16:00:04.470.16-08:00 qinghuayuan RM/6/RMDEBUG:    Neighbor: 2.2.2.2
    219 Apr 15 2017 16:00:04.470.17-08:00 qinghuayuan RM/6/RMDEBUG:    Neighbor: 3.3.3.3
    220 Apr 15 2017 16:00:04.470.18-08:00 qinghuayuan RM/6/RMDEBUG:    Neighbor: 5.5.5.5
    221 Apr 15 2017 16:00:04.470.19-08:00 qinghuayuan RM/6/RMDEBUG:    Neighbor: 6.6.6.6
    222 Apr 15 2017 16:00:04.470.20-08:00 qinghuayuan RM/6/RMDEBUG:   User interface con0 is available
    223 
    224 <qinghuayuan>undo debugging all  #关闭调试模式
    225 Info: All possible debugging has been turned off.
    226 <qinghuayuan>
    debugging ospf packet
  • 相关阅读:
    JavaWeb-过滤器入门
    JavaWeb-监听器
    JavaWeb-session的钝化和活化
    Create-React-App项目外使用它的eslint配置
    三种方法在当前目录下打开cmd命令窗口
    js脚本实现自动上传至github
    js中的柯里化
    从小白到使用antd+react+react-router+issue+es6搭建博客
    react在router中传递数据的2种方法
    教你怎么看网站是用react搭建的
  • 原文地址:https://www.cnblogs.com/yinzhengjie/p/6711282.html
Copyright © 2020-2023  润新知