# Lab 8-1B: Add OSPF Authenication

### Summary

During this lab we added OSPF Authentication to the framework from the lab [Lab 8-1B OSPF PT Activity](https://paul-gleason.gitbook.io/net-330-network-design/labs/lab-8-1b-ospf-pt-activity)

### Steps

#### Border Router: Network 1

```
enable 
config t 
interface GigabitEthernet 0/0 
ip ospf message-digest-key 1 md5 testing 
ip ospf authentication message-digest
```

#### East Router: Network 2

```
enable 
config t 
interface GigabitEthernet 0/0 
ip ospf message-digest-key 1 md5 testing 
ip ospf authentication message-digest
```

#### Data Center: Network 3

```
enable 
config t 
interface GigabitEthernet 0/0 
ip ospf message-digest-key 1 md5 testing 
ip ospf authentication message-digest 
exit
interface GigabitEthernet 0/1 
ip ospf message-digest-key 1 md5 testing 
ip ospf authentication message-digest 
exit
interface GigabitEthernet 0/2 
ip ospf message-digest-key 1 md5 testing 
ip ospf authentication message-digest
```

#### West Router: Network 4

```
enable 
config t 
interface GigabitEthernet 0/0 
ip ospf message-digest-key 1 md5 testing 
ip ospf authentication message-digest
```

#### Tips and Tricks

If you run the command below it will show all ospf configuration on the specified interface

```
show ip ospf interface {interface} {interface #}
show ip ospf interface gigabitEthernet 0/0
```

<figure><img src="https://1767217326-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FGG1ypcCqcB1a4JSBwHti%2Fuploads%2F3dRjgdQd6dE81EyWmvVC%2Fimage.png?alt=media&#x26;token=628d05f8-3ef8-4afc-9e68-5ddb88e5b72e" alt=""><figcaption><p>command output</p></figcaption></figure>
