Chapter 7: Second Level Commands June 30, 2006
7-60 SG1-UM-8500-03
Parameter(s)
<simple-pass | message-digest | null>
This is the authentication type specified for neighboring OSPF routers. Options include:
simple-pass–using simple password authentication; to configure see “Using the ip ospf interface authentica-
tion-key command” on page 7-60.
message-digest–using Message Digest 5 (MD5) authentication; to configure see “Using the ip ospf interface
message-digest-key command” on page 7-61.
null–no authentication. (Note: If no value is keyed in, the system assumes the default value, which is null).
For additional parameters, refer to “Using the ip igmp proxy command” on page7-51.
Example(s)
Using the ip ospf interface authentication-key command
This command configures the password to be used by neighboring OSPF routers on a network segment that is
using the OSPF simple password authentication.
Usage
ip ospf interface <Ethernet | VLAN | ATM> <slot number>\<port number>
[\<sub-interface>] authentication-key <key>
Parameter(s)
<key>
The password used by neighboring OSPF routers for simple password authentication (password is 1 to 16
alpha-numeric characters).
For additional parameters, refer to “Using the ip igmp proxy command” on page7-51.
Example(s)
Using the no ip ospf interface authentication-key command
On a network segment using the OSPF simple password authentication, this command sets the password used by
neighboring OSPF routers to its default value.
Host(config)# ip ospf interface Ethernet 1 \ 2 authentication simple-pass
Host(config)# ip ospf interface Ethernet 1 \ 2 authentication message-digest
Host(config)# ip ospf interface Ethernet 1 \ 2 authentication null
Host(config)# ip ospf interface ... authentication-key
Host(config)# ip ospf interface Ethernet 0 \ 1 authentication-key jkljlll
Host(config)# ip ospf interface ATM 2 \ 1 \ 44 authentication-key wqweqrr
Host(config)# ip ospf interface VLAN 1 \ 1 \ 44 authentication-key jkjkjk
Host(config)# no ip ospf interface ... authentication-key