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.

On an M-series or a T-series router, the command looks like this:<br />

[edit protocols]<br />

aviva@router1# set pim interface fxp0 disable<br />

On a J-series router, use a command like this:<br />

[edit protocols]<br />

aviva@RouterA# set pim interface fe-0/0/0 disable<br />

The primary reason you want to turn off the protocol is because this is the management<br />

interface, and you most likely are not using any routing protocols on it. Disabling<br />

the protocol leaves you with a “clean” configuration, because you are<br />

configuring only the functionality that you actually want the router to use. If you<br />

choose not to disable the protocol on the management interface, routing protocols<br />

may establish adjacencies to the fxp0 or fe-0/0/0 interface, but there is no negative<br />

impact on the performance of the Routing Engine.<br />

7.12 Finding Out What IP Addresses Are Used on the<br />

Router<br />

Problem<br />

You want to find out the IP addresses assigned to router interfaces.<br />

Solution<br />

Use the following command to find out what IP addresses have been assigned on the<br />

router:<br />

aviva@RouterB> show interfaces terse<br />

Interface Admin Link Proto Local Remote<br />

fe-0/0/0 up up<br />

fe-0/0/0.0 up up inet 10.0.24.2/24<br />

gr-0/0/0 up up<br />

ip-0/0/0 up up<br />

ls-0/0/0 up up<br />

lt-0/0/0 up up<br />

mt-0/0/0 up up<br />

pd-0/0/0 up up<br />

pe-0/0/0 up up<br />

sp-0/0/0 up up<br />

sp-0/0/0.16383 up up inet<br />

fe-0/0/1 up up<br />

fe-0/0/1.0 up up inet 10.0.29.2/24<br />

t1-0/0/2 up up<br />

t1-0/0/2.0 up down inet 10.0.31.1/24<br />

t1-0/0/3 up down<br />

dsc up up<br />

gre up up<br />

ipip up up<br />

Finding Out What IP Addresses Are Used on the Router | 215<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!