会计考友 发表于 2012-8-3 20:20:19

配置点到点链路OSPF及认证(2)

2、基本调试
RA#sh ip route ospf                  ------查看通过OSPF学习到的路由
   2.0.0.0/24 is subnetted, 1 subnets
O       2.2.2.0 via 10.0.0.2, 00:00:14, Serial1/0
   3.0.0.0/24 is subnetted, 1 subnets
O       3.3.3.0 via 12.0.0.2, 00:00:14, Serial1/2
   11.0.0.0/24 is subnetted, 1 subnets
O       11.0.0.0 via 12.0.0.2, 00:00:14, Serial1/2
                via 10.0.0.2, 00:00:14, Serial1/0

RA#sh ip protocols               -----查看路由
Routing Protocol is "ospf 1"      ------启用了OSPF,进程号为1
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Router ID 1.1.1.1                     ------路由器ID
Number of areas in this router is 1. 1 normal 0 stub 0 nssa
Maximum path: 4
Routing for Networks:            -----路由的网络
    1.1.1.0 0.0.0.255 area 0
    10.0.0.0 0.0.0.255 area 0
    12.0.0.0 0.0.0.255 area 0
Reference bandwidth unit is 100 mbps   ----路由花费参考带宽为100M
Routing Information Sources:                   ----邻居路由器
    Gateway         Distance      Last Update
    3.3.3.3            110      00:01:14
    2.2.2.2            110      00:01:14
Distance: (default is 110)

RA#sh ip ospf interface s1/2          -----查看接口
Serial1/2 is up, line protocol is up
Internet Address 12.0.0.1/24, Area 0
Process ID 1, Router ID 1.1.1.1, 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/dead时间间隔
    …………
Suppress hello for 0 neighbor(s)

RA#sh ip ospf nei            -----查看邻居
Neighbor ID   Pri   State         Dead Time   Address         Interface
3.3.3.3         0   FULL/-      00:00:37    12.0.0.2      Serial1/2
2.2.2.2         0   FULL/-      00:00:39    10.0.0.2      Serial1/0
从以上可见,在点对点环境下,没有DR/BDR选举,邻居关系自动建立。

RA#sh ip ospf database       -----查看LSDB,三张表的LSDB是一样的
            OSPF Router with ID (1.1.1.1) (Process ID 1)
                Router Link States (Area 0)
Link ID         ADV Router      Age         Seq#       Checksum Link count
1.1.1.1         1.1.1.1         325         0x80000005 0x00E5BD 5
2.2.2.2         2.2.2.2         223         0x80000006 0x002F6D 5
3.3.3.3         3.3.3.3         202         0x80000005 0x00C1CF 5
页: [1]
查看完整版本: 配置点到点链路OSPF及认证(2)