Command Reference
OSPFv2 Commands
mode. Use the
no
form of this command to restore the default setting.
ip ospf authentication-key
[
0 | 7
]
key
no ip ospf authentication-key
Parameter
Description
Parameter
Description
0
Displays the key in plain text.
7
Displays the key in cipher text.
key
Key containing at most eight characters.
Defaults
It is disabled by default.
Command
Mode
Interface configuration mode
Usage Guide
The
ip ospf authentication-key
command configures the key that will be inserted in all OSPF packet
headers. As a result, if the keys are inconsistent, the OSPF neighbor relationship cannot be
established between two devices directly connected, and thus route information exchange is
impossible.
The keys may vary by interface, but the devices that are connected to the same physical network
segment must use the same key.
To enable the OSPF area authentication, execute the area authentication command in routing
process configuration mode.
The authentication can be enabled separately on an interface by executing the ip ospf authentication
command in interface configuration mode. When both the interface and the area are configured with
authentication, the one for the interface takes precedence.
Configuration
Examples
The following example configures the OSPF authentication key ospfauth for fast Ethernet
0/1
.
Ruijie (config)#interfacefastEthernet0/1
Ruijie(config-if-FastEthernet 0/1)# ipaddress
172.16.1.1
255.255.255.0
Ruijie(config-if-FastEthernet 0/1)# ip ospf authentication-key ospfauth
Related
Commands
Command
Description
area authentication
Enables OSPF area authentication and defines
authentication mode
ip ospf authentication
Enables authentication on the interface and
defines authentication mode
Platform
Description
N/A
Содержание RG-S29 Series
Страница 1: ...RG S29 Series Switch RGOS Command Reference Release 11 4 1 B12...
Страница 10: ...Command Reference Command Line Interface Commands Platform Description N A...
Страница 93: ...Command Reference Line Commands Description...
Страница 236: ...Command Reference PoE Management Commands Related Commands Command Description N A N A Platform Description N A...
Страница 248: ...Command Reference PKG_MGMT Commands...
Страница 332: ...Command Reference Protocol VLAN Commands Commands N A N A Platform Description...
Страница 350: ...Command Reference Voice VLAN Commands Description...
Страница 430: ...Command Reference LLDP Commands Description...
Страница 467: ...Command Reference ERPS Commands Commands N A N A Platform Description N A...
Страница 541: ...Command Reference IPv6 Commands Platform Description N A...
Страница 858: ...Command Reference NSM Commands Description N A N A Defaults N A Command Mode Privileged EXEC mode Usage guideline N A...
Страница 914: ...Multicast Commands 1 IPv4 Multicast Routing Commands 2 IGMP Snooping Commands...
Страница 1092: ...Configuration Guide SCC Commands Platforms N A...
Страница 1196: ...Configuration Guide IPv6 Source Guard Commands Platform Description N A...
Страница 1290: ...ACL QoS Configuration Commands 1 ACL Commands 2 QoS Commands...