829
Configuring IP Unicast Routing
Configuring OSPF
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.
14.
show ip ospf interface
[
interface-name
]
Display OSPF-related interface information.
15.
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.
16.
copy running-config startup-config
(Optional) Save your entries in the configuration file.
Command
Purpose
Summary of Contents for IE 4000
Page 12: ...8 Configuration Overview Default Settings After Initial Switch Configuration ...
Page 52: ...48 Configuring Interfaces Monitoring and Maintaining the Interfaces ...
Page 108: ...104 Configuring Switch Clusters Additional References ...
Page 128: ...124 Performing Switch Administration Additional References ...
Page 130: ...126 Configuring PTP ...
Page 140: ...136 Configuring CIP Additional References ...
Page 146: ...142 Configuring SDM Templates Configuration Examples for Configuring SDM Templates ...
Page 192: ...188 Configuring Switch Based Authentication Additional References ...
Page 244: ...240 Configuring IEEE 802 1x Port Based Authentication Additional References ...
Page 298: ...294 Configuring VLANs Additional References ...
Page 336: ...332 Configuring STP Additional References ...
Page 408: ...404 Configuring DHCP Additional References ...
Page 450: ...446 Configuring IGMP Snooping and MVR Additional References ...
Page 490: ...486 Configuring SPAN and RSPAN Additional References ...
Page 502: ...498 Configuring Layer 2 NAT ...
Page 770: ...766 Configuring IPv6 MLD Snooping Related Documents ...
Page 930: ...926 Configuring IP Unicast Routing Related Documents ...
Page 976: ...972 Configuring Cisco IOS IP SLAs Operations Additional References ...
Page 978: ...974 Dying Gasp ...
Page 990: ...986 Configuring Enhanced Object Tracking Monitoring Enhanced Object Tracking ...
Page 994: ...990 Configuring MODBUS TCP Displaying MODBUS TCP Information ...
Page 996: ...992 Ethernet CFM ...
Page 1066: ...1062 Using an SD Card SD Card Alarms ...