48
rip authentication-mode
Use
rip authentication-mode
to configure RIPv2 authentication.
Use
undo rip authentication-mode
to cancel RIPv2 authentication.
Syntax
rip authentication-mode
{
md5
{
rfc2082
{
cipher
cipher-string
|
plain
plain-string
}
key-id
|
rfc2453
{
cipher
cipher-string
|
plain
plain-string
} } |
simple
{
cipher
cipher-string
|
plain
plain-string
}
}
undo rip authentication-mode
Default
RIPv2 authentication is not configured.
Views
Interface view
Predefined user roles
network-admin
Parameters
md5
: Specifies the MD5 authentication.
rfc2082
: Uses the message format defined in RFC 2082.
cipher
: Sets a ciphertext key.
cipher-string
: Specifies a ciphertext key, a case-sensitive string of 33 to 53 characters.
plain
: Sets a plaintext key.
plain-string
: Specifies a plaintext key, a case-sensitive string of 1 to 16 characters.
key-id
: Specifies the RFC 2082 MD5 key ID in the range of 1 to 255.
rfc2453
: Uses the message format defined in RFC 2453 (IETF standard).
simple
: Specifies the simple authentication mode.
Usage guidelines
A newly configured key overwrites the old one, if any.
Although you can specify an authentication mode for RIPv1 in interface view, the configuration does not
take effect because RIPv1 does not support authentication.
For secrecy, all keys, including keys configured in plain text, are saved in cipher text.
Examples
# Configure MD5 authentication on VLAN-interface 10 and specify a plaintext key
rose
in the format
defined in RFC 2453.
<Sysname> system-view
[Sysname] interface vlan-interface 10
[Sysname-Vlan-interface10] rip version 2
[Sysname-Vlan-interface10] rip authentication-mode md5 rfc2453 plain rose
Related commands
rip version