Summary of OSPF commands

Last Updated : Jul 17, 2020 |

For more information about these commands, see Avaya Branch Gateway G430 CLI Reference.

Root level command

Command

Description

interface (dialer fastethernet| loopback|tunnel|vlan)

Enter the Dialer, FastEthernet, Loopback, Tunnel, or VLAN interface context

bandwidth

Set the bandwidth parameter manually for this interface

ip ospf authentication

Specify the authentication type for an interface

no ip ospf authentication

Remove the authentication type for an interface.

ip ospf authentication-key

Configure the interface authentication password

no ip ospf authentication-key

Remove the OSPF password

ip ospf cost

Configure the Cost of an OSPF interface, for the purpose of determining the shortest path

no ip ospf cost

Set the cost to its default value

ip ospf dead-interval

Configure the interval before declaring the neighbor as dead

no ip ospf dead-interval

Set the dead-interval to its default value

ip ospf hello-interval

Specify the time interval between hello packets sent by the router

no ip ospf hello-interval

Set the hello-interval to its default value

ip ospf message-digest-key

Specify the message-digest key for the interface and enable OSPF MD5 authentication

no ip ospf message-digest-key

Return the interface to its default value

ip ospf network point-to-multipoint

Specify the network type for the interface

ip ospf network point-to-multipoint

Return the interface to its default value

ip ospf priority

Configure interface priority used in Designated Router election

no ip ospf priority

Set the OSPF priority to its default value

ip ospf router-id

Configure the router ID

no ip ospf router-id

Return the router ID to its default value

router ospf

Enable OSPF protocol on the system and to enter the router configuration context

no router ospf

Restore the default value and disable OSPF globally

area

Configure the OSPF area ID of the router

no area

Delete the OSPF area id

default-metric

Set the interface OSPF route metric value

network

Enable OSPF in a network

no network

Disable OSPF in a network. The default value is disabled.

passive-interface

Suppress OSPF routing updates on an interface. Used to allow interfaces to be flooded into the OSPF domain as OSPF routes rather than external routes.

Note:

Use the network command with this command to make the network passive.

redistribute

Redistribute routing information from other protocols into OSPF

no redistribute

Disable resistribution by OSPF

timers spf

Configure the delay between runs of OSPFs (SPF) calculation

no timers spf

Restore the default value

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 OSPF parameters and statistics