Chapter 38 Configuring IP Unicast Routing

Configuring OSPF

 

Command

Purpose

Step 3

 

 

ip ospf cost

(Optional) Explicitly specify the cost of sending a packet on the

 

 

interface.

Step 4

 

 

ip ospf retransmit-interval seconds

(Optional) Specify the number of seconds between link state

 

 

advertisement transmissions. The range is 1 to 65535 seconds. The

 

 

default is 5 seconds.

Step 5

 

 

ip ospf transmit-delay seconds

(Optional) Set the estimated number of seconds to wait before

 

 

sending a link state update packet. The range is 1 to 65535 seconds.

 

 

The default is 1 second.

Step 6

 

 

ip ospf priority number

(Optional) Set priority to help find the OSPF designated router for a

 

 

network. The range is from 0 to 255. The default is 1.

Step 7

 

 

ip ospf hello-interval seconds

(Optional) Set the number of seconds between hello packets sent on

 

 

an OSPF interface. The value must be the same for all nodes on a

 

 

network. The range is 1 to 65535 seconds. The default is 10 seconds.

Step 8

 

 

ip ospf dead-interval seconds

(Optional) Set the number of seconds after the last device hello

 

 

packet was seen before its neighbors declare the OSPF router to be

 

 

down. The value must be the same for all nodes on a network. The

 

 

range is 1 to 65535 seconds. The default is 4 times the hello interval.

Step 9

 

 

ip ospf authentication-key key

(Optional) Assign a password to be used by neighboring OSPF

 

 

routers. The password can be any string of keyboard-entered

 

 

characters up to 8 bytes in length. All neighboring routers on the

 

 

same network must have the same password to exchange OSPF

 

 

information.

Step 10

 

 

ip ospf message digest-key keyid md5 key

(Optional) Enable MDS authentication.

 

 

keyid—An identifier from 1 to 255.

 

 

key—An alphanumeric password of up to 16 bytes.

Step 11

 

 

ip ospf database-filter all out

(Optional) Block flooding of OSPF LSA packets to the interface. By

 

 

default, OSPF floods new LSAs over all interfaces in the same area,

 

 

except the interface on which the LSA arrives.

Step 12

 

 

end

Return to privileged EXEC mode.

Step 13

 

 

show ip ospf interface [interface-name]

Display OSPF-related interface information.

Step 14

 

 

show ip ospf neighbor detail

Display NSF awareness status of neighbor switch. The output

 

 

matches one of these examples:

 

 

Options is 0x52

 

 

LLS Options is 0x1 (LR)

 

 

When both of these lines appear, the neighbor switch is NSF

 

 

aware.

 

 

Options is 0x42—This means the neighbor switch is not NSF

 

 

aware.

Step 15

 

 

copy running-config startup-config

(Optional) Save your entries in the configuration file.

 

 

 

Use the no form of these commands to remove the configured parameter value or return to the default value.

 

Catalyst 3750-E and 3560-E Switch Software Configuration Guide

38-30

OL-9775-02

Page 890
Image 890
Cisco Systems 3750E manual 38-30