Technical information
Cuda 12000 IP Access Switch CLI Reference Guide
ip rip authentication 219
Arguments
Example 1
In this example, the user configures MD5 authentication:
cli:# ip rip authentication md5
cli:# ip rip authentication key-id 45 key my-secret-key
cli:#
md5 Specifies that the RIP interface uses MD5 authentication. MD5
authentication employs a shared secret key to generate a message digest,
which is a 128-bit checksum of the packet and key. When a router sends a
packet, it includes:
■ The message digest
■ A key ID that identifies the key that generated the message digest
At first, the receiving router accepts any packet that contains a key ID that
matches one of its own key IDs. Using this key ID, the receiving router
looks up the key. The receiving router uses the key associated with the
received key ID to replace the message digest in the packet and generates
a new message digest. If the generated message digest matches the
message digest in the received packet, then the router accepts the packet.
Otherwise, the router rejects the packet.
If you specify md5 as the authentication type, you must subsequently
specify the shared secret key with the key-id <id> key <key> argument.
password Specifies a simple password authentication method that includes a
password in all RIP messages. When an interface receives a message that
uses simple password authentication, the Cuda 12000 checks the
incoming RIP message to see if the password is included. If the password is
correct, the Cuda 12000 processes the message normally. If the password
is not part of the incoming message, the Cuda 12000 drops the message.
If you specify password as the authentication type, you must subsequently
specify the password with the key <key> argument.
key-id <id> key
<key>
Specifies the md5 key ID and shared secret key:
■ key-id <id> – An integer ranging from 1 to 255. This value identifies the
shared secret key.
■ key <key> – Specifies the key, which is a text string from 1 to 16
characters.
key <key> Specifies the simple password, which is a text string from 1 to 16
characters.