To configure the deadline of an MD5 authentiction key for OSPF packets, use the set protocols ospf4 area interface vif address authentication md5 end-time command in L2/L3 configuration mode.

Command Syntax

set protocols ospf4 vrf vrf-name area area-id interface interface-name vif vif-name address ip-address authentication md5 key-id end-time time

Parameters

vrf-name

Optional. Specifies a VRF name. The value is a string. It’s a user-defined VRF set by the command set ip vrf <vrf-name> [description <string>].

Note that: The configuration is in the default VRF if not explicitly bound to any VRF.

area-idOSPF area identifier.
interface-nameInterface name.
vif-nameVirtual interface name.
ip-address

Virtual interface IP address used for OSPF.

key-idMD5 authentication key identifier. The range is 0-255.
timeExpiry time for the MD5 authentication key. The format is YYYY-MM-DD.HH:MM.

Example

This example configures the end time for MD5 authentication of OSPF packets using the key ID 1.

admin@Switch# set protocols ospf4 area 0.0.0.0 interface vlan2 vif vlan2 address 10.2.2.1 authentication md5 1 end-time 2015-10-18.23:24