Cisco CCNP / BSCI Exam Tutorial: RIP Update Packet Authentication

When you earned your CCNA, you thought you learned everything there is to know about . Close, but not quite! There are some additional details you need to know to the and get one step closer to the , and one of those involves update .

You’re familiar with some advantages of using RIPv2 over RIPv1, support for VLSM chief among them. But one advantage that you’re not introduced to in your studies is the ability to configure routing update .

You have two options, clear text and MD5. Clear text is just that – a clear text password that is visible by anyone who can pick a off the wire. If you’re going to go to the trouble of configuring update , you should use MD5. The MD stands for “Message Digest”, and this is the that produces the hash value for the password that will be contained in the update packets.

Not only must the agree on the password, they must agree on the method. If one sends an MD5-hashed password to another that is configured for clear-text , the update will not be accepted. debug ip is a great for troubleshooting authenticated updates.

R1, , and R3 are running over a cloud. Here is how would be configured on these three .

R1#conf t

R1(config)#key chain

< The key chain can have any name. >

R1(config-)#key 1

< Key chains can have multiple keys. Number them carefully when using multiples. >

R1(config--key)#key-string CISCO

< This is the text string the key will use for . >

R1(config)#int s0

R1(config-if)#ip mode text

< The will use clear-text mode. >

R1(config-if)#ip key-chain

< The is using key chain , configured earlier. >

#conf t

(config)#key chain

(config-)#key 1

(config--key)#key-string CISCO

(config)#int s0.123

(config-subif)#ip mode text

(config-subif)#ip key-chain

R3#conf t

R3(config)#key chain

R3(config-)#key 1

R3(config--key)#key-string CISCO

R3(config)#int s0.31

R3(config-subif)#ip mode text

R3(config-subif)#ip key-chain

To use MD5 rather than clear-text, simply replace the word “text” in the ip mode with md5.

Here’s what a successfully RIPv2 looks like, courtesy of debug ip . Clear-text is in effect and the password is “cisco”.

3d04h: : received with text cisco

3d04h: : received v2 update from 150.1.1.3 on Ethernet0

3d04h: 100.0.0.0/8 via 0.0.0.0 in 1 hops

3d04h: 150.1.2.0/24 via 0.0.0.0 in 1 hops

Here’s what it looks like when the remote device is set for MD5 and the local is set for clear-text. You’ll also see this message if the password itself is incorrect.

3d04h: : ignored v2 from 150.1.1.3 (invalid )

“Debug ip ” may be a simple as compared to the debugs for other protocols. but it’s also a very powerful debug. Start using debugs as early as possible in your Cisco studies to learn how commands really work!

Related posts

Tags: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

Leave a Reply