Cisco Catalyst 3750 Software Configuration Manual page 636

Metro switch
Hide thumbs Also See for Catalyst 3750:
Table of Contents

Advertisement

Configuring OSPF
Beginning in privileged EXEC mode, follow these steps to configure these OSPF parameters:
Command
Step 1
configure terminal
Step 2
router ospf process-id
Step 3
summary-address address mask
Step 4
area area-id virtual-link router-id
[hello-interval seconds]
[retransmit-interval seconds] [trans]
[[authentication-key key] |
message-digest-key keyid md5 key]]
Step 5
default-information originate [always]
[metric metric-value] [metric-type
type-value] [route-map map-name]
Step 6
ip ospf name-lookup
Step 7
ip auto-cost reference-bandwidth ref-bw
Step 8
distance ospf {[inter-area dist1] [inter-area
dist2] [external dist3]}
Step 9
passive-interface type number
Step 10
timers spf spf-delay spf-holdtime
Step 11
ospf log-adj-changes
Step 12
end
Step 13
show ip ospf [process-id [area-id]] database Display lists of information related to the OSPF database for a
Step 14
copy running-config startup-config
Catalyst 3750 Metro Switch Software Configuration Guide
28-34
Route calculation timers: You can configure the delay time between when OSPF receives a topology
change and when it starts the shortest path first (SPF) calculation and the hold time between two
SPF calculations.
Log neighbor changes: You can configure the router to send a syslog message when an OSPF
neighbor state changes, providing a high-level view of changes in the router.
Purpose
Enter global configuration mode.
Enable OSPF routing, and enter router configuration mode.
(Optional) Specify an address and IP subnet mask for redistributed
routes so that only one summary route is advertised.
(Optional) Establish a virtual link and set its parameters. See the
"Configuring OSPF Interfaces" section on page 28-31
definitions and
Table 28-6 on page 28-29
(Optional) Force the ASBR to generate a default route into the OSPF
routing domain. Parameters are all optional.
(Optional) Configure DNS name lookup. The default is disabled.
(Optional) Specify an address range for which a single route will be
advertised. Use this command only with area border routers.
(Optional) Change the OSPF distance values. The default distance
for each type of route is 110. The range is 1 to 255.
(Optional) Suppress the sending of hello packets through the
specified interface.
(Optional) Configure route calculation timers.
spf-delay—Enter an integer from 0 to 65535. The default is 5
seconds; 0 means no delay.
spf-holdtime—Enter an integer from 0 to 65535. The default is
10 seconds; 0 means no delay.
(Optional) Send syslog message when a neighbor state changes.
Return to privileged EXEC mode.
specific router. For some of the keyword options, see to the
"Monitoring OSPF" section on page
(Optional) Save your entries in the configuration file.
Chapter 28
Configuring IP Unicast Routing
for parameter
for virtual link defaults.
28-36.
78-15870-01

Advertisement

Table of Contents
loading

Table of Contents