# Defining MD5 keys for OSPF interfaces

Use the following procedure to configure OSPF MD5 keys for OSPF interfaces.

## Prerequisites

- Install the Advanced License.

- Enable IP routing globally on the switch.

- Assign an IP address to the VLAN that you want to enable with OSPF.

  Routing is automatically enabled on the VLAN when you assign an IP address to it.

## Procedure steps

1. From the navigation tree, double-click IP Routing.

2. In the IP Routing tree, double-click OSPF.

3. In the work area, click the Message Digest tab.

4. In the toolbar, click Insert.

5. Using the fields provided, create the new digest entry.

6. Click Insert.

## Variable definitions

The following table describes the fields of the Message Digest tab.

Field | Description
--- | ---
IpAddress | Specifies the IP address of the OSPF interface associated with the digest entry.
Index | Specifies an index value for the digest entry. This field is an integer value between 1 and 255.
Type | Specifies the type of digest entry. Only MD5 is supported.
Key | Specifies the key value associated with the digest entry.