Command Reference
OSPFv2 Commands
2.2 area authentication
Use this command to enable OSPF area authentication. Use the
no
form of this command to restore
the default setting.
area
area-id
authentication
[
message-digest
]
no area
area-id
authentication
Parameter
Description
Parameter
Description
area-id
Specifies ID of the area enabled with OSPF. The value can be a
decimal integer or an IP address.
message-digest
(Optional) Enables MD5 (message digest 5) authentication mode.
Defaults
No authentication is enabled by default.
Command
Mode
Routing process configuration mode
Usage Guide
The RGOS software supports three authentication types:
1) 0, no authentication. The authentication type in the OSPF packet is 0when this command is not
executed to enable OSPF authentication. 2) 1, plain text authentication mode. When this command is
configured, the message-digest option is not used.3) 2, MD5 authentication mode. When this
command is configured, the message-digest option is used.
All devices in the same OSPF area must use the same authentication type. If authentication is
enabled, the authentication password must be configured on an interface connecting neighbors. You
can use the
ip ospf authentication-key
command to configure the plain text authentication
password, and the
ip ospf message-digest-key
command to configure the MD5 authentication
password in interface configuration mode.
Configuration
Examples
The following example uses MD5 authentication and the authentication password backbone in area 0
(backbone area) of the OSPF routing process.
Ruijie(config)# interface fastEthernet 0/1
Ruijie(config-if-FastEthernet 0/1)# ip address 192.168.12.1 255.255.255.0
Ruijie(config-if-FastEthernet 0/1)# ip ospf message-digest-key 1 md5 backbone
Ruijie(config)# router ospf 1
Ruijie(config-router)# network 192.168.12.0 0.0.0.255 area 0
Ruijie(config-router)# area 0 authentication message-digest
Related
Commands
Command
Description
ip ospf authentication-key
Defines the OSPF plain text authentication
password.
ip ospf message-digest-key
Defines the OSPF MD5 authentication
password.
Summary of Contents for RG-S29 Series
Page 1: ...RG S29 Series Switch RGOS Command Reference Release 11 4 1 B12...
Page 10: ...Command Reference Command Line Interface Commands Platform Description N A...
Page 93: ...Command Reference Line Commands Description...
Page 248: ...Command Reference PKG_MGMT Commands...
Page 332: ...Command Reference Protocol VLAN Commands Commands N A N A Platform Description...
Page 350: ...Command Reference Voice VLAN Commands Description...
Page 430: ...Command Reference LLDP Commands Description...
Page 467: ...Command Reference ERPS Commands Commands N A N A Platform Description N A...
Page 541: ...Command Reference IPv6 Commands Platform Description N A...
Page 914: ...Multicast Commands 1 IPv4 Multicast Routing Commands 2 IGMP Snooping Commands...
Page 1092: ...Configuration Guide SCC Commands Platforms N A...
Page 1196: ...Configuration Guide IPv6 Source Guard Commands Platform Description N A...
Page 1290: ...ACL QoS Configuration Commands 1 ACL Commands 2 QoS Commands...