Configuring IP Unicast Routing
Configuring OSPF
Command
14.
show ip ospf interface
[interface-name]
15.
show ip ospf neighbor detail
16.
copy running-config startup-config
Use the no form of these commands to remove the configured parameter value or return to the default value.
EXAMPLE
The following example specifies a cost of 65 and sets the interval between link-state advertisement (LSA)
retransmissions to 1 second:
Switch# configure terminal
Switch(config)# interface GigabitEthernet 0/0
Switch(config-if)# ip ospf cost 65
Switch(config-if)# ip ospf retransmit-interval 1
Switch(config-if)# end
Configuring OSPF Network Types
OSPF classifies different media into the three types of networks by default:
Broadcast networks (Ethernet, Token Ring, and FDDI)
Nonbroadcast multiaccess (NBMA) networks (Switched Multimegabit Data Service [SMDS], Frame Relay, and X.25)
Point-to-point networks (High-Level Data Link Control [HDLC], PPP)
You can also configure network interfaces as either a broadcast or an NBMA network and as point-to point or
point-to-multipoint, regardless of the default media type.
Configuring OSPF for Nonbroadcast Networks
Because many routers might be attached to an OSPF network, a designated router is selected for the network. If
broadcast capability is not configured in the network, the designated router selection requires special configuration
parameters. You need to configure these parameters only for devices that are eligible to become the designated router
or backup designated router (in other words, routers with a nonzero router priority value).
BEFORE YOU BEGIN
Complete the OSPF network strategy and planning for your network.
Purpose
Display OSPF-related interface information.
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.
(Optional) Save your entries in the configuration file.
829