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.

elieving that it is overloaded and can’t handle any more OSPF transit traffic, and<br />

the result is that OSPF transit traffic is sent to other routers. OSPF traffic destined to<br />

interfaces directly attached to the local router continues to reach the router.<br />

To check that the OSPF traffic has moved off the router, use show interfaces commands<br />

to verify that traffic has moved off the upstream interfaces. The detail and<br />

extensive versions of this command report traffic statistics for most interface types.<br />

If the router is part of an LSP, use the show mpls lsp transit command to verify that<br />

transit LSPs have moved off the router.<br />

12.14 Disabling OSPF on an Interface<br />

Problem<br />

You want to temporarily turn off OSPF on an interface.<br />

Solution<br />

Disable OSPF on the interface:<br />

[edit protocols ospf]<br />

aviva@RouterG# set area 0.0.0.0 interface fe-0/0/1.0 disable<br />

To start OSPF again, remove the disable statement from the configuration:<br />

[edit protocols ospf]<br />

aviva@RouterG# delete area 0.0.0.0 interface fe-0/0/1.0 disable<br />

aviva@RouterG# commit<br />

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

To remove an interface from the OSPF network, you can disable it. Because you are<br />

removing the interface only temporarily, you don’t want to remove the configuration<br />

statements entirely. You see that the adjacency to that interface’s neighbor is no<br />

longer listed:<br />

aviva@RouterG> show ospf neighbor<br />

Address Interface State ID Pri Dead<br />

10.0.0.2 fe-1/0/1.0 Full 192.168.17.1 128 32<br />

Also, the metric to that neighbor has increased from 1 to 2 because the neighbor is<br />

no longer directly connected, and that traffic is being directed out the router’s only<br />

active OSPF interface, fe-1/0/1:<br />

aviva@RouterG> show route table inet.0 show route table inet.0 192.168.18.1<br />

192.168.18.1/32 *[OSPF/10] 00:00:45, metric 2<br />

> to 10.0.0.2 via fe-1/0/1.0<br />

Another way to disable OSPF on an interface is with the deactivate command:<br />

[edit protocols ospf]<br />

aviva@RouterG# deactivate area 0.0.0.0 interface fe-0/0/1.0<br />

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