Chapter 50
| IP Routing Commands
Open Shortest Path First (OSPFv2)
– 1026 –
Command Mode
Interface Configuration (VLAN)
Default Setting
10 seconds
Command Usage
Hello packets are used to inform other routers that the sending router is still active.
Setting the hello interval to a smaller value can reduce the delay in detecting
topological changes, but will increase routing traffic.
Example
Console(config)#interface vlan 1
Console(config-if)#ip ospf hello-interval 5
Console(config-if)#
ip ospf
message-digest-key
This command enables message-digest (MD5) authentication on the specified
interface and assigns a key-id and key to be used by neighboring routers. Use the
no form to remove an existing key.
Syntax
ip ospf [ip-address] message-digest-key key-id md5 key
no ip ospf [ip-address] message-digest-key key-id
ip-address - This parameter can be used to indicate a specific IP address
connected to the current interface. If not specified, the command applies
to all networks connected to the current interface.
key-id - Index number of an MD5 key. (Range: 0-255)
key - Alphanumeric password used to generate a 128 bit message digest or
“fingerprint.” (Range: 1-16 characters)
Command Mode
Interface Configuration (VLAN)
Default Setting
MD5 authentication is disabled.
Command Usage
◆ Before specifying MD5 authentication for an interface with the ip ospf
authentication command, configure the message-digest key-id and key with
this command.
◆ Normally, only one key is used per interface to generate authentication
information for outbound packets and to authenticate incoming packets.
Neighbor routers must use the same key identifier and key value.