Configuring Ospf Interfaces - Cisco WS-C3750-48PS-S Software Configuration Manual

Network switch
Table of Contents

Advertisement

Configuring OSPF
Command
Step 3
network address wildcard-mask area area-id
Step 4
end
Step 5
show ip protocols
Step 6
copy running-config startup-config
To terminate an OSPF routing process, use the no router ospf process-id global configuration command.
This example shows how to configure an OSPF routing process and assign it a process number of 109:
Switch(config)# router ospf 109
Switch(config-router)# network 131.108.0.0 255.255.255.0 area 24

Configuring OSPF Interfaces

You can use the ip ospf interface configuration commands to modify interface-specific OSPF
parameters. You are not required to modify any of these parameters, but some interface parameters (hello
interval, dead interval, and authentication key) must be consistent across all routers in an attached
network. If you modify these parameters, be sure all routers in the network have compatible values.
The ip ospf interface configuration commands are all optional.
Note
Beginning in privileged EXEC mode, follow these steps to modify OSPF interface parameters:
Command
Step 1
configure terminal
Step 2
interface interface-id
Step 3
ip ospf cost
Step 4
ip ospf retransmit-interval seconds
Step 5
ip ospf transmit-delay seconds
Step 6
ip ospf priority number
Step 7
ip ospf hello-interval seconds
Catalyst 3750 Switch Software Configuration Guide
34-28
Purpose
Define an interface on which OSPF runs and the area ID for that
interface. You can use the wildcard-mask to use a single
command to define one or more multiple interfaces to be
associated with a specific OSPF area. The area ID can be a
decimal value or an IP address.
Return to privileged EXEC mode.
Verify your entries.
(Optional) Save your entries in the configuration file.
Purpose
Enter global configuration mode.
Enter interface configuration mode, and specify the Layer 3 interface
to configure.
(Optional) Explicitly specify the cost of sending a packet on the
interface.
(Optional) Specify the number of seconds between link state
advertisement transmissions. The range is 1 to 65535 seconds. The
default is 5 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.
(Optional) Set priority to help find the OSPF designated router for a
network. The range is from 0 to 255. The default is 1.
(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.
Chapter 34
Configuring IP Unicast Routing
78-16180-02

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 3750

Table of Contents