28.06.2014 Views

Discussion

Discussion

Discussion

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

entries that originated from the local router. The router also knows about its two<br />

neighbors, 192.168.17.1 and 192.168.18.1, and about the subnetwork that connects<br />

these two neighbors (10.0.2.1).<br />

If you check on the other two routers in the area, you see that they have identical<br />

databases:<br />

aviva@RouterJ> show ospf database<br />

OSPF link state database, area 0.0.0.0<br />

Type ID Adv Rtr Seq Age Opt Cksum Len<br />

Router *192.168.17.1 192.168.17.1 0x8000010a 170 0x2 0x760e 60<br />

Router 192.168.18.1 192.168.18.1 0x800000ae 377 0x2 0x6775 60<br />

Router 192.168.19.1 192.168.19.1 0x80000007 372 0x2 0xdf32 48<br />

Network 10.0.0.1 192.168.19.1 0x80000002 372 0x2 0xb720 32<br />

Network 10.0.1.2 192.168.19.1 0x80000002 378 0x2 0xaf25 32<br />

Network 10.0.2.1 192.168.18.1 0x8000002a 481 0x2 0x4f60 32<br />

aviva@RouterH> show ospf database<br />

OSPF link state database, area 0.0.0.0<br />

Type ID Adv Rtr Seq Age Opt Cksum Len<br />

Router 192.168.17.1 192.168.17.1 0x8000010a 45 0x2 0x760e 60<br />

Router *192.168.18.1 192.168.18.1 0x800000ae 250 0x2 0x6775 60<br />

Router 192.168.19.1 192.168.19.1 0x80000007 247 0x2 0xdf32 48<br />

Network 10.0.0.1 192.168.19.1 0x80000002 247 0x2 0xb720 32<br />

Network 10.0.1.2 192.168.19.1 0x80000002 251 0x2 0xaf25 32<br />

Network *10.0.2.1 192.168.18.1 0x8000002a 354 0x2 0x4f60 32<br />

The only thing different is which LSAs are marked as originated from the router.<br />

Use the following version of the show ospf database command to get a quick summary<br />

of the entries LSA database:<br />

aviva@RouterG> show ospf database summary<br />

Area 0.0.0.0:<br />

3 Router LSAs<br />

3 Network LSAs<br />

Externals:<br />

Interface fe-0/0/1.0:<br />

Interface fe-1/0/0.0:<br />

12.4 Configuring OSPF for IPv6<br />

Problem<br />

You want to use OSPF on an IPv6 network.<br />

Solution<br />

The configuration for OSPFv3 is the same as for OSPFv2, the IPv4 version of OSPF,<br />

except that you use set ospf3 commands instead of set ospf commands:<br />

[edit protocols]<br />

aviva@RouterJ# set ospf3 area 0.0.0.0 interface fe-1/0/0.0<br />

aviva@RouterJ# set ospf3 area 0.0.0.0 interface lo0.0 passive<br />

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

Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.<br />

Configuring OSPF for IPv6 | 391

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

Saved successfully!

Ooh no, something went wrong!