Microsoft ES4612 User Manual

Page of 666
Command Line Interface
4-272
4
Example
This example creates a virtual link using the defaults for all optional parameters.
This example creates a virtual link using MD5 authentication.
Related Commands
ip ospf authentication
This command specifies the authentication type used for an interface. Enter this 
command without any optional parameters to specify plain text (or simple password) 
authentication. Use the no form to restore the default of no authentication.
Syntax 
ip ospf authentication [message-digest | null]
no ip ospf authentication
• message-digest - Specifies message-digest (MD5) authentication.
• null - Indicates that no authentication is used.
Command Mode 
Interface Configuration (VLAN)
Default Setting 
No authentication
Command Usage 
• Before specifying plain-text password authentication for an interface, 
configure a password with the ip ospf authentication-key command. Before 
specifying MD5 authentication for an interface, configure the message-digest 
key-id and key with the ip ospf message-digest-key command.
• The plain-text authentication-key, or the MD5 key-id and key, must be used 
consistently throughout the autonomous system.
Example
This example enables message-digest authentication for the specified interface.
Console(config-router)#network 10.4.0.0 0.255.255.0.0 area 10.4.0.0
Console(config-router)#area 10.4.0.0 virtual-link 10.4.3.254
Console(config-router)#
Console(config-router)#network 10.4.0.0 0.255.255.0.0 area 10.4.0.0
Console(config-router)#area 10.4.0.0 virtual-link 10.4.3.254 
message-digest-key 5 md5 ld83jdpq
Console(config-router)#
Console(config)#interface vlan 1
Console(config-if)#ip ospf authentication message-digest
Console(config-if)#