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.

IP router id: 192.168.19.1<br />

IP address: 192.168.19.1<br />

Hostname: RouterG<br />

IP prefix: 10.0.1.0/24, Internal, Metric: default 10, Up<br />

IP prefix: 10.0.16.0/24, Internal, Metric: default 10, Up<br />

IP prefix: 192.168.19.1/32, Internal, Metric: default 0, Up<br />

IP extended prefix: 10.0.1.0/24 metric 10 up<br />

IP extended prefix: 10.0.16.0/24 metric 10 up<br />

IP extended prefix: 192.168.19.1/32 metric 0 up<br />

IP external prefix: 192.168.12.1/32, Internal, Metric: default 0, Up<br />

IP extended prefix: 192.168.12.1/32 metric 0 up<br />

Authentication data: 17 bytes<br />

No queued transmissions<br />

...<br />

The show isis database extensive command output shows that the metric for the<br />

static route redistributed into IS-IS is 0. To lower the preference for the route, change<br />

the metric in the routing policy to increase the cost. Here, we increase the metric to<br />

500:<br />

[edit policy-options]<br />

aviva@RouterG# set policy-statement export-statics term 1 then metric 500<br />

The policy now looks like this:<br />

aviva@RouterG# show<br />

policy-statement export-statics {<br />

term 1 {<br />

from protocol static;<br />

then {<br />

metric 500;<br />

accept;<br />

}<br />

}<br />

}<br />

Looking in the IS-IS link-state database shows that the metric value has changed<br />

from 0:<br />

aviva@RouterG> show isis database extensive<br />

IS-IS level 1 link-state database:<br />

RouterG.00-00 Sequence: 0xe5, Checksum: 0x912c, Lifetime: 492 secs<br />

IP prefix: 10.0.1.0/24 Metric: 10 Internal Up<br />

IP prefix: 10.0.16.0/24 Metric: 10 Internal Up<br />

IP prefix: 192.168.12.1/32 Metric: 63 External Up<br />

IP prefix: 192.168.19.1/32 Metric: 0 Internal Up<br />

It’s true that the metric has changed, but instead of being 500, it’s 63. Looking in the<br />

routing table on the neighboring router shows that it has learned the static route:<br />

aviva@RouterA> show route<br />

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

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

192.168.12.1/32 *[IS-IS/160] 00:14:56, metric 73<br />

> via se-0/0/3.0<br />

370 | Chapter 11: IS-IS<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!