DGS-6604
ip ospf authentication-key
CLI Reference Guide
287
ip ospf authentication-key
Use this command to specify an OSPF authentication password for the
neighboring routers. Use the no form of this command to remove an OSPF
authentication password.
ip ospf authentication-key
PASSWORD
no ip ospf authentication-key
Default
None
Command Mode
Interface configuration
Usage Guideline
This command creates a password (key) that is inserted into the OSPF header
when the router originates routing protocol packets. Assign a separate password
to each network for different interfaces. All neighboring routers on the same
network with the same password exchange OSPF routing data.
Use the ip ospf authentication command to enable authentication. Simple
password authentication allows a password to be configured for each interface.
Configure the routers in the same routing domain with the same password.
Example
In the following example, an authentication key test is created on interface VLAN
1 in area 0. Note that first authentication is enabled for area 0.
Verify the settings by entering the
show ip ospf interface
command
Syntax Description
PASSWORD
Specifies the authentication password. Any continuous string of characters that
can be entered from the keyboard up to 8 bytes in length. The syntax is a
general string that does not allow spaces.
Switch# configure terminal
Switch(config)# interface vlan1
Switch(config-if)# ip ospf authentication-key test
Switch(config-if)# ip ospf authentication
Summary of Contents for DGS-6600-48TS
Page 1: ...0 9 3...