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.

When you are looking at the configuration contents, pipe the output to hide the<br />

passwords:<br />

[edit]<br />

aviva@RouterG# show protocols ospf | except SECRET-DATA<br />

area 0.0.0.0 {<br />

authentication-type md5;<br />

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

authentication {<br />

}<br />

}<br />

interface fe-1/0/1.0 {<br />

authentication {<br />

}<br />

}<br />

}<br />

You can do the same thing in operational mode:<br />

aviva@RouterG> show configuration protocols ospf | except SECRET-DATA<br />

area 0.0.0.0 {<br />

authentication-type md5;<br />

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

authentication {<br />

}<br />

}<br />

interface fe-1/0/1.0 {<br />

authentication {<br />

}<br />

}<br />

}<br />

As part of your security measures, you may, from time to time, want to transition<br />

from using one MD5 key to another. You can do this by configuring multiple MD5<br />

keys, each with a unique key ID, and setting the date and time to switch to the new<br />

key. Here, the new keys take effect at 12:01 a.m. on the first day of the month for the<br />

next several months:<br />

[edit protocols ospf area 0.0.0.0]<br />

aviva@RouterG# set interface fe-0/0/1 authentication md5 1 key $1991poPPi<br />

aviva@RouterG# set interface fe-0/0/1 authentication md5 2 key NeWpsswdFEB start-time<br />

2006-02-01.00:01<br />

aviva@RouterG# set interface fe-0/0/1 authentication md5 3 key NeWpsswdMAR start-time<br />

2006-03-01.00:01<br />

aviva@RouterG# set interface fe-0/0/1 authentication md5 4 key NeWpsswdAPR start-time<br />

2006-04-01.00:01<br />

The start time specifies the time at which the router starts using the MD5 key for<br />

transmission. When receiving packets, the router accepts packets with any MD5 key<br />

as long as the key ID specified in the packet corresponds to a currently configured<br />

key, regardless of the key’s start time.<br />

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