DGS-3620 m/ mSW Rls. 1.02.000
11-12 ip ospf authentication
ip ospf authentication [{message-digest | null}]
no ip ospf authentication
Syntax Description
message-digest
null
Default
Command Mode
Usage Guideline
Example
Switch# configure terminal
Switch(config)# interface vlan 1
Switch(config-if)# ip ospf authentication
Switch(config-if)# ip ospf authentication-key yourpass
Switch(config)# interface vlan 1
Switch(config-if)# ip ospf authentication message-digest
Switch(config-if)# ip ospf message-digest-key 10 md5 yourpass
Switch# configure terminal
Switch(config)# interface vlan 1
Switch(config-if)# ip ospf authentication null
CLI Reference Guide
Use this command to configure the authentication type for an OSPF interface.
Use the no command to restore to default value.
(Optional) Specifies to use the MD5 authentication.
(Optional) No authentication is used.
By default no authentication is configured.
Interface configuration mode
The authentication type can be simple password authentication or MD5
authentication.
Use no ip ospf authentication or ip ospf authentication null command to remove
the authentication.
Users can verify the settings by entering the show ip ospf interface command.
To set the System interface (vlan 1) authentication type to simple password:
To set the System interface (vlan 1) authentication type to MD5:
To remove the authentication on System interface (vlan 1):
or:
ip ospf authentication
335