Layer 3 Routing Commands 1658ip ospf authenticationUse the ip ospf authentication command in the Interface Configurationmode to set the OSPF Authentication Type and Key for the specifiedinterface. Use the no form of the command to return the authentication typeto the default value.Syntaxip ospf authentication {none | {simple key} | {encrypt key key-id}}no ip ospf authentication• encrypt — MD5 encrypted authentication key.• key — Authentication key for the specified interface. (Range: 8 bytes orless if the authentication type is simple and 16 bytes or less if the type isencrypt.)• key-id — Authentication key identifier for the authentication typeencrypt. (Range: 0–25)Default ConfigurationThis command has no default configuration.Command ModeInterface Configuration (VLAN) mode.User GuidelinesUnauthenticated interfaces do not need an authentication key orauthentication key ID.ExampleThe following example sets the OSPF Authentication Type and Key for VLAN15.console(config-if-vlan15)#ip ospf authentication encrypt test123 100