835
Configuring IP Unicast Routing
Configuring OSPF
DETAILED STEPS
EXAMPLE
In the following example, the summary address 10.1.0.0 includes address 10.1.1.0, 10.1.2.0, 10.1.3.0, and so on. Only
the address 10.1.0.0 is advertised in an external link-state advertisement.
Command
Purpose
1.
configure terminal
Enter global configuration mode.
2.
router ospf
process-id
Enable OSPF routing, and enter router configuration mode.
3.
summary-address
address mask
(Optional) Specify an address and IP subnet mask for
redistributed routes so that only one summary route is
advertised.
4.
area
area-id
virtual-link
router-id
[
hello-interval
seconds
]
[
retransmit-interval
seconds
] [
trans
]
[[
authentication-key
key
]
|
message-digest-key
keyid
md5
key
]]
(Optional) Establish a virtual link and set its parameters. See
Configuring OSPF Interfaces, page 827
for parameter
definitions and the
Default OSPF Configuration, page 825
for virtual link defaults.
5.
default-information originate
[
always
] [
metric
metric-value
]
[
metric-type
type-value
] [
route-map
map-name
]
(Optional) Force the ASBR to generate a default route into
the OSPF routing domain. Parameters are all optional.
6.
ip ospf name-lookup
(Optional) Configure DNS name lookup. The default is
disabled.
7.
ip auto-cost reference-bandwidth
ref-bw
(Optional) Specify an address range for which a single route
will be advertised. Use this command only with area border
routers.
8.
distance ospf
{[
inter-area
dist1
]
[
inter-area
dist2
] [
external
dist3
]}
(Optional) Change the OSPF distance values. The default
distance for each type of route is 110. The range is 1 to 255.
9.
passive-interface
type number
(Optional) Suppress the sending of hello packets through the
specified interface.
10.
timers throttle spf
spf-delay
spf-holdtime spf-wait
(Optional) Configure route calculation timers.
spf-delay
—Delay between receiving a change to SPF
calculation. The range is from 1 to 600000 miliseconds.
spf-holdtim
e—Delay between first and second SPF
calculation. The range is form 1 to 600000 in
milliseconds.
spf-wait
—Maximum wait time in milliseconds for SPF
calculations. The range is from 1 to 600000 in
milliseconds.
11.
ospf log-adj-changes
(Optional) Send syslog message when a neighbor state
changes.
12.
end
Return to privileged EXEC mode.
13.
show ip ospf
[
process-id
[
area-id
]]
database
Display lists of information related to the OSPF database for
a specific router. For some of the keyword options, see
.
14.
copy running-config startup-config
(Optional) Save your entries in the configuration file.
Содержание IE 4000
Страница 12: ...8 Configuration Overview Default Settings After Initial Switch Configuration ...
Страница 52: ...48 Configuring Interfaces Monitoring and Maintaining the Interfaces ...
Страница 108: ...104 Configuring Switch Clusters Additional References ...
Страница 128: ...124 Performing Switch Administration Additional References ...
Страница 130: ...126 Configuring PTP ...
Страница 140: ...136 Configuring CIP Additional References ...
Страница 146: ...142 Configuring SDM Templates Configuration Examples for Configuring SDM Templates ...
Страница 192: ...188 Configuring Switch Based Authentication Additional References ...
Страница 244: ...240 Configuring IEEE 802 1x Port Based Authentication Additional References ...
Страница 274: ...270 Configuring SGT Exchange Protocol over TCP SXP and Layer 3 Transport Configuring Cisco TrustSec Caching ...
Страница 298: ...294 Configuring VLANs Additional References ...
Страница 336: ...332 Configuring STP Additional References ...
Страница 408: ...404 Configuring DHCP Additional References ...
Страница 450: ...446 Configuring IGMP Snooping and MVR Additional References ...
Страница 490: ...486 Configuring SPAN and RSPAN Additional References ...
Страница 502: ...498 Configuring Layer 2 NAT ...
Страница 559: ...555 Configuring Network Security with ACLs How to Configure Network Security with ACLs Creating a Numbered Extended ACL ...
Страница 770: ...766 Configuring IPv6 MLD Snooping Related Documents ...
Страница 930: ...926 Configuring IP Unicast Routing Related Documents ...
Страница 956: ...952 Configuring IPv6 Unicast Routing Configuring IPv6 network 2010 AB8 2 48 network 2010 AB8 3 48 exit address family ...
Страница 976: ...972 Configuring Cisco IOS IP SLAs Operations Additional References ...
Страница 978: ...974 Dying Gasp ...
Страница 990: ...986 Configuring Enhanced Object Tracking Monitoring Enhanced Object Tracking ...
Страница 994: ...990 Configuring MODBUS TCP Displaying MODBUS TCP Information ...
Страница 996: ...992 Ethernet CFM ...
Страница 1030: ...1026 Working with the Cisco IOS File System Configuration Files and Software Images Working with Software Images ...
Страница 1066: ...1062 Using an SD Card SD Card Alarms ...