Last Updated : Sep 19, 2023 |
Prolog information
Important:
This command is not allowed when FIPS mode is enabled.
OSPF CLI commands
Root level command
First level command
Description
interface {dialer | serial | FastEthernet | loopback | tunnel | VLAN}
See IP interface configuration.
Enter the context of a Dialer, FastEthernet, Loopback, Serial, Tunnel, or VLAN interface.
bandwidth
Set the bandwidth parameter manually for this interface.
ip ospf authentication
Specify the authentication type for an interface.
ip ospf authentication-key
Configure the interface authentication password.
ip ospf cost
Configure the cost of an OSPF interface, for the purpose of determining the shortest path.
ip ospf dead-interval
Configure the interval before declaring the neighbor as dead.
ip ospf hello-interval
Specify the time interval between hello packets sent by the router.
ip ospf message-digest-key
Specify the message-digest key for the interface and enable OSPF MD5 authentication.
ip ospf network point-to-multipoint
Specify the network type for the interface.
ip ospf priority
Configure interface priority used in DR election.
ip ospf router-id
Configure the router ID.
router ospf
Enable OSPF protocol on the system and to enter the router configuration context.
area
Configure the OSPF area ID of the router.
default-metric (OSPF)
Set the interface OSPF route metric value.
network (OSPF)
Enable OSPF in a network.
passive-interface
Suppress OSPF routing updates on an interface.
redistribute (OSPF)
Redistribute routing information from other protocols into OSPF.
timers spf
Configure the delay between runs of OSPF’s (SPF) calculation.
show ip ospf
Display general information about OSPF routing.
show ip ospf database
Display lists of information related to the OSPF database for a specific router.
show ip ospf interface
Display the OSPF-related interface information.
show ip ospf neighbor
Display OSPF neighbor information on a per-interface basis
show ip protocols
Display parameters and statistics of a given IP routing protocol.