
Purpose
Command or Action
• The
database-filter
keyword filters outgoing LSAs
to an OSPF neighbor. If you specify the
all
keyword,
incoming and outgoing LSAs are filtered. Use with
extreme caution since filtering may cause the routing
topology to be seen as entirely different between two
neighbors, resulting in black-holing or routing loops.
—
Repeat Step 13 for all neighbors on the interface.
Step 14
commit
Step 15
Configuring Authentication at Different Hierarchical Levels for OSPF Version
2
This task explains how to configure MD5 (secure) authentication on the OSPF router process, configure one
area with plain text authentication, and then apply one interface with clear text (null) authentication.
Authentication configured at the interface level overrides authentication configured at the area level and the
router process level. If an interface does not have authentication specifically configured, the interface inherits
the authentication parameter value from a higher hierarchical level. See
for more information about hierarchy and inheritance.
Note
Before you begin
If you choose to configure authentication, you must first decide whether to configure plain text or MD5
authentication, and whether the authentication applies to all interfaces in a process, an entire area, or specific
interfaces. See
Route Authentication Methods for OSPF, on page 264
for information about each type of
authentication and when you should use a specific method for your network.
SUMMARY STEPS
1.
configure
2.
router ospf process-name
3.
router-id
{
router-id
}
4.
authentication
[
message-digest
|
null
]
5.
message-digest-key
key-id md5
{
key
|
clear key
|
encrypted key
|
LINE
}
6.
area area-id
7.
interface type interface-path-id
8.
Repeat Step 7 for each interface that must communicate, using the same authentication.
9.
exit
10.
area area-id
11.
authentication
[
message-digest
|
null
]
12.
interface type interface-path-id
13.
Repeat Step 12 for each interface that must communicate, using the same authentication.
Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x
288
Implementing OSPF
Configuring Authentication at Different Hierarchical Levels for OSPF Version 2