User`s manual

>ip ospf authentication-key <ip_address> <authKey>
The same authentication key applied to the interface is used for the area. To password protect an area,
type this command:
>area authentication <area_id>
Example:
ip ospf authentication-key
192.23.3.23
mypasswd
ip ospf authentication-key 192.48.5.6 mypasswd
area authentication 0.0.0.1
One of the benefits of OSPF areas is that groups of networks within areas can be shown, or summarized,
with a single entry in the routing table of another ABR. This decreases the size of databases, routing
tables and the amount of routing traffic on the network.
To consolidate and summarize routes for all networks in an area identified by an area_id, type:
>area <area_id> range <address>/mask
<address> is the portion of an IP address that represents a group of networks mask is the number of
significant bits. For example, 255.0.0.0 is /8, 255.255.0.0 is /16
8.
Specify directly connected networks whose routing interfaces are to receive OSPF updates from this
switch by typing:
>ip ospf enable <ip_address>
9.
OSPF Configuration Example
>router ospf
>area create 0.0.0.1
>area create 0.0.0.2
>area create 0.0.0.3
>area 0.0.0.2 stub
>network 192.23.3.12 area 0.0.0.1
>network 192.23.6.16 area 0.0.0.2
>network 192.23.9.24 area 0.0.0.3
>ip ospf cost 192.23.3.12 10
>ip ospf cost 192.23.6.16 20
>ip ospf cost 192.23.9.24 30
>ip ospf priority 192.23.3.12 0
>ip ospf priority 192.23.6.16 5
>ip ospf priority 192.23.9.24 9
>ip ospf authentication-key 192.23.3.12 mypass
>ip ospf authentication-key 192.23.6.16 mypass
>ip ospf authentication-key 192.23.9.24 mypass
>area authentication 0.0.0.1
>area authentication 0.0.0.2
>area 0.0.0.1 range 192.23.3.12/28
>ip ospf enable 192.23.3.12
85