/
set protocols ospf interface authentication-key

set protocols ospf interface authentication-key


Run the command set protocols ospf interface authentication-key to set the authentication password that is used for simple-text authentication on the OSPF interface.
The command delete protocols ospf interface authentication-key deletes the OSPF interface authentication password that is used for simple-text authentication.

NOTE:

The command set protocols ospf interface <interface-name> authentication address <ipv4> is a mandatory configuration for setting the authentication address used for OSPF authentication.

 

Command Syntax

set protocols ospf interface <interface-nameaddress <ipv4> authentication-key <PASSWORD>

delete protocols ospf interface <interface-nameaddress <ipv4> authentication-key

 

Parameter

Parameter

Description

interface <interface-name>

Specifies the VLAN interface name, the loopback interface name, the routed interface or the sub-interface name.

address <ipv4>

Specifies an IPv4 address.

authentication-key <PASSWORD>

Specifies the password for simple-text authentication. The value is a string of 6 to 8 characters.

 

Example

  •  Configure OSPF authentication password on the interface address.

admin@XorPlus# set protocols ospf interface vlan200 address 10.10.114.1 authentication-key asjlfk admin@Xorplus# commit

 

Related content

Copyright © 2025 Pica8 Inc. All Rights Reserved.