beautypg.com

CANOGA PERKINS 9175 Configuration Guide User Manual

Page 110

background image

CanogaOS Configuration Guide

17-11

Figure 17-7: OSPF Authentication

Configurations
R1

DUT# configure terminal

Enter the Configure mode.

DUT(config)# router ospf 100

Configure the Routing process and specify the Process
ID (100). The Process ID should be a unique positive
integer identifying the routing process.

DUT(config-router)# network 10.10.10.0/24 area 0

DUT(config-router)# network 10.10.11.0/24 area 0

Define interfaces on which OSPF runs and associate the
area ID (0) with the interface (area ID 0 specifies the
backbone area).

DUT(config-router)# area 0 authentication
message-digest

Enable MD5 authentication on area 0.

DUT(config-router)# exit

Exit the Router mode and return to Configure mode.

DUT(config)# interface eth-0-1

Specify the interface (eth-0-1) to be configured.

DUT(config-if)# ip ospf message-digest-key 1 md5 test

Register MD5 key test for OSPF authentication. The
Key ID is 1.

DUT(config-if)# exit

Exit the Interface mode and return to Configure mode

DUT(config)# interface eth-0-2

Specify the interface (eth-0-2) to be configured.

DUT(config-if)# ip ospf authentication

Enable OSPF packet to use text authentication on the
current interface (eth-0-2).

DUT(config-if)# ip ospf authentication-key test

Specify an OSPF authentication password test for the
neighboring routers.


R2

DUT# configure terminal

Enter the Configure mode.

DUT(config)# router ospf 100

Configure the Routing process and specify the Process
ID (100). The Process ID should be a unique positive
integer identifying the routing process.