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.

For a quickly skimmable view of the routing-table entries, use the terse version of<br />

the show route command:<br />

aviva@RouterA> show route terse<br />

inet.0: 5 destinations, 5 routes (5 active, 0 holddown, 0 hidden)<br />

+ = Active Route, - = Last Active, * = Both<br />

A Destination P Prf Metric 1 Metric 2 Next hop AS path<br />

* 10.0.16.0/24 D 0 >fe-0/0/0.0<br />

* 10.0.16.1/32 L 0 Local<br />

* 10.0.21.0/24 D 0 >se-0/0/3.0<br />

* 10.0.21.1/32 L 0 Local<br />

* 192.168.42.1/32 D 0 >lo0.0<br />

__juniper_private1__.inet.0: 2 destinations, 2 routes (2 active, 0 holddown, 0<br />

hidden)<br />

+ = Active Route, - = Last Active, * = Both<br />

A Destination P Prf Metric 1 Metric 2 Next hop AS path<br />

* 10.0.0.1/32 D 0 >lo0.16385<br />

* 10.0.0.16/32 D 0 >lo0.16385<br />

You may wonder how the router has any addresses in its routing tables when no<br />

routing protocols are running and you haven’t configured any static routes. When<br />

you configure interfaces, the JUNOS software automatically puts routes in the routing<br />

table. For the routing-table examples in this recipe, the following interfaces and<br />

interface addresses are configured:<br />

aviva@RouterA> show configuration interfaces<br />

fe-0/0/0 {<br />

unit 0 {<br />

family inet {<br />

address 10.0.16.1/24;<br />

}<br />

family iso;<br />

family inet6 {<br />

address 9009:1::1/64;<br />

}<br />

}<br />

}<br />

se-0/0/3 {<br />

unit 0 {<br />

family inet {<br />

address 10.0.21.1/24;<br />

}<br />

family iso;<br />

family inet6 {<br />

address 9009:1::3/64;<br />

}<br />

}<br />

}<br />

lo0 {<br />

unit 0 {<br />

family inet {<br />

address 192.168.42.1/32;<br />

}<br />

254 | Chapter 8: IP Routing<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!