28.06.2014 Views

Discussion

Discussion

Discussion

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

oute<br />

spf<br />

state<br />

task<br />

timer<br />

Trace routing information<br />

Trace SPF calculations<br />

Trace state transitions<br />

Trace routing protocol task processing<br />

Trace routing protocol timer processing<br />

Using some of these other flags, you can debug adjacencies to see whether they<br />

come up:<br />

Jun 14 22:22:02 OSPF rcvd LSUpdate 10.0.16.1 -> 224.0.0.5 (fe-1/0/0.0, IFL 0x44)<br />

Jun 14 22:22:02 Version 2, length 124, ID 192.168.42.1, area 0.0.0.1<br />

Jun 14 22:22:02 checksum 0x0, authtype 0<br />

Jun 14 22:22:02 adv count 1<br />

Jun 14 22:22:02 id 192.168.42.1, type Router (0x1), age 3<br />

Jun 14 22:22:02 options 0x2<br />

Jun 14 22:22:02 adv rtr 192.168.42.1, seq 0x80000015, cksum 0x8c54, len 96<br />

Jun 14 22:22:02 bits 0x0, link count 6<br />

Jun 14 22:22:02 id 10.0.16.2, data 10.0.16.1, type Transit (2)<br />

Jun 14 22:22:02 TOS count 0, TOS 0 metric 1<br />

Jun 14 22:22:02 id 172.19.121.0, data 255.255.255.0, type Stub (3)<br />

Jun 14 22:22:02 TOS count 0, TOS 0 metric 1<br />

Jun 14 22:22:02 id 172.100.1.0, data 255.255.255.0, type Stub (3)<br />

Jun 14 22:22:02 TOS count 0, TOS 0 metric 1<br />

Jun 14 22:22:02 id 192.168.12.1, data 10.0.21.1, type PointToPoint (1)<br />

Jun 14 22:22:02 TOS count 0, TOS 0 metric 12<br />

Jun 14 22:22:02 id 10.0.21.0, data 255.255.255.0, type Stub (3)<br />

Jun 14 22:22:02 TOS count 0, TOS 0 metric 12<br />

Jun 14 22:22:02 id 192.168.42.1, data 255.255.255.255, type Stub (3)<br />

Jun 14 22:22:02 TOS count 0, TOS 0 metric 0<br />

You can also check that the SPF calculation is performed:<br />

Jun 13 16:55:20 OSPF SPF start, area 0.0.0.0<br />

Jun 13 16:55:20 OSPF add LSA Router (192.168.19.1, 192.168.19.1) distance 0 to SPF<br />

list<br />

Jun 13 16:55:20 Considering router link Transit 10.0.1.2 10.0.1.2<br />

Jun 13 16:55:20 Examining network link 192.168.19.1<br />

Jun 13 16:55:20 Back link found<br />

Jun 13 16:55:20 Added to candidate list at distance 1<br />

Jun 13 16:55:20 No nexthops, parent is root<br />

Jun 13 16:55:20 Network LSA, adding interface nexthop<br />

Jun 13 16:55:20 IP Nexthop #1 (null):0.0.0.0 (fe-0/0/1.0) added<br />

Jun 13 16:55:20 Considering router link Transit 10.0.0.1 10.0.0.1<br />

Jun 13 16:55:20 Examining network link 192.168.19.1<br />

Jun 13 16:55:20 Back link found<br />

Jun 13 16:55:20 Added to candidate list at distance 1<br />

Jun 13 16:55:20 No nexthops, parent is root<br />

Jun 13 16:55:20 Network LSA, adding interface nexthop<br />

Jun 13 16:55:20 IP Nexthop #1 (null):0.0.0.0 (fe-1/0/1.0) added<br />

Jun 13 16:55:20 Adding SPF route 10.0.1.0/24<br />

Jun 13 16:55:20 IP Nexthop #1 (null):0.0.0.0 (fe-0/0/1.0) added<br />

Jun 13 16:55:20 IP Route added with cost 1 (fresh)<br />

...<br />

Jun 13 16:55:20 SPF elapsed time 0.002172s<br />

Jun 13 16:55:20 Adding stub route 192.168.19.1/32<br />

416 | Chapter 12: OSPF<br />

This is the Title of the Book, eMatter Edition<br />

Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!