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.

<strong>Discussion</strong><br />

JUNOS OSPFv3 configuration for IPv6 networks is basically identical to OSPFv2<br />

configuration. You configure the protocol with set ospf3 commands instead of set<br />

ospf commands and use show ospf3 commands instead of show ospf commands to<br />

check on the OSPF status. Also, make sure to set IPv6 address on the interfaces running<br />

OSPFv3 and on the loopback interface, lo0.<br />

This recipe shows how to configure an OSPFv3 backbone router. All backbone<br />

routers have the same basic configuration. As with OSPFv2, define which interfaces<br />

are in the area. Again, include the lo0 interface, configured as a passive interface, so<br />

that it advertises its address into OSPF.<br />

To check that OSPF is running on the router interfaces, use the show ospf3 interface<br />

command:<br />

aviva@RouterH> show ospf3 interface<br />

Interface State Area DR-ID BDR-ID Nbrs<br />

fe-1/0/0.0 DR 0.0.0.0 192.168.18.1 10.0.0.1 1<br />

lo0.0 DRother 0.0.0.0 0.0.0.0 0.0.0.0 0<br />

The output shows that OSPFv3 is running on the configured interfaces, fe-1/0/0 and<br />

lo0, and that the Fast Ethernet interface is the DR. The DR-ID and BDR-ID columns<br />

show the OSPF router ID of the DR and BDR routers.<br />

Use the following command to see the neighbors with which the router has formed<br />

OSPFv3 adjacencies:<br />

aviva@RouterH> show ospf3 neighbor<br />

ID Interface State Pri Dead<br />

10.0.0.1 fe-1/0/0.0 Full 128 36<br />

Neighbor-address fe80::205:85ff:fec4:72f4<br />

You see one adjacency, with the router ID 10.0.0.1, which is the neighbor via interface<br />

fe-1/0/0. As with OSPFv2, Full in the State column indicates that the OSPFv3<br />

adjacency is up and running. The neighbor has a default priority of 128, the same<br />

default as OSPFv2, which is used to elect the DR.<br />

To see the OSPF routing table on the router, use the show ospf3 route command:<br />

aviva@RouterH> show ospf3 route<br />

Prefix Path Route NH Metric<br />

type type type<br />

10.0.0.1 Intra Router IP 1<br />

NH-interface fe-1/0/0.0, NH-addr fe80::205:85ff:fec4:72f4<br />

192.168.18.1;0.0.0.3 Intra Transit IP 1<br />

NH-interface fe-1/0/0.0<br />

9009:3::/64 Intra Network IP 1<br />

NH-interface fe-1/0/0.0<br />

The prefix column shows the routes to the other Area 0 router. One difference in the<br />

output for OSPFv3 is that the loopback address, 192.168.18.1, shows up as type<br />

Transit instead of as Network to indicate that the loopback address is not on a real<br />

392 | 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!