中国网管论坛's Archiver

yi-feng 发表于 2007-8-16 11:02

[交流讨论]我出一个简单的题目, ospf的

{master}
[email=user@host][color=#0000ff]user@host[/color][/email]> show ospf database router extensive | no-more   
    OSPF link state database, area 0.0.0.0
Type       ID               Adv Rtr           Seq      Age  Opt  Cksum  Len
Router  *125.98.0.1       125.98.0.1       0x8000495e   843  0x2  0x9228  72
  bits 0x3, link count 4
  id 125.98.16.0, data 255.255.255.128, Type Stub (3)
  TOS count 0, TOS 0 metric 10
  id 125.98.1.6, data 125.98.1.5, Type Transit (2)
  TOS count 0, TOS 0 metric 1
  id 125.98.1.10, data 125.98.1.9, Type Transit (2)
  TOS count 0, TOS 0 metric 1
  id 125.98.0.1, data 255.255.255.255, Type Stub (3)
  TOS count 0, TOS 0 metric 0
  Gen timer 00:35:34
  Aging timer 00:45:57
  Installed 00:14:03 ago, expires in 00:45:57, sent 00:14:01 ago
  Ours,
Router   125.98.0.2       125.98.0.2       0x800049b2  1748  0x2  0xb14f  72
  bits 0x3, link count 4
  id 125.98.1.6, data 125.98.1.6, Type Transit (2)
  TOS count 0, TOS 0 metric 1
  id 125.98.1.248, data 255.255.255.248, Type Stub (3)
  TOS count 0, TOS 0 metric 1
  id 125.98.1.14, data 125.98.1.13, Type Transit (2)
  TOS count 0, TOS 0 metric 1
  id 125.98.0.2, data 255.255.255.255, Type Stub (3)
  TOS count 0, TOS 0 metric 0
  Aging timer 00:30:51
  Installed 00:29:05 ago, expires in 00:30:52, sent 00:29:03 ago
Router   125.98.0.3       125.98.0.3       0x800048cf   314  0x2  0x7c40  60
  bits 0x3, link count 3
  id 125.98.1.10, data 125.98.1.10, Type Transit (2)
  TOS count 0, TOS 0 metric 1
  id 125.98.1.14, data 125.98.1.14, Type Transit (2)
  TOS count 0, TOS 0 metric 1
  id 125.98.0.3, data 255.255.255.255, Type Stub (3)
  TOS count 0, TOS 0 metric 0
  Aging timer 00:54:46
  Installed 00:05:11 ago, expires in 00:54:46, sent 00:05:09 ago
    OSPF link state database, area 0.0.0.1
Type       ID               Adv Rtr           Seq      Age  Opt  Cksum  Len
Router  *125.98.0.1       125.98.0.1       0x80004a63  1580  0x2  0x99f5  96
  bits 0x3, link count 6
  id 125.98.2.33, data 125.98.2.33, Type Transit (2)
  TOS count 0, TOS 0 metric 10
  id 125.98.2.85, data 125.98.2.85, Type Transit (2)
  TOS count 0, TOS 0 metric 10
  id 125.98.2.29, data 125.98.2.29, Type Transit (2)
  TOS count 0, TOS 0 metric 10
  id 125.98.2.73, data 125.98.2.73, Type Transit (2)
  TOS count 0, TOS 0 metric 1
  id 125.98.2.70, data 125.98.2.69, Type Transit (2)
  TOS count 0, TOS 0 metric 10
  id 125.98.2.1, data 125.98.2.1, Type Transit (2)
  TOS count 0, TOS 0 metric 1
  Gen timer 00:22:55
  Aging timer 00:33:39
  Installed 00:26:20 ago, expires in 00:33:40, sent 00:26:18 ago
  Ours,
Router   125.98.0.2       125.98.0.2       0x80004aaa  2883  0x2  0xff9d  96
  bits 0x3, link count 6
  id 125.98.3.29, data 125.98.3.29, Type Transit (2)
  TOS count 0, TOS 0 metric 10
  id 125.98.3.62, data 125.98.3.61, Type Transit (2)
  TOS count 0, TOS 0 metric 10
  id 125.98.3.57, data 125.98.3.57, Type Transit (2)
  TOS count 0, TOS 0 metric 10
  id 125.98.3.66, data 125.98.3.65, Type Transit (2)
  TOS count 0, TOS 0 metric 10
  id 125.98.3.78, data 125.98.3.77, Type Transit (2)
  TOS count 0, TOS 0 metric 10
  id 125.98.3.69, data 125.98.3.69, Type Transit (2)
  TOS count 0, TOS 0 metric 10
  Aging timer 00:11:56
  Installed 00:47:57 ago, expires in 00:11:57, sent 00:47:55 ago
Router   125.98.0.32      125.98.0.32      0x8000bdca   886  0x2  0xb7fb  84
  bits 0x2, link count 5
  id 125.98.3.29, data 125.98.3.30, Type Transit (2)
  TOS count 0, TOS 0 metric 10
  id 125.98.5.16, data 255.255.255.252, Type Stub (3)
  TOS count 0, TOS 0 metric 10
  id 125.98.2.1, data 125.98.2.2, Type Transit (2)
  TOS count 0, TOS 0 metric 10
  id 125.98.5.20, data 255.255.255.252, Type Stub (3)
  TOS count 0, TOS 0 metric 10
  id 125.98.0.32, data 255.255.255.255, Type Stub (3)
  TOS count 0, TOS 0 metric 0
  Aging timer 00:45:13
  Installed 00:14:43 ago, expires in 00:45:14, sent 00:14:41 ago
Router   125.98.0.39      125.98.0.39      0x8000e814    40  0x2  0xb1bb  72
  bits 0x2, link count 4
  id 125.98.2.29, data 125.98.2.30, Type Transit (2)
  TOS count 0, TOS 0 metric 10
  id 211.160.92.128, data 255.255.255.252, Type Stub (3)
  TOS count 0, TOS 0 metric 10
  id 125.98.3.57, data 125.98.3.58, Type Transit (2)
  TOS count 0, TOS 0 metric 10
  id 125.98.0.39, data 255.255.255.255, Type Stub (3)
  TOS count 0, TOS 0 metric 0
  Aging timer 00:59:20
  Installed 00:00:37 ago, expires in 00:59:20, sent 00:00:35 ago
Router   125.98.0.40      125.98.0.40      0x8000ed7e   638  0x2  0x4718  84
  bits 0x2, link count 5
  id 125.98.2.33, data 125.98.2.34, Type Transit (2)
  TOS count 0, TOS 0 metric 10
  id 211.160.92.0, data 255.255.255.252, Type Stub (3)
  TOS count 0, TOS 0 metric 10
  id 125.98.3.69, data 125.98.3.70, Type Transit (2)
  TOS count 0, TOS 0 metric 10
  id 125.98.5.0, data 255.255.255.252, Type Stub (3)
  TOS count 0, TOS 0 metric 10
  id 125.98.0.40, data 255.255.255.255, Type Stub (3)
  TOS count 0, TOS 0 metric 0
  Aging timer 00:49:21
  Installed 00:10:35 ago, expires in 00:49:22, sent 00:10:33 ago
Router   125.98.0.49      125.98.0.49      0x8000837f   711  0x2  0xa93e 144
  bits 0x2, link count 10
  id 125.98.3.62, data 125.98.3.62, Type Transit (2)
  TOS count 0, TOS 0 metric 10
  id 211.160.92.224, data 255.255.255.252, Type Stub (3)
  TOS count 0, TOS 0 metric 10
  id 125.98.17.0, data 255.255.255.252, Type Stub (3)
  TOS count 0, TOS 0 metric 10
  id 125.98.5.236, data 255.255.255.252, Type Stub (3)
  TOS count 0, TOS 0 metric 10
  id 211.160.92.232, data 255.255.255.252, Type Stub (3)
  TOS count 0, TOS 0 metric 10
  id 125.98.2.85, data 125.98.2.86, Type Transit (2)
  TOS count 0, TOS 0 metric 10
  id 125.98.3.78, data 125.98.3.78, Type Transit (2)
  TOS count 0, TOS 0 metric 10
  id 125.98.2.70, data 125.98.2.70, Type Transit (2)
  TOS count 0, TOS 0 metric 10
  id 125.98.5.228, data 255.255.255.252, Type Stub (3)
  TOS count 0, TOS 0 metric 10
  id 125.98.0.49, data 255.255.255.255, Type Stub (3)
  TOS count 0, TOS 0 metric 0
  Aging timer 00:48:09
  Installed 00:11:49 ago, expires in 00:48:09, sent 00:11:47 ago
Router   125.98.0.50      125.98.0.50      0x8000479f  2471  0x2  0xb4ac  60
  bits 0x2, link count 3
  id 125.98.3.66, data 125.98.3.66, Type Transit (2)
  TOS count 0, TOS 0 metric 10
  id 125.98.2.73, data 125.98.2.74, Type Transit (2)
  TOS count 0, TOS 0 metric 10
  id 125.98.0.50, data 255.255.255.255, Type Stub (3)
  TOS count 0, TOS 0 metric 0
  Aging timer 00:18:48
  Installed 00:41:08 ago, expires in 00:18:49, sent 00:41:06 ago
    OSPF link state database, area 0.0.0.2
Type       ID               Adv Rtr           Seq      Age  Opt  Cksum  Len
Router  *125.98.0.1       125.98.0.1       0x80004a58  2516  0x2  0x12b8  84
  bits 0x3, link count 5
  id 125.98.2.37, data 125.98.2.37, Type Transit (2)
  TOS count 0, TOS 0 metric 10
  id 125.98.2.49, data 125.98.2.49, Type Transit (2)
  TOS count 0, TOS 0 metric 10
  id 125.98.2.41, data 125.98.2.41, Type Transit (2)
  TOS count 0, TOS 0 metric 10
  id 125.98.2.57, data 125.98.2.57, Type Transit (2)
  TOS count 0, TOS 0 metric 1
  id 125.98.2.65, data 125.98.2.65, Type Transit (2)
  TOS count 0, TOS 0 metric 1
  Gen timer 00:06:58
  Aging timer 00:18:03
  Installed 00:41:56 ago, expires in 00:18:04, sent 00:41:54 ago
  Ours,
Router   125.98.0.3       125.98.0.3       0x800049af   305  0x2  0x7019  84
  bits 0x3, link count 5
  id 125.98.4.34, data 125.98.4.33, Type Transit (2)
  TOS count 0, TOS 0 metric 10
  id 125.98.4.9, data 125.98.4.9, Type Transit (2)
  TOS count 0, TOS 0 metric 10
  id 125.98.4.17, data 125.98.4.17, Type Transit (2)
  TOS count 0, TOS 0 metric 10
  id 125.98.4.5, data 125.98.4.5, Type Transit (2)
  TOS count 0, TOS 0 metric 10
  id 125.98.4.26, data 125.98.4.25, Type Transit (2)
  TOS count 0, TOS 0 metric 10
  Aging timer 00:54:54
  Installed 00:04:59 ago, expires in 00:54:55, sent 00:04:57 ago
Router   125.98.0.41      125.98.0.41      0x8000b274   359  0x2  0x30c2  96
  bits 0x2, link count 6
  id 125.98.2.37, data 125.98.2.38, Type Transit (2)
  TOS count 0, TOS 0 metric 10
  id 211.160.92.144, data 255.255.255.252, Type Stub (3)
  TOS count 0, TOS 0 metric 10
  id 125.98.17.8, data 255.255.255.252, Type Stub (3)
  TOS count 0, TOS 0 metric 10
  id 211.160.92.152, data 255.255.255.252, Type Stub (3)
  TOS count 0, TOS 0 metric 10
  id 125.98.4.5, data 125.98.4.6, Type Transit (2)
  TOS count 0, TOS 0 metric 10
  id 125.98.0.41, data 255.255.255.255, Type Stub (3)
  TOS count 0, TOS 0 metric 0
  Aging timer 00:54:01
  Installed 00:05:56 ago, expires in 00:54:01, sent 00:05:54 ago
Router   125.98.0.42      125.98.0.42      0x8000b2ef   515  0x2  0x9351  72
  bits 0x2, link count 4
  id 125.98.2.41, data 125.98.2.42, Type Transit (2)
  TOS count 0, TOS 0 metric 10
  id 211.160.92.160, data 255.255.255.252, Type Stub (3)
  TOS count 0, TOS 0 metric 10
  id 125.98.4.9, data 125.98.4.10, Type Transit (2)
  TOS count 0, TOS 0 metric 10
  id 125.98.0.42, data 255.255.255.255, Type Stub (3)
  TOS count 0, TOS 0 metric 0
  Aging timer 00:51:24
  Installed 00:08:32 ago, expires in 00:51:25, sent 00:08:30 ago
Router   125.98.0.44      125.98.0.44      0x80006931   383  0x2  0xc1ff  72
  bits 0x2, link count 4
  id 125.98.2.49, data 125.98.2.50, Type Transit (2)
  TOS count 0, TOS 0 metric 1
  id 211.160.92.192, data 255.255.255.252, Type Stub (3)
  TOS count 0, TOS 0 metric 1
  id 125.98.4.17, data 125.98.4.18, Type Transit (2)
  TOS count 0, TOS 0 metric 1
  id 125.98.0.44, data 255.255.255.255, Type Stub (3)
  TOS count 0, TOS 0 metric 0
  Aging timer 00:53:36
  Installed 00:06:20 ago, expires in 00:53:37, sent 00:06:18 ago
Router   125.98.0.46      125.98.0.46      0x8000b423   295  0x2  0x2fd   84
  bits 0x2, link count 5
  id 125.98.2.57, data 125.98.2.58, Type Transit (2)
  TOS count 0, TOS 0 metric 10
  id 211.160.93.128, data 255.255.255.252, Type Stub (3)
  TOS count 0, TOS 0 metric 10
  id 125.98.4.26, data 125.98.4.26, Type Transit (2)
  TOS count 0, TOS 0 metric 10
  id 125.98.6.132, data 255.255.255.252, Type Stub (3)
  TOS count 0, TOS 0 metric 10
  id 125.98.0.46, data 255.255.255.255, Type Stub (3)
  TOS count 0, TOS 0 metric 0
  Aging timer 00:55:05
  Installed 00:04:52 ago, expires in 00:55:05, sent 00:04:50 ago
Router   125.98.0.48      125.98.0.48      0x80007df0   116  0x2  0x2817  96
  bits 0x2, link count 6
  id 125.98.4.34, data 125.98.4.34, Type Transit (2)
  TOS count 0, TOS 0 metric 10
  id 211.160.93.0, data 255.255.255.252, Type Stub (3)
  TOS count 0, TOS 0 metric 10
  id 125.98.6.8, data 255.255.255.252, Type Stub (3)
  TOS count 0, TOS 0 metric 10
  id 125.98.2.65, data 125.98.2.66, Type Transit (2)
  TOS count 0, TOS 0 metric 10
  id 125.98.6.4, data 255.255.255.252, Type Stub (3)
  TOS count 0, TOS 0 metric 10
  id 125.98.0.48, data 255.255.255.255, Type Stub (3)
  TOS count 0, TOS 0 metric 0
  Aging timer 00:58:03
  Installed 00:01:53 ago, expires in 00:58:04, sent 00:01:51 ago
    OSPF link state database, area 0.0.0.5
Type       ID               Adv Rtr           Seq      Age  Opt  Cksum  Len
Router  *125.98.0.1       125.98.0.1       0x80001431   815  0x2  0xef21  36
  bits 0x3, link count 1
  id 125.98.2.80, data 255.255.255.252, Type Stub (3)
  TOS count 0, TOS 0 metric 10
  Gen timer 00:36:01
  Aging timer 00:46:24
  Installed 00:13:35 ago, expires in 00:46:25, sent 5w4d 15:33:43 ago
  Ours,


##############################

yi-feng 发表于 2007-8-16 11:03

连载

##############################

user@host> show ospf database network extensive | no-more     
    OSPF link state database, area 0.0.0.0
Type       ID               Adv Rtr           Seq      Age  Opt  Cksum  Len
Network  125.98.1.6       125.98.0.2       0x80001592  1953  0x2  0xe545  32
  mask 255.255.255.252
  attached router 125.98.0.2
  attached router 125.98.0.1
  Aging timer 00:27:26
  Installed 00:32:30 ago, expires in 00:27:27, sent 00:32:28 ago
Network  125.98.1.10      125.98.0.3       0x80004207   419  0x2  0x5132  32
  mask 255.255.255.252
  attached router 125.98.0.3
  attached router 125.98.0.1
  Aging timer 00:53:01
  Installed 00:06:56 ago, expires in 00:53:01, sent 00:06:54 ago
Network  125.98.1.14      125.98.0.3       0x80000916   456  0x2  0xc4e3  32
  mask 255.255.255.252
  attached router 125.98.0.3
  attached router 125.98.0.2
  Aging timer 00:52:23
  Installed 00:07:33 ago, expires in 00:52:24, sent 00:07:31 ago
    OSPF link state database, area 0.0.0.1
Type       ID               Adv Rtr           Seq      Age  Opt  Cksum  Len
Network *125.98.2.1       125.98.0.1       0x8000090e   501  0x2  0xe9b8  32
  mask 255.255.255.252
  attached router 125.98.0.1
  attached router 125.98.0.32
  Gen timer 00:41:22
  Aging timer 00:51:38
  Installed 00:08:21 ago, expires in 00:51:39, sent 00:08:19 ago
  Ours,
Network *125.98.2.29      125.98.0.1       0x8000053e  1620  0x2  0xde74  32
  mask 255.255.255.252
  attached router 125.98.0.1
  attached router 125.98.0.39
  Gen timer 00:22:15
  Aging timer 00:33:00
  Installed 00:27:00 ago, expires in 00:33:00, sent 00:26:58 ago
  Ours,
Network *125.98.2.33      125.98.0.1       0x800048d2   946  0x2  0xd1a4  32
  mask 255.255.255.252
  attached router 125.98.0.1
  attached router 125.98.0.40
  Gen timer 00:33:51
  Aging timer 00:44:14
  Installed 00:15:46 ago, expires in 00:44:14, sent 00:15:44 ago
  Ours,
Network  125.98.2.70      125.98.0.49      0x80001178  2259  0x2  0x5554  32
  mask 255.255.255.252
  attached router 125.98.0.49
  attached router 125.98.0.1
  Aging timer 00:22:20
  Installed 00:37:36 ago, expires in 00:22:21, sent 00:37:34 ago
Network *125.98.2.73      125.98.0.1       0x80000c9e   919  0x2  0xe9ca  32
  mask 255.255.255.252
  attached router 125.98.0.1
  attached router 125.98.0.50
  Gen timer 00:34:18
  Aging timer 00:44:41
  Installed 00:15:19 ago, expires in 00:44:41, sent 00:15:17 ago
  Ours,
Network *125.98.2.85      125.98.0.1       0x80000c9f   937  0x2  0x6147  32
  mask 255.255.255.252
  attached router 125.98.0.1
  attached router 125.98.0.49
  Gen timer 00:34:00
  Aging timer 00:44:23
  Installed 00:15:37 ago, expires in 00:44:23, sent 00:15:35 ago
  Ours,
Network  125.98.3.29      125.98.0.2       0x8000491d  1993  0x2  0xea49  32
  mask 255.255.255.252
  attached router 125.98.0.2
  attached router 125.98.0.32
  Aging timer 00:26:47
  Installed 00:33:07 ago, expires in 00:26:47, sent 00:33:05 ago
Network  125.98.3.57      125.98.0.2       0x80000453    24  0x2  0x9788  32
  mask 255.255.255.252
  attached router 125.98.0.2
  attached router 125.98.0.39
  Aging timer 00:59:35
  Installed 00:00:18 ago, expires in 00:59:36, sent 00:00:16 ago
Network  125.98.3.62      125.98.0.49      0x800002a6   460  0x2  0x7917  32
  mask 255.255.255.252
  attached router 125.98.0.49
  attached router 125.98.0.2
  Aging timer 00:52:20
  Installed 00:07:38 ago, expires in 00:52:20, sent 00:07:36 ago
Network  125.98.3.66      125.98.0.50      0x80000b8f   493  0x2  0x6830  32
  mask 255.255.255.252
  attached router 125.98.0.50
  attached router 125.98.0.2
  Aging timer 00:51:46
  Installed 00:08:10 ago, expires in 00:51:47, sent 00:08:08 ago
Network  125.98.3.69      125.98.0.2       0x8000092b  1825  0x2  0x6ec7  32
  mask 255.255.255.252
  attached router 125.98.0.2
  attached router 125.98.0.40
  Aging timer 00:29:35
  Installed 00:30:20 ago, expires in 00:29:35, sent 00:30:18 ago
Network  125.98.3.78      125.98.0.49      0x80001008  1959  0x2  0xeb25  32
  mask 255.255.255.252
  attached router 125.98.0.49
  attached router 125.98.0.2
  Aging timer 00:27:20
  Installed 00:32:36 ago, expires in 00:27:21, sent 00:32:34 ago
    OSPF link state database, area 0.0.0.2
Type       ID               Adv Rtr           Seq      Age  Opt  Cksum  Len
Network *125.98.2.37      125.98.0.1       0x8000023a  2574  0x2  0xbb94  32
  mask 255.255.255.252
  attached router 125.98.0.1
  attached router 125.98.0.41
  Gen timer 00:06:00
  Aging timer 00:17:05
  Installed 00:42:54 ago, expires in 00:17:06, sent 00:42:52 ago
  Ours,
Network *125.98.2.41      125.98.0.1       0x8000023a  2719  0x2  0xa1a9  32
  mask 255.255.255.252
  attached router 125.98.0.1
  attached router 125.98.0.42
  Gen timer 00:03:36
  Aging timer 00:14:41
  Installed 00:45:19 ago, expires in 00:14:41, sent 00:45:17 ago
  Ours,
Network *125.98.2.49      125.98.0.1       0x8000177d   928  0x2  0xa741  32
  mask 255.255.255.252
  attached router 125.98.0.1
  attached router 125.98.0.44
  Gen timer 00:34:09
  Aging timer 00:44:32
  Installed 00:15:28 ago, expires in 00:44:32, sent 00:15:26 ago
  Ours,
Network *125.98.2.57      125.98.0.1       0x80000c9e   910  0x2  0x5276  32
  mask 255.255.255.252
  attached router 125.98.0.1
  attached router 125.98.0.46
  Gen timer 00:34:27
  Aging timer 00:44:50
  Installed 00:15:10 ago, expires in 00:44:50, sent 00:15:08 ago
  Ours,
Network *125.98.2.65      125.98.0.1       0x80000c9e   901  0x2  0x1ea0  32
  mask 255.255.255.252
  attached router 125.98.0.1
  attached router 125.98.0.48
  Gen timer 00:34:36
  Aging timer 00:44:59
  Installed 00:15:01 ago, expires in 00:44:59, sent 00:14:59 ago
  Ours,
Network  125.98.4.5       125.98.0.3       0x80000915   439  0x2  0x2464  32
  mask 255.255.255.252
  attached router 125.98.0.3
  attached router 125.98.0.41
  Aging timer 00:52:41
  Installed 00:07:13 ago, expires in 00:52:41, sent 00:07:11 ago
Network  125.98.4.9       125.98.0.3       0x80000915   448  0x2  0xa79   32
  mask 255.255.255.252
  attached router 125.98.0.3
  attached router 125.98.0.42
  Aging timer 00:52:31
  Installed 00:07:22 ago, expires in 00:52:32, sent 00:07:20 ago
Network  125.98.4.17      125.98.0.3       0x80001787   411  0x2  0xc632  32
  mask 255.255.255.252
  attached router 125.98.0.3
  attached router 125.98.0.44
  Aging timer 00:53:09
  Installed 00:06:45 ago, expires in 00:53:09, sent 00:06:43 ago
Network  125.98.4.26      125.98.0.46      0x800064c4   644  0x2  0x76c1  32
  mask 255.255.255.252
  attached router 125.98.0.46
  attached router 125.98.0.3
  Aging timer 00:49:16
  Installed 00:10:41 ago, expires in 00:49:16, sent 00:10:39 ago
Network  125.98.4.34      125.98.0.48      0x80007cf0  1665  0x2  0x8d5a  32
  mask 255.255.255.252
  attached router 125.98.0.48
  attached router 125.98.0.3
  Aging timer 00:32:15
  Installed 00:27:42 ago, expires in 00:32:15, sent 00:27:40 ago

###########################################

user@host> show ospf database netsummary extensive   
    OSPF link state database, area 0.0.0.0
Type       ID               Adv Rtr           Seq      Age  Opt  Cksum  Len
Summary  125.98.0.27      125.98.0.2       0x80003069  1735  0x2  0xda03  28
  mask 255.255.255.255
  TOS 0x0, metric 10
  Aging timer 00:31:05
  Installed 00:28:52 ago, expires in 00:31:05, sent 00:28:50 ago
Summary  125.98.0.27      125.98.0.3       0x80003053   280  0x2  0x1f1   28
  mask 255.255.255.255
  TOS 0x0, metric 10
  Aging timer 00:55:20
  Installed 00:04:37 ago, expires in 00:55:20, sent 00:04:35 ago
Summary  125.98.0.28      125.98.0.2       0x8000190d  1709  0x2  0xce81  28
  mask 255.255.255.255
  TOS 0x0, metric 10
  Aging timer 00:31:31
  Installed 00:28:26 ago, expires in 00:31:31, sent 00:28:24 ago
Summary  125.98.0.28      125.98.0.3       0x800018af   252  0x2  0x8627  28
  mask 255.255.255.255
  TOS 0x0, metric 10
  Aging timer 00:55:48
  Installed 00:04:09 ago, expires in 00:55:48, sent 00:04:07 ago
Summary *125.98.0.32      125.98.0.1       0x800030e6   468  0x2  0x590c  28
  mask 255.255.255.255
  TOS 0x0, metric 1
  Gen timer 00:41:56
  Aging timer 00:52:12
  Installed 00:07:48 ago, expires in 00:52:12, sent 00:07:46 ago
  Ours,
Summary  125.98.0.32      125.98.0.2       0x8000496b  1683  0x2  0x5964  28
  mask 255.255.255.255
  TOS 0x0, metric 10
  Aging timer 00:31:57
  Installed 00:28:00 ago, expires in 00:31:57, sent 00:27:58 ago
Summary *125.98.0.39      125.98.0.1       0x80000abb  1404  0x2  0x3670  28
  mask 255.255.255.255
  TOS 0x0, metric 10
  Gen timer 00:25:59
  Aging timer 00:36:36
  Installed 00:23:24 ago, expires in 00:36:36, sent 00:23:22 ago
  Ours,
Summary  125.98.0.39      125.98.0.2       0x80000b15    40  0x2  0x7ad0  28
  mask 255.255.255.255
  TOS 0x0, metric 10
  Aging timer 00:59:20
  Installed 00:00:37 ago, expires in 00:59:20, sent 00:00:35 ago
Summary *125.98.0.40      125.98.0.1       0x80004937   721  0x2  0x7773  28
  mask 255.255.255.255
  TOS 0x0, metric 10
  Gen timer 00:37:43
  Aging timer 00:47:59
  Installed 00:12:01 ago, expires in 00:47:59, sent 00:11:59 ago
  Ours,
Summary  125.98.0.40      125.98.0.2       0x800030f1  1657  0x2  0x4701  28
  mask 255.255.255.255
  TOS 0x0, metric 10
  Aging timer 00:32:23
  Installed 00:27:34 ago, expires in 00:32:23, sent 00:27:32 ago
Summary *125.98.0.41      125.98.0.1       0x8000221a  2586  0x2  0x1d11  28
  mask 255.255.255.255
  TOS 0x0, metric 10
  Gen timer 00:05:49
  Aging timer 00:16:54
  Installed 00:43:06 ago, expires in 00:16:54, sent 00:43:06 ago
  Ours,
Summary  125.98.0.41      125.98.0.3       0x800021e7   140  0x2  0x78e6  28
  mask 255.255.255.255
  TOS 0x0, metric 10
  Aging timer 00:57:40
  Installed 00:02:17 ago, expires in 00:57:40, sent 00:02:15 ago
Summary *125.98.0.42      125.98.0.1       0x80002268  2740  0x2  0x7668  28
  mask 255.255.255.255
  TOS 0x0, metric 10
  Gen timer 00:03:15
  Aging timer 00:14:20
  Installed 00:45:40 ago, expires in 00:14:20, sent 00:45:38 ago
  Ours,
Summary  125.98.0.42      125.98.0.3       0x8000221e   112  0x2  0xfe28  28
  mask 255.255.255.255
  TOS 0x0, metric 10
  Aging timer 00:58:08
  Installed 00:01:49 ago, expires in 00:58:08, sent 00:01:47 ago
Summary *125.98.0.44      125.98.0.1       0x8000178c   667  0x2  0x3b88  28
  mask 255.255.255.255
  TOS 0x0, metric 10
  Gen timer 00:38:37
  Aging timer 00:48:53
  Installed 00:11:07 ago, expires in 00:48:53, sent 00:11:05 ago
  Ours,
Summary  125.98.0.44      125.98.0.3       0x8000178b    84  0x2  0x3191  28
  mask 255.255.255.255
  TOS 0x0, metric 10
  Aging timer 00:58:36
  Installed 00:01:21 ago, expires in 00:58:36, sent 00:01:19 ago
Summary *125.98.0.46      125.98.0.1       0x800030d8   640  0x2  0xe87c  28
  mask 255.255.255.255
  TOS 0x0, metric 1
  Gen timer 00:39:04
  Aging timer 00:49:20
  Installed 00:10:40 ago, expires in 00:49:20, sent 00:10:38 ago
  Ours,
Summary  125.98.0.46      125.98.0.3       0x80003046    56  0x2  0x5c90  28
  mask 255.255.255.255
  TOS 0x0, metric 10
  Aging timer 00:59:04
  Installed 00:00:53 ago, expires in 00:59:04, sent 00:00:51 ago
Summary *125.98.0.48      125.98.0.1       0x800030d0   585  0x2  0xe486  28
  mask 255.255.255.255
  TOS 0x0, metric 1
  Gen timer 00:39:58
  Aging timer 00:50:14
  Installed 00:09:45 ago, expires in 00:50:15, sent 00:09:43 ago
  Ours,
Summary  125.98.0.48      125.98.0.3       0x8000489e    28  0x2  0x4f2b  28
  mask 255.255.255.255
  TOS 0x0, metric 10
  Aging timer 00:59:32
  Installed 00:00:25 ago, expires in 00:59:32, sent 00:00:23 ago
Summary *125.98.0.49      125.98.0.1       0x80003112  1641  0x2  0xaf6f  28
  mask 255.255.255.255
  TOS 0x0, metric 10
  Gen timer 00:21:55
  Aging timer 00:32:39
  Installed 00:27:21 ago, expires in 00:32:39, sent 00:27:19 ago
  Ours,
Summary  125.98.0.49      125.98.0.2       0x800030e3   210  0x2  0x944   28
  mask 255.255.255.255
  TOS 0x0, metric 10
  Aging timer 00:56:30
  Installed 00:03:26 ago, expires in 00:56:30, sent 00:03:24 ago
Summary *125.98.0.50      125.98.0.1       0x800030d5   558  0x2  0xc69d  28
  mask 255.255.255.255
  TOS 0x0, metric 1
  Gen timer 00:40:25
  Aging timer 00:50:41
  Installed 00:09:18 ago, expires in 00:50:42, sent 00:09:16 ago
  Ours,
Summary  125.98.0.50      125.98.0.2       0x800030db  1553  0x2  0xf45   28
  mask 255.255.255.255
  TOS 0x0, metric 10
  Aging timer 00:34:06
  Installed 00:25:50 ago, expires in 00:34:07, sent 00:25:48 ago
Summary  125.98.0.192     125.98.0.3       0x80000491  1800  0x2  0x90aa  28
  mask 255.255.255.255
  TOS 0x0, metric 10
  Aging timer 00:30:00
  Installed 00:29:57 ago, expires in 00:30:00, sent 00:29:55 ago
Summary *125.98.2.0       125.98.0.1       0x800030df    49  0x2  0x800d  28
  mask 255.255.255.252
  TOS 0x0, metric 1
  Gen timer 00:49:11
  Aging timer 00:59:11
  Installed 00:00:49 ago, expires in 00:59:11, sent 00:00:47 ago
  Ours,
Summary  125.98.2.0       125.98.0.2       0x8000310a  1410  0x2  0xe16c  28
  mask 255.255.255.252
  TOS 0x0, metric 20
  Aging timer 00:36:30
  Installed 00:23:26 ago, expires in 00:36:30, sent 00:23:24 ago
Summary *125.98.2.28      125.98.0.1       0x800030d5    22  0x2  0xd59c  28
  mask 255.255.255.252
  TOS 0x0, metric 10
  Gen timer 00:49:38
  Aging timer 00:59:38
  Installed 00:00:22 ago, expires in 00:59:38, sent 00:00:20 ago
  Ours,
Summary  125.98.2.28      125.98.0.2       0x800031b1    14  0x2  0x7911  28
  mask 255.255.255.252
  TOS 0x0, metric 20
  Aging timer 00:59:45
  Installed 00:00:11 ago, expires in 00:59:46, sent 00:00:09 ago
Summary *125.98.2.32      125.98.0.1       0x80004912  2922  0x2  0xe92f  28
  mask 255.255.255.252
  TOS 0x0, metric 10
  Gen timer 00:00:05
  Aging timer 00:11:17
  Installed 00:48:42 ago, expires in 00:11:18, sent 00:48:40 ago
  Ours,
Summary  125.98.2.32      125.98.0.2       0x80003107  1383  0x2  0xa68a  28
  mask 255.255.255.252
  TOS 0x0, metric 20
  Aging timer 00:36:57
  Installed 00:23:00 ago, expires in 00:36:57, sent 00:22:58 ago
Summary *125.98.2.36      125.98.0.1       0x8000220a  2895  0x2  0x47fc  28
  mask 255.255.255.252
  TOS 0x0, metric 10
  Gen timer 00:00:32
  Aging timer 00:11:45
  Installed 00:48:15 ago, expires in 00:11:45, sent 00:48:13 ago
  Ours,
Summary  125.98.2.36      125.98.0.3       0x800021eb  2437  0x2  0xde78  28
  mask 255.255.255.252
  TOS 0x0, metric 20
  Aging timer 00:19:23
  Installed 00:40:34 ago, expires in 00:19:23, sent 00:40:32 ago
Summary *125.98.2.40      125.98.0.1       0x8000214e  2868  0x2  0x9963  28
  mask 255.255.255.252
  TOS 0x0, metric 10
  Gen timer 00:00:59
  Aging timer 00:12:12
  Installed 00:47:48 ago, expires in 00:12:12, sent 00:47:46 ago
  Ours,
Summary  125.98.2.40      125.98.0.3       0x80002132  2465  0x2  0x2ae2  28
  mask 255.255.255.252
  TOS 0x0, metric 20
  Aging timer 00:18:55
  Installed 00:41:02 ago, expires in 00:18:55, sent 00:41:00 ago
Summary *125.98.2.48      125.98.0.1       0x800030d8  2841  0x2  0x754   28
  mask 255.255.255.252
  TOS 0x0, metric 10
  Gen timer 00:01:27
  Aging timer 00:12:39
  Installed 00:47:21 ago, expires in 00:12:39, sent 00:47:19 ago
  Ours,
Summary  125.98.2.48      125.98.0.3       0x8000305b  2643  0x2  0xffd5  28
  mask 255.255.255.252
  TOS 0x0, metric 11
  Aging timer 00:15:57
  Installed 00:44:00 ago, expires in 00:15:57, sent 00:43:58 ago
Summary *125.98.2.56      125.98.0.1       0x800030d6  2821  0x2  0x60fd  28
  mask 255.255.255.252
  TOS 0x0, metric 1
  Gen timer 00:01:54
  Aging timer 00:12:59
  Installed 00:47:01 ago, expires in 00:12:59, sent 00:46:59 ago
  Ours,
Summary  125.98.2.56      125.98.0.3       0x8000304f  2615  0x2  0xd107  28
  mask 255.255.255.252
  TOS 0x0, metric 12
  Aging timer 00:16:25
  Installed 00:43:32 ago, expires in 00:16:25, sent 00:43:30 ago
Summary *125.98.2.64      125.98.0.1       0x800030d9  2794  0x2  0xa49   28
  mask 255.255.255.252
  TOS 0x0, metric 1
  Gen timer 00:02:21
  Aging timer 00:13:26
  Installed 00:46:34 ago, expires in 00:13:26, sent 00:46:32 ago
  Ours,
Summary  125.98.2.64      125.98.0.3       0x80003050  2587  0x2  0x7f50  28
  mask 255.255.255.252
  TOS 0x0, metric 12
  Aging timer 00:16:53
  Installed 00:43:04 ago, expires in 00:16:53, sent 00:43:02 ago
Summary *125.98.2.68      125.98.0.1       0x80000ca0  2131  0x2  0x1b88  28
  mask 255.255.255.252
  TOS 0x0, metric 10
  Gen timer 00:13:38
  Aging timer 00:24:29
  Installed 00:35:31 ago, expires in 00:24:29, sent 00:35:29 ago
  Ours,
Summary  125.98.2.68      125.98.0.2       0x80000ce1   183  0x2  0xf660  28
  mask 255.255.255.252
  TOS 0x0, metric 20
  Aging timer 00:56:57
  Installed 00:03:00 ago, expires in 00:56:57, sent 00:02:58 ago
Summary *125.98.2.72      125.98.0.1       0x80001c61  2103  0x2  0xe6f0  28
  mask 255.255.255.252
  TOS 0x0, metric 1
  Gen timer 00:14:05
  Aging timer 00:24:56
  Installed 00:35:03 ago, expires in 00:24:57, sent 00:35:01 ago
  Ours,
Summary  125.98.2.72      125.98.0.2       0x80001cbb  1201  0x2  0xea7e  28
  mask 255.255.255.252
  TOS 0x0, metric 20
  Aging timer 00:39:58
  Installed 00:19:58 ago, expires in 00:39:59, sent 00:19:56 ago
Summary *125.98.2.80      125.98.0.1       0x8000142e  2076  0x2  0x6f92  28
  mask 255.255.255.252
  TOS 0x0, metric 10
  Gen timer 00:14:32
  Aging timer 00:25:23
  Installed 00:34:36 ago, expires in 00:25:24, sent 00:34:34 ago
  Ours,
Summary *125.98.2.84      125.98.0.1       0x80000ca1  2049  0x2  0x781a  28
  mask 255.255.255.252
  TOS 0x0, metric 10
  Gen timer 00:14:59
  Aging timer 00:25:50
  Installed 00:34:09 ago, expires in 00:25:51, sent 00:34:07 ago
  Ours,
Summary  125.98.2.84      125.98.0.2       0x80000ce5   157  0x2  0x4ef4  28
  mask 255.255.255.252
  TOS 0x0, metric 20
  Aging timer 00:57:22
  Installed 00:02:35 ago, expires in 00:57:23, sent 00:02:33 ago
Summary  125.98.3.8       125.98.0.2       0x80000a42  1161  0x2  0x2717  28
  mask 255.255.255.252
  TOS 0x0, metric 10
  Aging timer 00:40:39
  Installed 00:19:18 ago, expires in 00:40:39, sent 00:19:16 ago
Summary  125.98.3.8       125.98.0.3       0x80000a25  2343  0x2  0xbf90  28
  mask 255.255.255.252
  TOS 0x0, metric 20
  Aging timer 00:20:57
  Installed 00:39:00 ago, expires in 00:20:57, sent 00:38:58 ago
Summary  125.98.3.12      125.98.0.2       0x80000a48  1135  0x2  0xf241  28
  mask 255.255.255.252
  TOS 0x0, metric 10
  Aging timer 00:41:05
  Installed 00:18:52 ago, expires in 00:41:05, sent 00:18:50 ago
Summary  125.98.3.12      125.98.0.3       0x80000a25  2315  0x2  0x97b4  28
  mask 255.255.255.252
  TOS 0x0, metric 20
  Aging timer 00:21:25
  Installed 00:38:32 ago, expires in 00:21:25, sent 00:38:30 ago
Summary *125.98.3.28      125.98.0.1       0x800030d4   441  0x2  0xd69a  28
  mask 255.255.255.252
  TOS 0x0, metric 11
  Gen timer 00:42:23
  Aging timer 00:52:39
  Installed 00:07:21 ago, expires in 00:52:39, sent 00:07:19 ago
  Ours,
Summary  125.98.3.28      125.98.0.2       0x80004948  1109  0x2  0x9450  28
  mask 255.255.255.252
  TOS 0x0, metric 10
  Aging timer 00:41:31
  Installed 00:18:26 ago, expires in 00:41:31, sent 00:18:24 ago
Summary *125.98.3.56      125.98.0.1       0x80001e7f  1077  0x2  0xf8ba  28
  mask 255.255.255.252
  TOS 0x0, metric 20
  Gen timer 00:31:32
  Aging timer 00:42:03
  Installed 00:17:57 ago, expires in 00:42:03, sent 00:17:55 ago
  Ours,

下略, 太多了

##########################################

user@host> show ospf database netsummary extensive | no-more   
    OSPF link state database, area 0.0.0.0
Type       ID               Adv Rtr           Seq      Age  Opt  Cksum  Len
Summary  125.98.0.27      125.98.0.2       0x80003069  1811  0x2  0xda03  28
  mask 255.255.255.255
  TOS 0x0, metric 10
  Aging timer 00:29:48
  Installed 00:30:08 ago, expires in 00:29:49, sent 00:30:06 ago
Summary  125.98.0.27      125.98.0.3       0x80003053   356  0x2  0x1f1   28
  mask 255.255.255.255
  TOS 0x0, metric 10
  Aging timer 00:54:03
  Installed 00:05:53 ago, expires in 00:54:04, sent 00:05:51 ago
Summary  125.98.0.28      125.98.0.2       0x8000190d  1785  0x2  0xce81  28
  mask 255.255.255.255
  TOS 0x0, metric 10
  Aging timer 00:30:14
  Installed 00:29:42 ago, expires in 00:30:15, sent 00:29:40 ago
Summary  125.98.0.28      125.98.0.3       0x800018af   328  0x2  0x8627  28
  mask 255.255.255.255
  TOS 0x0, metric 10
  Aging timer 00:54:31
  Installed 00:05:25 ago, expires in 00:54:32, sent 00:05:23 ago
Summary *125.98.0.32      125.98.0.1       0x800030e6   544  0x2  0x590c  28
  mask 255.255.255.255
  TOS 0x0, metric 1
  Gen timer 00:40:39
  Aging timer 00:50:55
  Installed 00:09:04 ago, expires in 00:50:56, sent 00:09:02 ago
  Ours,
Summary  125.98.0.32      125.98.0.2       0x8000496b  1759  0x2  0x5964  28
  mask 255.255.255.255
  TOS 0x0, metric 10
  Aging timer 00:30:40
  Installed 00:29:16 ago, expires in 00:30:41, sent 00:29:14 ago
Summary *125.98.0.39      125.98.0.1       0x80000abb  1480  0x2  0x3670  28
  mask 255.255.255.255
  TOS 0x0, metric 10
  Gen timer 00:24:42
  Aging timer 00:35:19
  Installed 00:24:40 ago, expires in 00:35:20, sent 00:24:38 ago
  Ours,
Summary  125.98.0.39      125.98.0.2       0x80000b15   116  0x2  0x7ad0  28
  mask 255.255.255.255
  TOS 0x0, metric 10
  Aging timer 00:58:03
  Installed 00:01:53 ago, expires in 00:58:04, sent 00:01:51 ago
Summary *125.98.0.40      125.98.0.1       0x80004937   797  0x2  0x7773  28
  mask 255.255.255.255
  TOS 0x0, metric 10
  Gen timer 00:36:27
  Aging timer 00:46:43
  Installed 00:13:17 ago, expires in 00:46:43, sent 00:13:15 ago
  Ours,
Summary  125.98.0.40      125.98.0.2       0x800030f1  1733  0x2  0x4701  28
  mask 255.255.255.255
  TOS 0x0, metric 10
  Aging timer 00:31:06
  Installed 00:28:50 ago, expires in 00:31:07, sent 00:28:48 ago
Summary *125.98.0.41      125.98.0.1       0x8000221a  2662  0x2  0x1d11  28
  mask 255.255.255.255
  TOS 0x0, metric 10
  Gen timer 00:04:32
  Aging timer 00:15:37
  Installed 00:44:22 ago, expires in 00:15:38, sent 00:44:22 ago
  Ours,
Summary  125.98.0.41      125.98.0.3       0x800021e7   216  0x2  0x78e6  28
  mask 255.255.255.255
  TOS 0x0, metric 10
  Aging timer 00:56:23
  Installed 00:03:33 ago, expires in 00:56:24, sent 00:03:31 ago
Summary *125.98.0.42      125.98.0.1       0x80002268  2816  0x2  0x7668  28
  mask 255.255.255.255
  TOS 0x0, metric 10
  Gen timer 00:01:59
  Aging timer 00:13:04
  Installed 00:46:56 ago, expires in 00:13:04, sent 00:46:54 ago
  Ours,
Summary  125.98.0.42      125.98.0.3       0x8000221e   188  0x2  0xfe28  28
  mask 255.255.255.255
  TOS 0x0, metric 10
  Aging timer 00:56:51
  Installed 00:03:05 ago, expires in 00:56:52, sent 00:03:03 ago
Summary *125.98.0.44      125.98.0.1       0x8000178c   743  0x2  0x3b88  28
  mask 255.255.255.255
  TOS 0x0, metric 10
  Gen timer 00:37:21
  Aging timer 00:47:37
  Installed 00:12:23 ago, expires in 00:47:37, sent 00:12:21 ago
  Ours,
Summary  125.98.0.44      125.98.0.3       0x8000178b   160  0x2  0x3191  28
  mask 255.255.255.255
  TOS 0x0, metric 10
  Aging timer 00:57:19
  Installed 00:02:37 ago, expires in 00:57:20, sent 00:02:35 ago
Summary *125.98.0.46      125.98.0.1       0x800030d8   716  0x2  0xe87c  28
  mask 255.255.255.255
  TOS 0x0, metric 1
  Gen timer 00:37:48
  Aging timer 00:48:04
  Installed 00:11:56 ago, expires in 00:48:04, sent 00:11:54 ago
  Ours,
Summary  125.98.0.46      125.98.0.3       0x80003046   132  0x2  0x5c90  28
  mask 255.255.255.255
  TOS 0x0, metric 10

下略, 太多了

#########################################

TYPE 5因为太简单, 就不写了

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


能否按照我给的LSDB信息, 画一个图出来, 并标出相关IP地址和router-id等信息.

东西比较多, 慢慢画.

应该不是什么困难的题目吧?

页: [1]

Powered by Discuz! Archiver 6.1.0  © 1999-2008 bbs.bitsCN.com